summaryrefslogtreecommitdiff
path: root/npc/xmas/2010
diff options
context:
space:
mode:
authorStefan Beller <stefanbeller@googlemail.com>2010-12-16 01:24:55 +0100
committerStefan Beller <stefanbeller@googlemail.com>2010-12-16 01:24:55 +0100
commit48f60eedfa2087c58ca27b90599fc8cd7e102f84 (patch)
tree56ce0440e88db737a96a63abcb876e53cd84faef /npc/xmas/2010
parent705bd5c948b856513a560d085961e2dc2ebea224 (diff)
downloadserverdata-48f60eedfa2087c58ca27b90599fc8cd7e102f84.tar.gz
serverdata-48f60eedfa2087c58ca27b90599fc8cd7e102f84.tar.bz2
serverdata-48f60eedfa2087c58ca27b90599fc8cd7e102f84.tar.xz
serverdata-48f60eedfa2087c58ca27b90599fc8cd7e102f84.zip
nivalis
Diffstat (limited to 'npc/xmas/2010')
-rwxr-xr-x[-rw-r--r--]npc/xmas/2010/golbanez.txt56
-rwxr-xr-x[-rw-r--r--]npc/xmas/2010/santa.txt26
2 files changed, 13 insertions, 69 deletions
diff --git a/npc/xmas/2010/golbanez.txt b/npc/xmas/2010/golbanez.txt
index 5ee9999d..3c14a2e1 100644..100755
--- a/npc/xmas/2010/golbanez.txt
+++ b/npc/xmas/2010/golbanez.txt
@@ -11,39 +11,6 @@
//# if the players bring Golbanez stuff, santa will donate some other stuff to the players.
//#
//#################################################################################
-019-1.gat,96,41,0 script Golbenez-Debug 204,{
-
- mes "What you want to do?";
- menu
- "Change $Golbenez_Santa_Free(Date of the Month)",-,
- "Change Golbenez_Inn_Cost(Your Donations)",_cost,
- "Clean all variables.",_clean,
- "Nothing",_end;
-
- mes "Old Value: " + $Golbenez_Santa_Free;
- input $Golbenez_Santa_Free;
- mes "New Value: " + $Golbenez_Santa_Free;
- close;
-
-_cost:
- mes "Old Value: " + Golbenez_Inn_Cost;
- input Golbenez_Inn_Cost;
- mes "New Value: " + Golbenez_Inn_Cost;
- close;
-
-_clean:
- mes "Golbenez_Inn_Cost Old Value: " + Golbenez_Inn_Cost;
- set Golbenez_Inn_Cost, 0;
- mes "Golbenez_Inn_Cost New Value: " + Golbenez_Inn_Cost;
- mes "$Golbenez_Santa_Free Old Value: " + $Golbenez_Santa_Free;
- set $Golbenez_Santa_Free, 0;
- mes "$Golbenez_Santa_Free New Value: " + $Golbenez_Santa_Free;
- close;
-
-_end:
- close;
-
-}
019-1.gat,93,41,0 script #Golbenez#_M 204,{
set $Golbenez_Santa_Free, gettime(5);
@@ -67,10 +34,11 @@ _end:
next;
mes "\"Uhm well, then you should get away!\"";
next;
- mes "\"So far, you have brought stuff and money in a total value of " + Golbenez_Inn_Cost + " gold pieces. The people of your world have brought me " + $Golbenez_Inn_Cost + " gold pieces. What do you like to give?\"";
+ mes "\"What do you like to give?\"";
menu
"I'd like to spend some money.", Glb_money,
+ "I'd like to give some yellow presents.", -,
"I'd like to give some blue presents.", -,
"I'd like to give some green presents.", -,
"I'd like to give some pink presents.", -,
@@ -79,8 +47,8 @@ _end:
"Nevermind.", Glb_nvm;
// in this array the items should be filled in
- setarray @menuitem[2], 516, 538, 515;
- setarray @menuvalue[2], 2000, 5000, 1000;
+ setarray @menuitem[2], 4021, 516, 538, 515;
+ setarray @menuvalue[2], 100000, 20000, 50000, 10000;
mes "\"How many presents do you want to give?\"";
@@ -103,16 +71,16 @@ Glb_money:
Glb_checkGlAn:
// if the @Give amount is below 30% of the players money, just let him pay
- if( @Give<10000 || ( 100 * @Give / zeny )<30 ) goto Golbenez_pay;
+ if( @Give<100000 || ( 100 * @Give / zeny )<30 ) goto Golbenez_pay;
set @glob_an$ , "Golbenez: " + strcharinfo(0) + " accounted to free santa";
// depending on the absolute amount setup another global announcement.
- if( @Give >1000000 ) goto Golbenez_an_5;
- if( @Give > 500000 ) goto Golbenez_an_4;
- if( @Give > 100000 ) goto Golbenez_an_3;
- if( @Give > 72000 ) goto Golbenez_an_2;
- if( @Give > 35500 ) goto Golbenez_an_1;
+ if( @Give >10000000 ) goto Golbenez_an_5;
+ if( @Give > 5000000 ) goto Golbenez_an_4;
+ if( @Give > 1000000 ) goto Golbenez_an_3;
+ if( @Give > 720000 ) goto Golbenez_an_2;
+ if( @Give > 355000 ) goto Golbenez_an_1;
goto Golbenez_an;
@@ -163,9 +131,7 @@ Glb_nvm:
Glb_whypresents:
mes "[Golbenez]";
- mes "\"The presents contain some sort of spiritual attachment that aids in the creation of dimensional connections to this plane of existence. The green ones contain the stronger spiritual attachment, followed by the blue and then pink present boxes.\"";
- next;
- mes "\"Im willing to consider a conversion of each Present Box donated to an amount in Gold Pieces. So, a Green Present is equivalent to 5000 Gold Pieces, a Blue Present, 2000 Gold Pieces and a Pink Present, 1000 Gold Pieces.\"";
+ mes "\"The presents contain some sort of spiritual attachment that aids in the creation of dimensional connections to this plane of existence. The green ones contain the stronger spiritual attachment, followed by the blue and then pink present boxes. But the yellow ones, they have amazing spiritual attachment.\"";
close;
Glb_otheritems:
diff --git a/npc/xmas/2010/santa.txt b/npc/xmas/2010/santa.txt
index 4b95a142..5e93a6d5 100644..100755
--- a/npc/xmas/2010/santa.txt
+++ b/npc/xmas/2010/santa.txt
@@ -12,28 +12,6 @@
//#
//#################################################################################
-031-3.gat,122,55,0 script Debug 105,{
-
- mes "What do you want to do?";
-
- menu
- "Change Golbenez_Inn_Cost.",-,
- "Change Xmas2010.",_xmas,
- "Nothing.",_end;
-
- mes "Old Value: " + Golbenez_Inn_Cost;
- input Golbenez_Inn_Cost;
- mes "New Value: " + Golbenez_Inn_Cost;
- close;
-_xmas:
- mes "Old Value: " + Xmas2010;
- input Xmas2010;
- mes "New Value: " + Xmas2010;
- close;
-_end:
- close;
-}
-
031-3.gat,122,51,0 script Santa 105,{
if (Sex) set @honorific$, "young hero";
@@ -68,8 +46,8 @@ L_Skip_Dialogue:
L_Calculate_Prizes:
getinventorylist;
if (@inventorylist_count == 100) goto L_full;
- if (Golbenez_Inn_Cost >= 500000 && Golbenez_Inn_Cost < 1000000) goto L_Elfhat_Prize;
- if (Golbenez_Inn_Cost >= 50000 && Golbenez_Inn_Cost < 500000) goto L_Stocking_Prize;
+ if (Golbenez_Inn_Cost >= 5000000) goto L_Elfhat_Prize;
+ if (Golbenez_Inn_Cost >= 500000 && Golbenez_Inn_Cost < 5000000) goto L_Stocking_Prize;
setarray @prizes[1], 1206, 1216, 629, 630, 634, 1214, 633, 628, 627, 621;
setarray @prizesnames$[1], "Santa Beard Hat", "Mouboo Head", "Mush Hat", "Shroom Hat", "Face Mask", "Bunny Ears", "Christmas Elf Hat", "Funky Hat", "Top Hat", "Eyepatch";
mes "\"You are so generous! I believe I can give you one of the hats from this bag. I know you like these silly hats. Yes, Santa knows this kind of thing... Ho-Ho-Ho! Which one would you like to get?\"";