Skip to content

Commit 47d0bb1

Browse files
authored
Initial commit (#82597)
2 parents dce78df + 9427882 commit 47d0bb1

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

data/mods/Sky_Island/mutations.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,32 @@
1515
"recurrence": [ "3 seconds", "3 seconds" ],
1616
"condition": {
1717
"and": [
18+
{ "not": { "u_has_trait": "mut_skyisland_personal_temperature_adaptation" } },
1819
{ "u_has_trait": "mut_skyisland_temperature_adaptation" },
1920
{ "or": [ { "u_at_om_location": "open_air" }, { "u_near_om_location": "sky_island_subcore", "range": 1 } ] },
2021
{ "math": [ "u_val('pos_z') == 6" ] }
2122
]
2223
},
23-
"deactivate_condition": { "not": { "u_has_trait": "mut_skyisland_temperature_adaptation" } },
24+
"deactivate_condition": {
25+
"or": [
26+
{ "not": { "u_has_trait": "mut_skyisland_temperature_adaptation" } },
27+
{ "u_has_trait": "mut_skyisland_personal_temperature_adaptation" }
28+
]
29+
},
2430
"effect": [ { "math": [ "weather('temperature') = from_fahrenheit( 70 )" ] } ]
2531
},
2632
{
2733
"type": "effect_on_condition",
2834
"id": "EOC_SKY_ISLAND_CLIMATE_CONTROL_SURFACE",
2935
"eoc_type": "EVENT",
3036
"required_event": "avatar_enters_omt",
31-
"condition": { "and": [ { "u_has_trait": "mut_skyisland_temperature_adaptation" }, { "u_at_om_location": "sky_island_core" } ] },
37+
"condition": {
38+
"and": [
39+
{ "u_has_trait": "mut_skyisland_temperature_adaptation" },
40+
{ "u_at_om_location": "sky_island_core" },
41+
{ "not": { "u_has_trait": "mut_skyisland_personal_temperature_adaptation" } }
42+
]
43+
},
3244
"effect": [ { "run_eocs": "EOC_SKY_ISLAND_CLIMATE_RESET" } ]
3345
},
3446
{

0 commit comments

Comments
 (0)