-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make vitamin deficiencies and hypervitaminosis non-cosmetic. #33776
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1458,15 +1458,23 @@ | |
{ | ||
"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.", | ||
"name": [ "Mild Hypocalcemia", "Hypocalcemia", "Acute Hypocalcemia" ], | ||
"desc": [ "A lack of calcium in your diet will cause various neuromuscular symptoms." ], | ||
"apply_message": "Your muscles are becoming more stiff.", | ||
"remove_message": "Stiffness in your musles passes away.", | ||
"decay_messages": [ | ||
[ "Your calcium deficiency is nearly resolved.", "good" ], | ||
[ "Your bones become stronger as your calcium deficiency improves.", "good" ] | ||
[ "Your have better control of your muscles as your calcium deficiency improves.", "good" ] | ||
], | ||
"max_intensity": 3, | ||
"base_mods": { | ||
"dex_mod": [ -1 ], | ||
"speed_mod": [ -10 ] | ||
}, | ||
"scaling_mods": { | ||
"dex_mod": [ -2 ], | ||
"speed_mod": [ -15 ] | ||
}, | ||
"rating": "bad" | ||
}, | ||
{ | ||
|
@@ -1481,6 +1489,28 @@ | |
[ "Your feel stronger as your anemia starts to improve.", "good" ] | ||
], | ||
"max_intensity": 3, | ||
"base_mods": { | ||
"str_mod": [ -1 ], | ||
"stamina_min": [ -100 ], | ||
"stamina_max": [ -200 ], | ||
"stamina_chance": [ 900 ], | ||
"fatigue_min": [ 10 ], | ||
"fatigue_max": [ 20 ], | ||
"fatigue_chance": [ 900 ], | ||
"h_mod_min": [ -1 ], | ||
"h_mod_min_val": [ 0 ], | ||
"h_mod_chance": [ 900 ] | ||
}, | ||
"scaling_mods": { | ||
"str_mod": [ -2 ], | ||
"stamina_max": [ -500 ], | ||
"fatigue_max": [ 20 ], | ||
"stamina_chance": [ -300 ], | ||
"fatigue_chance": [ -300 ], | ||
"h_mod_min": [ -1 ], | ||
"h_mod_min_val": [ -50 ], | ||
"h_mod_chance": [ -200 ] | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks great to me, based on numbers alone. The check would be how long it takes to develop anaemia and how fast these symptoms worsen. Until we have a blood loss system I'd assume it should take a few weeks to months of insufficient dietary iron to progress in anaemia stages. |
||
"rating": "bad" | ||
}, | ||
{ | ||
|
@@ -1495,20 +1525,44 @@ | |
[ "Your vision improves as your Vitamin A deficiency improves.", "good" ] | ||
], | ||
"max_intensity": 3, | ||
"base_mods": { "per_mod": [ -1 ] }, | ||
"scaling_mods": { "per_mod": [ -2 ] }, | ||
"rating": "bad" | ||
}, | ||
{ | ||
"type": "effect_type", | ||
"id": "hypovitB", | ||
"name": [ "B12 deficiency", "Slow healing", "No healing" ], | ||
"desc": [ "A lack of vitamin B12 in your diet will affect your ability to heal." ], | ||
"apply_message": "Simple wounds are starting to concern you more than usual.", | ||
"remove_message": "Your wounds now heal normally.", | ||
"name": [ "B12 deficiency", "B12 anemia", "B12 dementia" ], | ||
"desc": [ | ||
"A lack of vitamin B12 in your diet causes early symptoms of anemia.", | ||
"Prolonged lack of vitamin B12 in your diet causes anemia, loss of taste, problems with focus and fading memory.", | ||
"Severe vitamin B12 deficiency causes bad case of anemia, loss of taste, and damaged memory, causing dementia. Your skills rust." | ||
], | ||
"apply_message": "Your skin is more pale then usual.", | ||
"remove_message": "Your skin tone comes back to its normal color.", | ||
"decay_messages": [ | ||
[ "Your vitamin B12 deficiency is starting to resolve.", "good" ], | ||
[ "Your ability to heal returns as your Vitamin B12 deficiency improves.", "good" ] | ||
[ "Your ability to remember things returns as your Vitamin B12 deficiency improves.", "good" ] | ||
], | ||
"max_intensity": 3, | ||
"base_mods": { | ||
"int_mod": [ -1 ], | ||
"dex_mod": [ -1 ], | ||
"fatigue_min": [ 5 ], | ||
"fatigue_max": [ 10 ], | ||
"fatigue_chance": [ 900 ], | ||
"h_mod_min": [ -1 ], | ||
"h_mod_min_val": [ 0 ], | ||
"h_mod_chance": [ 900 ] | ||
}, | ||
"scaling_mods": { | ||
"int_mod": [ -2 ], | ||
"dex_mod": [ -2 ], | ||
"speed_mod": [ -5 ], | ||
"fatigue_chance": [ -200 ], | ||
"h_mod_min": [ -1 ], | ||
"h_mod_chance": [ -200 ] | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is pretty reasonable, although the primary effect of b12 deficiency is numbness (and it doesn't always go away). It is very difficult to develop b12 deficiency through dietary insufficiency, but I think that is already modeled by b12 being common in foods in the game. b12 deficiency also causes anaemia, so you may want to consider copying some of the anaemia effects in here at a lower level. |
||
"rating": "bad" | ||
}, | ||
{ | ||
|
@@ -1523,6 +1577,24 @@ | |
[ "Your scurvy lessens as your Vitamin C deficiency improves.", "good" ] | ||
], | ||
"max_intensity": 3, | ||
"base_mods": { | ||
"pain_max_val": [ 35 ], | ||
"pain_chance": [ 900 ], | ||
"pain_min": [ 1 ], | ||
"pain_max": [ 5 ], | ||
"fatigue_chance": [ 900 ], | ||
"fatigue_min": [ 10 ], | ||
"h_mod_min": [ -1 ], | ||
"h_mod_min_val": [ 0 ], | ||
"h_mod_chance": [ 900 ] | ||
}, | ||
"scaling_mods": { | ||
"pain_chance": [ -300 ], | ||
"fatigue_chance": [ -200 ], | ||
"h_mod_min": [ -1 ], | ||
"h_mod_min_val": [ -100 ], | ||
"h_mod_chance": [ -300 ] | ||
}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What, you aren't modeling the loss of teeth and hair? Scurvy is a potentially fatal illness. Do we have the ability to model slower wound healing and increased infection risk in effects yet? Scurvy also causes anaemia and could have some of the anaemia effects copied over at reduced levels, just like b12 deficiency. Unlike the others, scurvy actually does happen with real diets and it's important we do a good job on this one. Looking good so far. |
||
"rating": "bad" | ||
}, | ||
{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really, hypocalcaemia in a gameplay relevant way has nothing to do with bones. You'd have to be severely hypocalcaemic for many years to get osteoporosis.
In game, hypocalcaemia that matters would be profound, nerve-affecting lack of calcium. It is very hard to get, but the main symptoms would be numbness and seizures, followed by death if it hits too low a level.
For sanity checking, this is not something you can really get through malnutrition unless you try extremely hard. I am not convinced it belongs in the game at all yet.