quest update

This commit is contained in:
Shadow
2014-03-10 08:06:59 +02:00
parent 9c4ffbf024
commit 69389645ea
19 changed files with 66 additions and 36 deletions
+5 -5
View File
@@ -389,7 +389,7 @@ define("Q25_16_RESP","Exactly! Barracks cost 210 lumber.");
define("Q25_17","Task 17: Main Building");
define("Q25_17_DESC","Your master builders need a main building level 3 to erect important buildings such as the marketplace or barracks.");
define("Q25_17_ORDER","Order:<\/p>Extend your main building to level 3.");
define("Q15_17_RESP","Well done. The main building level 3 has been completed.<br><br>With this upgrade your master builders can construct more types of buildings and also do so faster.");
define("Q25_17_RESP","Well done. The main building level 3 has been completed.<br><br>With this upgrade your master builders can construct more types of buildings and also do so faster.");
define("Q25_18","Task 18: Advanced!");
define("Q25_18_DESC","Look up your rank in the player statistics again and enjoy your progress.");
@@ -414,7 +414,7 @@ define("Q25_21_RESP",";Well done, your Warehouse is complete...&rdquo;<\/i><br \
define("Q25_22","Task 21: Marketplace.");
define("Q25_22_DESC",";Construct a Marketplace so you can trade with your fellow players.");
define("Q25_22_ORDER","Order:<\/p>Please build a Marketplace.");
define("Q25_22_RESP",";The Marketplace has been completed. Now you can make offers of your own and accept foreign offers! When creating your own offers, you should think about offering what other players need most to get more profit.");
define("Q25_22_RESP","The Marketplace has been completed. Now you can make offers of your own and accept foreign offers! When creating your own offers, you should think about offering what other players need most to get more profit.");
define("Q25_23","Task 19: Military");
define("Q25_23_DESC","A brave decision. To be able to send troops you need a rally point.<br \/><br \/>The rally point must be built on a specific building site. The ");
@@ -441,9 +441,9 @@ define("Q25_26_ORDER","Order:<\/p>Extend all resource tiles to level 2.");
define("Q25_26_RESP","Congratulations! Your village grows and thrives...");
define("Q25_27","Task 23: Friends.");
define("Q25_27_DESC","As single player it is hard to compete with attackers. It is to your advantage if your neighbours like you.<br \/><br \/>It is even better if you play together with friends. Did you know that you can earn <?php $gold;?> by inviting friends?");
define("Q25_27_ORDER","Order:<\/p>How much <?php $gold;?> do you earn for inviting a friend?");
define("Q25_27_RESP","Correct! You get 50 <?php $gold;?> if your invited friend have 2 village.");
define("Q25_27_DESC","As single player it is hard to compete with attackers. It is to your advantage if your neighbours like you.<br \/><br \/>It is even better if you play together with friends. Did you know that you can earn <img src='img/x.gif' class='gold' alt='Gold' title='Gold'> by inviting friends?");
define("Q25_27_ORDER","Order:<\/p>How much <img src='img/x.gif' class='gold' alt='Gold' title='Gold'> do you earn for inviting a friend?");
define("Q25_27_RESP","Correct! You get 50 <img src='img/x.gif' class='gold' alt='Gold' title='Gold'> if your invited friend have 2 village.");
define("Q25_28","Task 24: Construct Embassy.");
define("Q25_28_DESC","The world of Travian is dangerous. You already built a cranny to protect you against attackers.<br \/><br \/>A good alliance will give you even better protection.");
+2 -5
View File
@@ -85,11 +85,8 @@ for ($i=1;$i<=20;$i++) {
//set event last quest
if (($_SESSION['qst']==38 && QTYPE==37) || ($_SESSION['qst']==31 && QTYPE==25)){
if ($i<8) {
//$x=rand(1,20);
$dte=array("tur","purp","yell","oran","green","red","blue");
//$im="e".rand(1, 7);
$im=$dte[$i];
$dte=array("tur","purp","yell","oran","green","red","dark");
$im=$dte[$i-1];
echo "<img src=\"img/x.gif\" class=\"building e$i rocket $im\" alt=\"$text\" />";
}
}
+28 -26
View File
@@ -1,35 +1,37 @@
<?php
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename quest.tpl ##
## Developed by: Dzoki ##
## License: TravianX Project ##
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## Rework by: ronix ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## ##
#################################################################################
if ($_SESSION['qst']<38 && QUEST==true or $_SESSION['qst']>80){?>
$_SESSION['qtyp']=QTYPE;
if (($_SESSION['qst']<38 && QTYPE==37 && QUEST==true) || ($_SESSION['qst']<31 && QTYPE==25 && QUEST==true)) {?>
<div id="anm" style="width:120px; height:140px; visibility:hidden;"></div>
<div id="qge">
<?php if ($_SESSION['qst']==0 or $_SESSION['qstnew']==1){ ?>
<img onclick="qst_handle();" src="<?php echo GP_LOCATE; ?>img/q/l<?php echo $session->userinfo['tribe'];?>g.jpg" title="to the task" style="height:174px" alt="to the task" />
<?php }else{?>
<img onclick="qst_handle();" src="<?php echo GP_LOCATE; ?>img/q/l<?php echo $session->userinfo['tribe'];?>.jpg" title="to the task" style="height:174px" alt="to the task" />
<?php } ?>
</div>
<script type="text/javascript">
<?php if ($_SESSION['qst']==0){ ?>
quest.number=null;
<?php }else{ ?>
quest.number=0;
<?php } ?>
quest.last = 37;
cache_preload = new Image();
cache_preload.src = "img/x.gif";
cache_preload.className = "wood";
</script>
<?php } ?>
<div id="qge">
<?php if ($_SESSION['qst']==0 or (isset($_SESSION['qstnew']) && $_SESSION['qstnew']==1)){ ?>
<img onclick="qst_handle();" src="<?php echo GP_LOCATE; ?>img/q/l<?php echo $session->userinfo['tribe'];?>g.jpg" title="to the task" style="height:174px" alt="to the task" />
<?php }else{?>
<img onclick="qst_handle();" src="<?php echo GP_LOCATE; ?>img/q/l<?php echo $session->userinfo['tribe'];?>.jpg" title="to the task" style="height:174px" alt="to the task" />
<?php } ?>
</div>
<script type="text/javascript">
<?php if ($_SESSION['qst']==0){ ?>
quest.number=null;
<?php }else{ ?>
quest.number=0;
<?php } if ($_SESSION['qst']<38 && QTYPE==37){?>
quest.last = 37;
<?php } else {?>
quest.last = 30;
<?php }?>
cache_preload = new Image();
cache_preload.src = "img/x.gif";
cache_preload.className = "wood";
</script>
<?php } ?>
Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

+31
View File
@@ -868,6 +868,10 @@ div.village2 div#village_map img.red {
left: 328px;
top: 210px;
}
div.village2 div#village_map img.dark {
left: 140px;
top: 75px;
}
div.village2 table#building_contract {
margin: -40px 19px 0;
position: relative;
@@ -8066,6 +8070,30 @@ div.quest div.wood {
background-image: url("../../img/q/wood.jpg");
height: 237px;
}
div.quest div.report {
background-image: url("../../img/q/report.jpg");
height: 179px;
}
div.quest div.gold {
background-image: url("../../img/q/gold.jpg");
height: 234px;
}
div.quest div.granary {
background-image: url("../../img/q/granary.jpg");
height: 179px;
}
div.quest div.embassy{
background-image: url("../../img/q/embassy.jpg");
height: 234px;
}
div.quest div.ally {
background-image: url("../../img/q/alliance.jpg");
height: 179px;
}
div.quest div.rally {
background-image: url("../../img/q/rally.jpg");
height: 242px;
}
a#n1 img, a#n2 img, a#n3 img, a#n4 img, div#n5 {
background-position: 0 -21px;
background-repeat: no-repeat;
@@ -8541,6 +8569,9 @@ div.village2 div#village_map img.green {
div.village2 div#village_map img.red {
background-image: url("../../img/special/NewyearRocket_red_1a.gif");
}
div.village2 div#village_map img.dark {
background-image: url("../../img/special/NewyearRocket_dark_1a.gif");
}
div#map div#map_content div.b00 {
background-image: url("../../img/m/d00.gif");
}