This plugin lets you override the default healing and metabolism effects of any consumable or medical item.
Configuration
JSON:
{
"Version": "1.0.0",
"Items": {
"bandage": {
"Instant Health": 5.0,
"Health Over Time": 0.0,
"Calories": 0.0,
"Hydration": 0.0,
"Poison (positive = adds, negative = removes)": -2.0,
"Radiation (positive = adds, negative = removes)": 0.0
},
"syringe.medical": {
"Instant Health": 15.0,
"Health Over Time": 20.0,
"Calories": 0.0,
"Hydration": 0.0,
"Poison (positive = adds, negative = removes)": -5.0,
"Radiation (positive = adds, negative = removes)": -10.0
},
"largemedkit": {
"Instant Health": 0.0,
"Health Over Time": 100.0,
"Calories": 0.0,
"Hydration": 0.0,
"Poison (positive = adds, negative = removes)": -10.0,
"Radiation (positive = adds, negative = removes)": 0.0
},
"pumpkin": {
"Instant Health": 0.0,
"Health Over Time": 10.0,
"Calories": 100.0,
"Hydration": 30.0,
"Poison (positive = adds, negative = removes)": 0.0,
"Radiation (positive = adds, negative = removes)": 0.0
},
"corn": {
"Instant Health": 0.0,
"Health Over Time": 6.0,
"Calories": 75.0,
"Hydration": 10.0,
"Poison (positive = adds, negative = removes)": 0.0,
"Radiation (positive = adds, negative = removes)": 0.0
},
"mushroom": {
"Instant Health": 3.0,
"Health Over Time": 0.0,
"Calories": 15.0,
"Hydration": 5.0,
"Poison (positive = adds, negative = removes)": 0.0,
"Radiation (positive = adds, negative = removes)": 0.0
},
"apple": {
"Instant Health": 2.0,
"Health Over Time": 0.0,
"Calories": 30.0,
"Hydration": 15.0,
"Poison (positive = adds, negative = removes)": 0.0,
"Radiation (positive = adds, negative = removes)": 0.0
}
}
}
Items
- A dictionary of item shortnames and their custom effects. Each key is the shortname of a consumable or medical item (e.g. pumpkin, syringe.medical). You can add or remove any items here to control what stats they apply. Only items listed here will be overridden.
Instant Health
- The amount of HP instantly restored to the player when the item is used.Health Over Time
- The total HP restored slowly over time. This simulates a regeneration effect. Higher values restore more health over several seconds.Calories
- How much food (hunger) is restored or removed. Positive values feed the player; negative values reduce the food bar.Hydration
- How much water is restored or drained. Affects thirst. Positive values hydrate the player, negative values dehydrate them.Poison
- Controls poisoning.- Positive values add poison to the player.
- Negative values remove poison.
Useful for spoiled or raw items, or for letting medical items clear poison.
Radiation
- Controls radiation poisoning.- Positive values give radiation damage.
- Negative values reduce radiation.
Can be used to simulate cleansing items or harmful drinks.