Update oasis images

+update oasis images
+thanks @velhbxtyrj
This commit is contained in:
Shadow
2018-06-11 11:02:44 +03:00
parent 79eb6a73d6
commit 3697f761b3
3 changed files with 70 additions and 8 deletions
+11 -8
View File
@@ -169,7 +169,7 @@ if($displayarray['vac_mode'] == 1) echo "<tr><th colspan='2'><font color='Maroon
$coor = $database->getCoor($vil['wref']);
echo "<tr><td class=\"nam\"><a href=\"karte.php?d=".$vil['wref']."&amp;c=".$generator->getMapCheck($vil['wref'])."\">".$vil['name']."</a>";
if($vil['capital'] == 1) echo "<span class=\"none3\"> (capital)</span>";
echo "<td class=\"oases\">";
echo "<td class=\"hab\">";
// OASIS PART - must to be activated from install part
@@ -178,28 +178,31 @@ if($displayarray['vac_mode'] == 1) echo "<tr><th colspan='2'><font color='Maroon
switch ($oasis['type']) {
case 1:
case 2:
echo "<img class='r1' src='img/x.gif' title='+25% Lumber'> ";
echo "<img class='r100' src='img/x.gif' title='+25% Lumber'> ";
break;
case 3:
echo "<img class='r1' src='img/x.gif' title='+25% Lumber'><img class='r4' src='img/x.gif' title='+25% Crop'> ";
echo "<img class='r200' src='img/x.gif' title='+25% Lumber +25% Crop'> ";
break;
case 4:
case 5:
echo "<img class='r2' src='img/x.gif' title='+25% Clay'> ";
echo "<img class='r400' src='img/x.gif' title='+25% Clay'> ";
break;
case 6:
echo "<img class='r2' src='img/x.gif' title='+25% Clay'><img class='r4' src='img/x.gif' title='+25% Crop'> ";
echo "<img class='r500' src='img/x.gif' title='+25% Clay +25% Crop'> ";
break;
case 7:
case 8:
echo "<img class='r3' src='img/x.gif' title='+25% Iron'> ";
echo "<img class='r700' src='img/x.gif' title='+25% Iron'> ";
break;
case 9:
echo "<img class='r3' src='img/x.gif' title='+25% Iron'><img class='r4' src='img/x.gif' title='+25% Crop'> ";
echo "<img class='r800' src='img/x.gif' title='+25% Iron +25% Crop'> ";
break;
case 10:
case 11:
echo "<img class='r1000' src='img/x.gif' title='+25% Crop'> ";
break;
case 12:
echo "<img class='r4' src='img/x.gif' title='+50% Crop'> ";
echo "<img class='r1100' src='img/x.gif' title='+50% Crop'> ";
break;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

+59
View File
@@ -6678,6 +6678,65 @@ img.r4 {
img.r5 {
background-position: -84px 0;
}
img.r100,
img.r200,
img.r300,
img.r400,
img.r500,
img.r600,
img.r700,
img.r800,
img.r900,
img.r1000,
img.r1100 {
height: 21px;
width: 25px;
background-image: url(../../img/a/resNew2.png);
}
img.r100 {
background-position: 0px 0px;
}
img.r200 {
background-position: 0px -21px;
}
img.r300 {
background-position: 0px -42px;
}
img.r400 {
background-position: 0px -63px;
}
img.r500 {
background-position: 0px -84px;
}
img.r600 {
background-position: 0px -105px;
}
img.r700 {
background-position: 0px -126px;
}
img.r800 {
background-position: 0px -147px;
}
img.r900 {
background-position: 0px -168px;
}
img.r1000 {
background-position: 0px -189px;
}
img.r1100 {
background-position: 0px -210px;
}
img.attack_symbol_grey, img.attack_symbol_green, img.attack_symbol_yellow, img.attack_symbol_red {
background-image: url("../../img/a/mark_attack.gif");
height: 12px;