mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-16 01:26:07 +00:00
Fix quest 33 add command center
Fix quest 33 add command center
This commit is contained in:
@@ -770,12 +770,18 @@ if ($ironL<4 || $clayL<4 || $woodL<4 || $cropL<6){?>
|
||||
|
||||
$residence = $building->getTypeLevel(25);
|
||||
$palace = $building->getTypeLevel(26);
|
||||
if($palace >= 10){
|
||||
$text =PALACE;
|
||||
}else if($residence >= 10){
|
||||
$text =RESIDENCE;
|
||||
$commandCenter = $building->getTypeLevel(44);
|
||||
|
||||
if ($palace >= 10) {
|
||||
$text = PALACE;
|
||||
} elseif ($residence >= 10) {
|
||||
$text = RESIDENCE;
|
||||
} elseif ($commandCenter >= 10) {
|
||||
$text = COMMANDCENTER;
|
||||
}
|
||||
if ($residence<10 && $palace<10){?>
|
||||
|
||||
if ($residence < 10 && $palace < 10 && $commandCenter < 10) {
|
||||
?>
|
||||
{"markup":"\n\t\t<div id=\"qstd\"><h1> <img class=\"point\" src=\"img\/x.gif\" alt=\"\" title=\"\"\/> <?php echo Q33; ?><\/h1><br \/><i>”<?php echo Q33_DESC; ?>”<\/i><br \/><br \/><div class=\"rew\"><p class=\"ta_aw\"><?php echo Q33_ORDER; ?><\/div><br \/><span id=\"qst_accpt\"><\/span><\/div>\n\t\t<div id=\"qstbg\" class=\"neighbour\"><\/div>\n\t\t","number":"-33","reward":false,"qgsrc":"q_l<?php echo $session->userinfo['tribe'];?>","msrc":"<?php echo $messagelol; ?>","altstep":99}
|
||||
<?php $_SESSION['qstnew']='0'; }else{ $_SESSION['qstnew']='1'; ?>
|
||||
{"markup":"\n\t\t<div id=\"qstd\"><h1> <img class=\"point\" src=\"img\/x.gif\" alt=\"\" title=\"\"\/> <?php echo Q33; ?><\/h1><br \/><i>”<?php echo $text; ?> <?php echo Q33_RESP; ?>”<\/i><br \/><br \/><div class=\"rew\"><p class=\"ta_aw\"><input type=\"hidden\" id=\"qst_val\" value=\"2\" \/><?php echo Q_REWARD; ?><\/p><img src=\"img\/x.gif\" class=\"r1\" alt=\"Lumber\" title=\"Lumber\" \/>3400 <img src=\"img\/x.gif\" class=\"r2\" alt=\"Clay\" title=\"Clay\" \/>2800 <img src=\"img\/x.gif\" class=\"r3\" alt=\"Iron\" title=\"Iron\" \/>3600 <img src=\"img\/x.gif\" class=\"r4\" alt=\"Crop\" title=\"Crop\" \/>2200 <\/div><br \/><span id=\"qst_accpt\"><a href=\"javascript: qst_next('','34');\"><?php echo Q_CONTINUE; ?><\/a><\/span><\/div>\n\t\t<div id=\"qstbg\" class=\"neighbour\"><\/div>\n\t\t","number":33,"reward":{"wood":3400,"clay":2800,"iron":3600,"crop":2200},"qgsrc":"q_l<?php echo $session->userinfo['tribe'];?>g","msrc":"<?php echo $messagelol; ?>","altstep":99}
|
||||
|
||||
Reference in New Issue
Block a user