Skip to content

Commit

Permalink
[Xedra Evolved] Add Iron Intolerance starting trait (#75068)
Browse files Browse the repository at this point in the history
* Add Iron Intolerance trait

* Add IRON_ALLERGY

* Update pain_max_val
  • Loading branch information
Standing-Storm authored Jul 17, 2024
1 parent ca314e0 commit ef9c0eb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@
"pain_min": [ 1 ],
"pain_max": [ 3 ],
"pain_chance": [ 6 ],
"pain_max_val": [ 100 ],
"pain_max_val": [ 50 ],
"pain_tick": [ 120 ]
},
"limb_score_mods": [ { "limb_score": "breathing", "modifier": 0.95 } ],
Expand Down
8 changes: 8 additions & 0 deletions data/mods/Xedra_Evolved/mutations/mutations.json
Original file line number Diff line number Diff line change
Expand Up @@ -759,5 +759,13 @@
"valid": false,
"purifiable": false,
"enchantments": [ "EATER_SIXTH_SENSE" ]
},
{
"type": "mutation",
"id": "IRON_ALLERGY",
"name": { "str": "Iron Intolerance" },
"points": -4,
"description": "You were born with an allergy to iron and, to a lesser extent, steel. Wearing or touching anything made of iron or steel will cause you pain and discomfort.",
"starting_trait": true
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
"id": "EOC_IERDE_SALAMANDER_FAE_BAN_WEARING_IRON_OR_STEEL",
"eoc_type": "EVENT",
"required_event": "character_wears_item",
"condition": { "u_has_any_trait": [ "IERDE", "SALAMANDER" ] },
"condition": { "u_has_any_trait": [ "IERDE", "SALAMANDER", "IRON_ALLERGY" ] },
"effect": [
{
"run_eocs": [ "EOC_IERDE_SALAMANDER_FAE_BAN_WEARING_IRON_FOLLOWUP", "EOC_IERDE_SALAMANDER_FAE_BAN_WEARING_STEEL_FOLLOWUP" ]
Expand All @@ -407,7 +407,7 @@
"id": "EOC_IERDE_SALAMANDER_FAE_BAN_WIELDING_IRON_OR_STEEL",
"eoc_type": "EVENT",
"required_event": "character_wields_item",
"condition": { "u_has_any_trait": [ "IERDE", "SALAMANDER" ] },
"condition": { "u_has_any_trait": [ "IERDE", "SALAMANDER", "IRON_ALLERGY" ] },
"effect": [
{
"run_eocs": [ "EOC_IERDE_SALAMANDER_FAE_BAN_WEARING_IRON_FOLLOWUP", "EOC_IERDE_SALAMANDER_FAE_BAN_WEARING_STEEL_FOLLOWUP" ]
Expand Down

0 comments on commit ef9c0eb

Please sign in to comment.