Skip to content

Commit 0e1f354

Browse files
[MoM] Cracks in reality are outdoor only (#82799)
* Outdoor only * Add extra "outdoor_only" to double-protect * Move message to only print if outdoor location is found * Remove original message so it doesn't double-print
1 parent 756dbff commit 0e1f354

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

data/mods/MindOverMatter/effectoncondition/eoc_portal_storm_effects.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,25 @@
4343
"id": "EOC_PORTAL_TEMPORARY_TEARS_IN_REALITY",
4444
"condition": { "one_in_chance": 10 },
4545
"effect": [
46-
{ "u_location_variable": { "context_val": "loc" }, "min_radius": 2, "max_radius": 8 },
46+
{
47+
"u_location_variable": { "context_val": "loc" },
48+
"min_radius": 2,
49+
"max_radius": 8,
50+
"outdoor_only": true,
51+
"true_eocs": [
52+
{
53+
"id": "EOC_PORTAL_TEMPORARY_TEARS_IN_REALITY_MESSAGE",
54+
"effect": [ { "message": "The nearby air cracks.", "type": "bad" } ]
55+
}
56+
]
57+
},
4758
{
4859
"u_set_field": "fd_tear_in_reality_temporary",
4960
"radius": 0,
5061
"intensity": 3,
62+
"outdoor_only": true,
5163
"target_var": { "context_val": "loc" }
5264
},
53-
{ "message": "The nearby air cracks.", "type": "bad" },
5465
{ "math": [ "u_ire -= 5" ] }
5566
]
5667
}

0 commit comments

Comments
 (0)