Minor changes

+Added Enable (Disable) of information about the troops of Nature and Natars in the manual

NOTE 1: To play this version of the game, you need to reinstall the server OR you can simply add these lines of code into your file:

GameEngine/config.php

define("NEW_FUNCTIONS_MANUAL_NATURENATARS", false);

GameEngine/Admin/Mods/constant_format.tpl

define("NEW_FUNCTIONS_MANUAL_NATURENATARS", %NEW_FUNCTIONS_MANUAL_NATURENATARS%);

NOTE 2: pay special attention to the fact that these are two different records !!! If the records are entered incorrectly, you will receive a non-working code!
This commit is contained in:
Vladyslav
2018-08-28 17:08:46 +03:00
parent c33322ef52
commit c9d18675ce
15 changed files with 56 additions and 13 deletions
@@ -115,6 +115,7 @@ $fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: GameEngine\con
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_WONDER%'", $_POST['new_functions_display_wonder'], $text);
$text = preg_replace("'%NEW_FUNCTIONS_VACATION%'", $_POST['new_functions_vacation'], $text);
$text = preg_replace("'%NEW_FUNCTIONS_DISPLAY_CATAPULT_TARGET%'", $_POST['new_functions_display_catapult_target'], $text);
$text = preg_replace("'%NEW_FUNCTIONS_MANUAL_NATURENATARS%'", $_POST['new_functions_manual_naturenatars'], $text);
// PLUS settings need to be kept intact
$text = preg_replace("'%PLUS_TIME%'", PLUS_TIME, $text);