PivityGmodStore

Rocks

File location:

lua/ch_mining/shared/config/ch_mining_config_skills.lua

Example code:

CH_Mining.Rocks["Gold"] = {
Name = "Gold",
Color = Color( 255, 215, 0, 255 ),
BasePrice = 15.45,
MaxPriceAdjust = 1.5,
MinimumLevel = 1,
}

Explanation:

First of all, you should not modify anything here other than BasePrice and MaxPriceAdjust

BasePrice is the price that the mineral sells for by default (on startup).

MaxPriceAdjust is the minimum and maximum value the price can adjust. So for example when the price is adjusted it will randomize an amount between 1.5 (a float) and then change the price by that. It could be a negative or a positive number, and is completely random.

MinimumLevel is the minimum required level the player must be in order to mine this type of mineral from rocks.

You can't change the key and you can't change the name. The name is translated in the translation file!

Can't find what you're looking for?

Contact support