diff options
Diffstat (limited to 'jc_stop-non-faction-npc-malnourishment.patch')
-rw-r--r-- | jc_stop-non-faction-npc-malnourishment.patch | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jc_stop-non-faction-npc-malnourishment.patch b/jc_stop-non-faction-npc-malnourishment.patch index 33781d7..f45402f 100644 --- a/jc_stop-non-faction-npc-malnourishment.patch +++ b/jc_stop-non-faction-npc-malnourishment.patch @@ -15,11 +15,10 @@ static constexpr float NPC_DANGER_VERY_LOW = 5.0f; static constexpr float NPC_DANGER_MAX = 150.0f; static constexpr float MAX_FLOAT = 5000000000.0f; -@@ -3856,6 +3864,14 @@ +@@ -3856,6 +3864,13 @@ // TODO: Remove this and let player "exploit" hungry NPCs - set_hunger( 0 ); + set_stored_kcal( max_stored_kcal() ); set_thirst( 0 ); -+ set_stored_kcal( get_healthy_kcal() ); + vitamin_set( vitamin_calcium, 0 ); + vitamin_set( vitamin_iron, 0 ); + vitamin_set( vitamin_vitA, 0 ); |