lol I gave it a try with adding ant meats, and any change with jsons will be done in my own mod, if only to test their suitability.
Nice, but can you also push any nutrition changes you might make on a separate branch so we don't need the entire mod?
As I said before, there should probably be insect meat because all insects have high calcium and unless it contradicts the lore there should be colonies of regular sized insects scattered across the place.
Our ancestors used sticks to draw insects out of their holes, should be easy to implement in cata. They should also be found under all rocks and boulders.
The effects.json page in ./json should have all the vitamin effects and should be currently empty of actual effects.
effects.json:
[code] {
"type": "effect_type",
"id": "hypocalcemia",
"name": [ "Hypocalcemia", "Weak bones", "Brittle bones" ],
"desc": [ "A lack of calcium in your diet will make your bones progressively weaker." ],
"apply_message": "Your bones are becoming more brittle.",
"remove_message": "Your bones regain their usual strength.",
"decay_messages": [
[ "Your calcium deficiency is nearly resolved.", "good" ],
[ "Your bones become stronger as your calcium deficiency improves.", "good" ]
],
"max_intensity": 3,
"rating": "bad"
},[/code]
vitamins.json:
[code]
{
"id": "calcium",
"type": "vitamin",
"name": "Calcium",
"deficiency": "hypocalcemia",
"min": -720,
"disease": [
[ -288, -336 ],
[ -337, -384 ],
[ -385, -720 ]
]
},
[/code]
What does disease[] do?
How do we use those files to scale vitamin deficiencies to a realistic (or at least non-annoying) timescale?
What is the current effect of hypocalcemia? Does it already make bones weaker?
Edit:
When I tried to make this post it repeatedly said “Sorry, you are not allowed to post external links”.
But there are no external links in my post. Wtf? Is this a known problem? Forum search did not turn up any results. Should I make a thread about this?
It’s easy to circumvent, but something is broken.