Skip to content

Commit

Permalink
Closes #76534 Hair Growth After Haircutting is normal now. (#76705)
Browse files Browse the repository at this point in the history
* Fixes appearance_eocs.json

I’ve addressed the issue related to hair growing instantly. Issue - #76534. The problem was indeed with the recurrence values in the appearance_eocs.json file. I’ve updated the recurrence math to use a fixed number, which should prevent hair growth from happening too quickly.

* Update data/json/effects_on_condition/npc_eocs/appearance_eocs.json

Co-authored-by: Anton Simakov <[email protected]>

* Update data/json/effects_on_condition/npc_eocs/appearance_eocs.json

Co-authored-by: Anton Simakov <[email protected]>

* Update data/json/effects_on_condition/npc_eocs/appearance_eocs.json

Co-authored-by: Anton Simakov <[email protected]>

---------

Co-authored-by: Anton Simakov <[email protected]>
  • Loading branch information
Fabiang120 and GuardianDll committed Sep 30, 2024
1 parent 98a16af commit 3d5fa41
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions data/json/effects_on_condition/npc_eocs/appearance_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"//3": "For ease of calculation, all math will be done with centimeters for hair growth.",
"//4": "For reference starting point, a buzzcut is 0.32 centimeters long.",
"//5": "1 inch is 2.54 centimeters.",
"recurrence": { "math": [ "(6480000 - ((u_val('health') * 180000) ) )" ] },
"//6": "Currently hair changes traits about every 20 days",
"recurrence": { "math": [ "time('20 d')" ] },
"global": false,
"condition": { "u_has_trait": "natural_hair_growth" },
"effect": [
Expand Down Expand Up @@ -125,7 +126,8 @@
"type": "effect_on_condition",
"id": "EOC_beard_growth_tracking",
"//": "Use the same notes as hair growth. However, facial hair grows faster than head hair, averaging 1.25 inches per month.",
"recurrence": { "math": [ "(43200000 - ((u_val('health') * 86400) ) )" ] },
"//2": "Currently beard changes traits every 14 days",
"recurrence": { "math": [ "time('14 d')" ] },
"global": false,
"condition": { "u_has_trait": "natural_hair_growth" },
"effect": [
Expand Down

0 comments on commit 3d5fa41

Please sign in to comment.