Skip to content
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

Fix for math-related deprecations #59

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
u_val('vitamin') -> u_vitamin
  • Loading branch information
Br1ght0ne committed Jan 30, 2024
commit bea62c657475c6f96f9dedd5e4cf65f66654b211
8 changes: 4 additions & 4 deletions EOCs.json
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@
"effect": [
{ "math": [ "u_val('stored_kcal')", "=", "max( u_val('stored_kcal'), 9000)" ] },
{ "math": [ "u_val('thirst')", "=", "min( u_val('thirst'), 800)" ] },
{ "math": [ "u_val('vitamin', 'name: redcells')", "=", "0" ] },
{ "math": [ "u_val('vitamin', 'name: bad_food')", "=", "0" ] },
{ "math": [ "u_val('vitamin', 'name: blood')", "=", "0" ] },
{ "math": [ "u_val('vitamin', 'name: instability')", "=", "0" ] },
{ "math": [ "u_vitamin('redcells')", "=", "0" ] },
{ "math": [ "u_vitamin('bad_food')", "=", "0" ] },
{ "math": [ "u_vitamin('blood')", "=", "0" ] },
{ "math": [ "u_vitamin('instability')", "=", "0" ] },
{ "math": [ "u_pain()", "=", "0" ] },
{ "math": [ "u_val('rad')", "=", "0" ] },
{ "u_add_effect": "cureall", "duration": "1 s", "intensity": 1 },
Expand Down