diff --git a/GameEngine/Admin/Mods/editAdminInfo.php b/GameEngine/Admin/Mods/editAdminInfo.php index 672ae9cf..54314f7b 100755 --- a/GameEngine/Admin/Mods/editAdminInfo.php +++ b/GameEngine/Admin/Mods/editAdminInfo.php @@ -76,7 +76,14 @@ $fh = fopen($myFile, 'w') or die("


Can't open file: GameEngine\con $text = preg_replace("'%WW%'", $WW, $text); $text = preg_replace("'%SHOW_NATARS%'", $SHOW_NATARS, $text); $text = preg_replace("'%NATARS_UNITS%'", NATARS_UNITS, $text); + $text = preg_replace("'%NATARS_SPAWN_TIME%'", NATARS_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_SPAWN_TIME%'", NATARS_WW_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%'", NATARS_WW_BUILDING_PLAN_SPAWN_TIME, $text); $text = preg_replace("'%NATURE_REGTIME%'", NATURE_REGTIME, $text); + $text = preg_replace("'%OASIS_WOOD_MULTIPLIER%'", OASIS_WOOD_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CLAY_MULTIPLIER%'", OASIS_CLAY_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_IRON_MULTIPLIER%'", OASIS_IRON_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CROP_MULTIPLIER%'", OASIS_CROP_MULTIPLIER, $text); $text = preg_replace("'%T4_COMING%'", $T4, $text); $text = preg_replace("'%ACTIVATE%'", $AUTH_EMAIL, $text); $text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text); diff --git a/GameEngine/Admin/Mods/editExtraSet.php b/GameEngine/Admin/Mods/editExtraSet.php index 7ad37818..ab14969a 100755 --- a/GameEngine/Admin/Mods/editExtraSet.php +++ b/GameEngine/Admin/Mods/editExtraSet.php @@ -75,7 +75,14 @@ $fh = fopen($myFile, 'w') or die("


Can't open file: GameEngine\con $text = preg_replace("'%WW%'", (WW ? 'true' : 'false'), $text); $text = preg_replace("'%SHOW_NATARS%'", (SHOW_NATARS ? 'true' : 'false'), $text); $text = preg_replace("'%NATARS_UNITS%'", NATARS_UNITS, $text); + $text = preg_replace("'%NATARS_SPAWN_TIME%'", NATARS_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_SPAWN_TIME%'", NATARS_WW_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%'", NATARS_WW_BUILDING_PLAN_SPAWN_TIME, $text); $text = preg_replace("'%NATURE_REGTIME%'", NATURE_REGTIME, $text); + $text = preg_replace("'%OASIS_WOOD_MULTIPLIER%'", OASIS_WOOD_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CLAY_MULTIPLIER%'", OASIS_CLAY_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_IRON_MULTIPLIER%'", OASIS_IRON_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CROP_MULTIPLIER%'", OASIS_CROP_MULTIPLIER, $text); $text = preg_replace("'%T4_COMING%'", (T4_COMING ? 'true' : 'false'), $text); $text = preg_replace("'%ACTIVATE%'", (AUTH_EMAIL ? 'true' : 'false'), $text); $text = preg_replace("'%MEDALINTERVAL%'", MEDALINTERVAL, $text); diff --git a/GameEngine/Admin/Mods/editLogSet.php b/GameEngine/Admin/Mods/editLogSet.php index 59b1ab1f..053a5b7f 100755 --- a/GameEngine/Admin/Mods/editLogSet.php +++ b/GameEngine/Admin/Mods/editLogSet.php @@ -71,7 +71,14 @@ $fh = fopen($myFile, 'w') or die("


Can't open file: GameEngine\con $text = preg_replace("'%WW%'", $WW, $text); $text = preg_replace("'%SHOW_NATARS%'", $SHOW_NATARS, $text); $text = preg_replace("'%NATARS_UNITS%'", NATARS_UNITS, $text); + $text = preg_replace("'%NATARS_SPAWN_TIME%'", NATARS_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_SPAWN_TIME%'", NATARS_WW_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%'", NATARS_WW_BUILDING_PLAN_SPAWN_TIME, $text); $text = preg_replace("'%NATURE_REGTIME%'", NATURE_REGTIME, $text); + $text = preg_replace("'%OASIS_WOOD_MULTIPLIER%'", OASIS_WOOD_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CLAY_MULTIPLIER%'", OASIS_CLAY_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_IRON_MULTIPLIER%'", OASIS_IRON_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CROP_MULTIPLIER%'", OASIS_CROP_MULTIPLIER, $text); $text = preg_replace("'%T4_COMING%'", $T4, $text); $text = preg_replace("'%ACTIVATE%'", $AUTH_EMAIL, $text); $text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text); diff --git a/GameEngine/Admin/Mods/editNewsboxSet.php b/GameEngine/Admin/Mods/editNewsboxSet.php index f1ec6e0e..988cd665 100755 --- a/GameEngine/Admin/Mods/editNewsboxSet.php +++ b/GameEngine/Admin/Mods/editNewsboxSet.php @@ -78,7 +78,14 @@ $fh = fopen($myFile, 'w') or die("


Can't open file: GameEngine\con $text = preg_replace("'%WW%'", $WW, $text); $text = preg_replace("'%SHOW_NATARS%'", $SHOW_NATARS, $text); $text = preg_replace("'%NATARS_UNITS%'", NATARS_UNITS, $text); + $text = preg_replace("'%NATARS_SPAWN_TIME%'", NATARS_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_SPAWN_TIME%'", NATARS_WW_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%'", NATARS_WW_BUILDING_PLAN_SPAWN_TIME, $text); $text = preg_replace("'%NATURE_REGTIME%'", NATURE_REGTIME, $text); + $text = preg_replace("'%OASIS_WOOD_MULTIPLIER%'", OASIS_WOOD_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CLAY_MULTIPLIER%'", OASIS_CLAY_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_IRON_MULTIPLIER%'", OASIS_IRON_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CROP_MULTIPLIER%'", OASIS_CROP_MULTIPLIER, $text); $text = preg_replace("'%T4_COMING%'", $T4, $text); $text = preg_replace("'%ACTIVATE%'", $AUTH_EMAIL, $text); $text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text); diff --git a/GameEngine/Admin/Mods/editPlusSet.php b/GameEngine/Admin/Mods/editPlusSet.php index 6f271bd4..2f61014f 100644 --- a/GameEngine/Admin/Mods/editPlusSet.php +++ b/GameEngine/Admin/Mods/editPlusSet.php @@ -59,7 +59,14 @@ $fh = fopen($myFile, 'w') or die("


Can't open file: GameEngine\con $text = preg_replace("'%WW%'", (WW ? 'true' : 'false'), $text); $text = preg_replace("'%SHOW_NATARS%'", (SHOW_NATARS ? 'true' : 'false'), $text); $text = preg_replace("'%NATARS_UNITS%'", NATARS_UNITS, $text); + $text = preg_replace("'%NATARS_SPAWN_TIME%'", NATARS_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_SPAWN_TIME%'", NATARS_WW_SPAWN_TIME, $text); + $text = preg_replace("'%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%'", NATARS_WW_BUILDING_PLAN_SPAWN_TIME, $text); $text = preg_replace("'%NATURE_REGTIME%'", NATURE_REGTIME, $text); + $text = preg_replace("'%OASIS_WOOD_MULTIPLIER%'", OASIS_WOOD_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CLAY_MULTIPLIER%'", OASIS_CLAY_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_IRON_MULTIPLIER%'", OASIS_IRON_MULTIPLIER, $text); + $text = preg_replace("'%OASIS_CROP_MULTIPLIER%'", OASIS_CROP_MULTIPLIER, $text); $text = preg_replace("'%T4_COMING%'", (T4_COMING ? 'true' : 'false'), $text); $text = preg_replace("'%ACTIVATE%'", (AUTH_EMAIL ? 'true' : 'false'), $text); $text = preg_replace("'%MEDALINTERVAL%'", MEDALINTERVAL, $text);