diff --git a/install/data/constant_format.tpl b/install/data/constant_format.tpl index 1e250310..7cde1ec4 100644 --- a/install/data/constant_format.tpl +++ b/install/data/constant_format.tpl @@ -106,6 +106,9 @@ define("SHOW_NATARS",%SHOW_NATARS%); // ***** Natars Units Multiplier define("NATARS_UNITS",%NATARS_UNITS%); +// ***** Nature troops regeneration time +define("NATURE_REGTIME",%NATURE_REGTIME%); + // ***** Enable T4 is Coming screen define("T4_COMING",%T4_COMING%); diff --git a/install/process.php b/install/process.php index 8595166e..96794c61 100644 --- a/install/process.php +++ b/install/process.php @@ -96,6 +96,7 @@ class Process { $text = preg_replace("'%WW%'", $_POST['ww'], $text); $text = preg_replace("'%SHOW_NATARS%'", $_POST['show_natars'], $text); $text = preg_replace("'%NATARS_UNITS%'", $_POST['natars_units'], $text); + $text = preg_replace("'%NATURE_REGTIME%'", $_POST['nature_regtime'], $text); $text = preg_replace("'%T4_COMING%'", $_POST['t4_coming'], $text); $text = preg_replace("'%REG_OPEN%'", $_POST['reg_open'], $text); $text = preg_replace("'%PEACE%'", $_POST['peace'], $text); diff --git a/install/templates/config.tpl b/install/templates/config.tpl index 884f60f9..3c1ed2a2 100644 --- a/install/templates/config.tpl +++ b/install/templates/config.tpl @@ -80,6 +80,16 @@ echo "