General fixes

+Added an image in: Natars/Artifacts spawn message, WW villages spawn
message and WW building plans spawn message
+Fixed a wrong time calculation when removing a building from the
construction queue, if there was present a master builder order
This commit is contained in:
iopietro
2018-05-13 00:21:07 +02:00
parent 04b40f07ab
commit 43cbd60f78
12 changed files with 206 additions and 199 deletions
+12 -8
View File
@@ -8,14 +8,18 @@
<p class="build_desc"><?php echo TREASURY_DESC; ?></p>
<?php
include("27_menu.tpl");
if(isset($_GET['show']) && !empty($_GET['show']) && $_GET['show'] > 0) include("27_show.tpl");
else
{
if(!isset($_GET['t'])) include("27_1.tpl");
elseif(isset($_GET['t']) && $_GET['t'] == 2) include("27_2.tpl");
elseif(isset($_GET['t']) && $_GET['t'] == 3) include("27_3.tpl");
}
if($building->getTypeLevel(27) > 0){
include("27_menu.tpl");
if(isset($_GET['show']) && !empty($_GET['show']) && $_GET['show'] > 0) include("27_show.tpl");
else
{
if(!isset($_GET['t'])) include("27_1.tpl");
elseif(isset($_GET['t']) && $_GET['t'] == 2) include("27_2.tpl");
elseif(isset($_GET['t']) && $_GET['t'] == 3) include("27_3.tpl");
}
}
else echo '<b>'.TREASURY_COMMENCE.'</b><br>';
include("upgrade.tpl");
?>
</div>