Vitaberry
THIS MOD IS A MIGRATION OF THE ASE VERSION. IT WAS NOT TESTED OUTSIDE DEVKIT YET.
This Mod adds a harvestable berry. The berry is able to heal you and your animals. It is working for herbivores, carnivores and humans. However, if humans will eat this berry they will experience a high amount of dehydration among with the healing effect. Animals instead are not having any water stat, so they will not be affected by this side-effect.
GameUserSettings.ini Options:
[Vitaberry]
OverrideUseInterval=False
UseInterval=0.25
OverrideAddWater=False
AddWaterAmount=-5.0
OverrideAddHealth=False
AddHealthPercentage=0.005
AutoUseInterval=0.0
AutoUseThresholdPercent=0.0
[Vitaberry_Seed]
OverrideUseInterval=False
UseInterval=0.0
OverrideAddFood=False
AddFoodAmount=10.0
OverrideAddHealth=False
AddHealthAmount=10.0
OverrideUseInterval
If not set to True the UseInterval option gets ignored.
OverrideAddWater
If not set to True the AddWaterAmount option gets ignored.
OverrideAddHealth
If not set to True the AddHealthPercentage or AddHealthAmount option gets ignored.
OverrideAddFood
If not set to True the AddFoodAmount option gets ignored.
UseInterval
The interval or cooldown in seconds, the user has to wait until item can be used again.
AddWaterAmount
The amount of water to add. (Can be negative or positive value)
AddFoodAmount
The amount of food to add. (Can be negative or positive value)
AddHealthAmount
The amount of health to add. (Can be negative or positive value)
AddHealthPercentage
The percentage of the max-health to add. (Can be negative or positive value)
AutoUseInterval
Time between auto use consumption.
If set to 0, then there seems to be used the default eating interval of the dino. So you won't be able to make it very, very fast just by using a value of 0. If you set the value to something less than zero (e.g. -1), then the same value as in UseInterval option is used.
AutoUseThresholdPercent
This is the percentage of the dinos health, which will trigger auto consumption to start.
E.g.: If you set this value to 0.7, then the dino will start to eat the berry when its health is less than 70%. And auto consumption will also stop again, if health is over 70%.
Setting this value to 0 will result in disabled auto consumption.
Game.ini Options:
Change stack sizes
Please note. This is working in the DevKit, but for some reason not in real game. At least not with my tests so far. I have no clue why. In changelog for version 2, I said it is fixed, but it isn't. I just thought it would be, because of the DevKit behaviour.
[/script/shootergame.shootergamemode] ConfigOverrideItemMaxQuantity=(ItemClassString="PrimalItemConsumable_Berry_Vitaberry_C",Quantity=(MaxItemQuantity=200,bIgnoreMultiplier=true))
ConfigOverrideItemMaxQuantity=(ItemClassString="PrimalItemConsumable_Seed_Vitaberry_C",Quantity=(MaxItemQuantity=100,bIgnoreMultiplier=true))

