mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-25 14:06:12 +00:00
add traper capacity
This commit is contained in:
@@ -67,6 +67,8 @@ define("TRADER_CAPACITY","%TRADERCAP%");
|
||||
// ***** Cranny capacity
|
||||
define("CRANNY_CAPACITY","%CRANNYCAP%");
|
||||
|
||||
// ***** Trapper capacity
|
||||
define("TRAPPER_CAPACITY","%TRAPPERCAP%");
|
||||
|
||||
// ***** Village Expand
|
||||
// 1 = slow village expanding - more Cultural Points needed for every new village
|
||||
|
||||
@@ -44,6 +44,7 @@ class Process {
|
||||
$text = preg_replace("'%EVASIONSPEED%'", $_POST['evasionspeed'], $text);
|
||||
$text = preg_replace("'%TRADERCAP%'", $_POST['tradercap'], $text);
|
||||
$text = preg_replace("'%CRANNYCAP%'", $_POST['crannycap'], $text);
|
||||
$text = preg_replace("'%TRAPPERCAP%'", $_POST['trappercap'], $text);
|
||||
$text = preg_replace("'%STORAGE_MULTIPLIER%'", $_POST['storage_multiplier'], $text);
|
||||
$text = preg_replace("'%UTRACK%'", $_POST['trackusers'], $text);
|
||||
$text = preg_replace("'%UTOUT%'", $_POST['timeout'], $text);
|
||||
|
||||
@@ -15,6 +15,7 @@ echo "<div class=\"headline\"><span class=\"f10 c5\">Error creating constant.php
|
||||
<td><span class="f9 c6">Evasion speed:</span></td><td><input name="evasionspeed" type="text" id="evasionspeed" value="1" size="2"></td></tr><tr>
|
||||
<td><span class="f9 c6">Trader capacity (1 = 1x...):</span></td><td width="140"><input type="text" name="tradercap" id="tradercap" value="1" size="2"></td>
|
||||
<td><span class="f9 c6">Cranny capacity:</span></td><td width="140"><input type="text" name="crannycap" id="crannycap" value="1" size="2"></td></tr><tr>
|
||||
<td><span class="f9 c6">Cranny capacity:</span></td><td width="140"><input type="text" name="trappercap" id="trappercap" value="1" size="2"></td></tr><tr>
|
||||
<td><span class="f9 c6">World size:</span></td><td>
|
||||
<select name="wmax">
|
||||
<option value="10">10x10</option>
|
||||
|
||||
Reference in New Issue
Block a user