File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
data/json/effects_on_condition/npc_eocs Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 24
24
"type" : " effect_on_condition" ,
25
25
"id" : " EOC_BALTHAZAR_CHECK_PROGRESS" ,
26
26
"global" : true ,
27
+ "condition" : {
28
+ "and" : [
29
+ { "u_near_om_location" : " balthazar_bunker_02" , "range" : 30 },
30
+ { "not" : { "u_near_om_location" : " balthazar_bunker_02" , "range" : 4 } },
31
+ { "math" : [ " balthazar_destroyed != 1" ] }
32
+ ]
33
+ },
27
34
"effect" : [
28
35
{ "if" : { "math" : [ " balthazar_power <= 0" ] }, "then" : { "run_eocs" : " EOC_BALTHAZAR_GONE" } },
29
36
{
30
37
"if" : { "and" : [ { "math" : [ " balthazar_solar_power != 1" ] }, { "math" : [ " balthazar_power >= 50" ] } ] },
31
38
"then" : { "run_eocs" : " EOC_BALTHAZAR_SET_UP_SOLAR" }
32
39
}
33
- ]
40
+ ],
41
+ "deactivate_condition" : { "math" : [ " balthazar_destroyed == 1" ] }
34
42
},
35
43
{
36
44
"type" : " effect_on_condition" ,
51
59
"effect" : [
52
60
{ "mapgen_update" : " remove_balthazar_intercom" , "om_terrain" : " balthazar_bunker_01" },
53
61
{ "math" : [ " balthazar_power = 0" ] },
62
+ { "math" : [ " balthazar_destroyed = 1" ] },
54
63
{ "math" : [ " balthazar_daily_power_gain = 0" ] }
55
64
]
56
65
},
You can’t perform that action at this time.
0 commit comments