You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to make an enchantment affected by levels of a custom vitamin and it was behaving very strangely. Checking the same with with the iron base-game vitamin, enchantment conditions appear to not work with it.
Describe the bug
Trying to make an enchantment affected by levels of a custom vitamin and it was behaving very strangely. Checking the same with with the
iron
base-game vitamin, enchantment conditions appear to not work with it.Attach save file
Pennyhill-trimmed.tar.gz
Steps to reproduce
Copying the following JSON somewhere into your game so it loads:
{ "type": "mutation", "id": "TEST_MUTATION_IRON", "name": { "str": "The testing mutation." }, "points": 0, "description": "The iron in your blood makes you super strong.", "starting_trait": false, "purifiable": false, "valid": false, "enchantments": [ { "condition": { "math": [ "u_vitamin('iron')", ">=", "0" ] }, "values": [ { "value": "STRENGTH", "add": 25 } ] } ]}
Expected behavior
u_vitamin works with enchantment conditions
Screenshots
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth]
]
Additional context
Check #74921 for what I was trying to do
The text was updated successfully, but these errors were encountered: