Properly disable town generator and plant spawner loops

Stops intensive loop from running unnecessarily when dayz_townGenerator
= false; The comfrey plants are pointless atm since the only thing they
may be used for is crafting a sepsis bandage.

Also added waterHoleProxy for Napf and Namalsk placed by @skigoggles

Vanilla commit:

b5a9125086
This commit is contained in:
ebaydayz
2017-01-21 21:44:43 -05:00
parent cc3b8801b7
commit 26c1bd9a86
37 changed files with 409 additions and 43 deletions

View File

@@ -1012,7 +1012,7 @@ class FSM
priority = 0.000000;
to="Preload_Display";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"call sched_townGenerator_ready"/*%FSM</CONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"(!dayz_townGenerator or {call sched_townGenerator_ready})"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
@@ -1310,7 +1310,7 @@ class FSM
priority = 0.000000;
to="Load_In";
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"(!isNil 'dayz_plantSpawner_done' && {dayz_plantSpawner_done == 2} && {!isNil 'BIS_fnc_init'})"/*%FSM</CONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"((!dayz_townGenerator or (!isNil 'dayz_plantSpawner_done' && {dayz_plantSpawner_done == 2})) && (!isNil 'BIS_fnc_init'))"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/