π±Plants
All growth related configurations have significant impacts on the plant growth system. Making any changes to the growth system requires thorough testing and debugging. We strongly recommend any changes are made carefully and methodically as any changes can have unintended consequences.
Now we can look at the configuration of the individual plants.
Allowed Grounds
Config.OnlyAllowedGrounds
Config.OnlyAllowedGrounds
is used to set whether a plant may only be planted on permitted grounds. If Config.OnlyAllowedGrounds
is set to true, the player can only plant on grounds set in Config.AllowedGrounds
Config.AllowedGrounds
A list of ground hashes, if a desired ground is not included, the ground hash can be displayed when planting if Config.Debug
is true, this can then simply be added to the list.
Decay
The decay settings can be used to set how many percent of water or fertilizer a plant should lose per minute.
Threshold
The threshold value is the percentage value at which a plant begins to lose life. As soon as the values of the plant are below Config.FertilizerThreshold
or Config.WaterThreshold
, the plant starts to lose life.
The rate at which the plant should lose life can be set with Config.HealthBaseDecay
. The first value is the minimum and the second value is the maximum. A value between these two values is determined every minute. The plant loses this value of life.
Config.Items
You can always set 3 values for each item.
water
this value determines the percentage of water this item adds to the plant.
fertilizer
this value determines the percentage of fertilizer this item adds to the plant.
itemBack
here you can specify another item that the player should get back after using the item.
Config.PlantTypes
Here you can set the items that can be used to fertilize and/or water the plant.
This is the unique name of the plant type. The name must not contain any special characters or spaces.
This will be used later to give a plant a type.
Each plant type consists of three sizes. A separate prop can be set for each size. A value can also be added for each prop. This value is then subtracted from or added to the z-coordinate of the plant.
Config.Plants
Last updated