summaryrefslogtreecommitdiff
path: root/npc/019-1_Snow_field
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-11-19 13:38:20 +0000
committerJared Adams <jaxad0127@gmail.com>2008-11-19 13:38:20 +0000
commit1195ea1eb880ca9c77f2471e036d8bb8009fd70d (patch)
tree888b3dded2573c38c92acb7d6faf528d02abfd8b /npc/019-1_Snow_field
parentc35d7a43946974cc85497980f4542f0b8abc1a56 (diff)
downloadserverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.gz
serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.bz2
serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.tar.xz
serverdata-1195ea1eb880ca9c77f2471e036d8bb8009fd70d.zip
Change all script folders
Script files fixes are comming
Diffstat (limited to 'npc/019-1_Snow_field')
-rw-r--r--npc/019-1_Snow_field/_import.txt7
-rw-r--r--npc/019-1_Snow_field/_mobs.txt7
-rw-r--r--npc/019-1_Snow_field/_warps.txt3
-rw-r--r--npc/019-1_Snow_field/monsters.txt20
-rw-r--r--npc/019-1_Snow_field/santa.txt50
-rw-r--r--npc/019-1_Snow_field/snowman.txt52
-rw-r--r--npc/019-1_Snow_field/taro.txt73
7 files changed, 212 insertions, 0 deletions
diff --git a/npc/019-1_Snow_field/_import.txt b/npc/019-1_Snow_field/_import.txt
new file mode 100644
index 00000000..3db5780c
--- /dev/null
+++ b/npc/019-1_Snow_field/_import.txt
@@ -0,0 +1,7 @@
+map: 019-1.gat
+npc: npc/019-1_Snow_field/taro.txt
+npc: npc/019-1_Snow_field/snowman.txt
+npc: npc/019-1_Snow_field/santa.txt
+npc: npc/019-1_Snow_field/monsters.txt
+npc: npc/019-1_Snow_field/_warps.txt
+npc: npc/019-1_Snow_field/_mobs.txt
diff --git a/npc/019-1_Snow_field/_mobs.txt b/npc/019-1_Snow_field/_mobs.txt
new file mode 100644
index 00000000..bdc591a7
--- /dev/null
+++ b/npc/019-1_Snow_field/_mobs.txt
@@ -0,0 +1,7 @@
+// 019-1 Snow field mobs
+
+
+
+019-1.gat,0,0,0 script Mob019-1 -1,{
+ end;
+}
diff --git a/npc/019-1_Snow_field/_warps.txt b/npc/019-1_Snow_field/_warps.txt
new file mode 100644
index 00000000..63b04561
--- /dev/null
+++ b/npc/019-1_Snow_field/_warps.txt
@@ -0,0 +1,3 @@
+// 019-1 Snow field warps
+
+019-1.gat,70,21 warp ToVillage 2,-1,020-1.gat,70,126
diff --git a/npc/019-1_Snow_field/monsters.txt b/npc/019-1_Snow_field/monsters.txt
new file mode 100644
index 00000000..b4515cf2
--- /dev/null
+++ b/npc/019-1_Snow_field/monsters.txt
@@ -0,0 +1,20 @@
+// Map: new_10-1
+// This is the Snow Fields.
+//
+
+new_10-1.gat,0,0,0,0 monster SantaSlime 1015,10,0,0,Mob10::OnSantaSlime
+new_10-1.gat,0,0,0,0 monster RudolphSlime 1016,25,0,0,Mob10::OnRudolphSlime
+
+new_10-1.gat,0,0,0 script Mob10 -1,{
+OnSantaSlime:
+ set @mobID, 1015;
+ callfunc "MobPoints";
+ break;
+
+OnRudolphSlime:
+ set @mobID, 1016;
+ callfunc "MobPoints";
+ break;
+
+ end;
+}
diff --git a/npc/019-1_Snow_field/santa.txt b/npc/019-1_Snow_field/santa.txt
new file mode 100644
index 00000000..c53ce55f
--- /dev/null
+++ b/npc/019-1_Snow_field/santa.txt
@@ -0,0 +1,50 @@
+new_10-1.gat,74,75,0 script Santa 105,{
+if (ChristmasQuest2 == 1) goto done;
+mes "[Santa]";
+mes "Ho ho ho.";
+mes "Hello my young friend.";
+mes "Would you like to help me?";
+next;
+mes "Those monsters stolen my presents.";
+mes "If you help me, I'll give you something very nice";
+next;
+L_M:
+menu "I have some present boxes",L_Y,"Hmm, see you later",L_N,"What you need exactly?",L_R;
+ L_Y:
+ mes "[Santa]";
+ mes "Hmm, let me check what you have.";
+ next;
+ if(countitem(515)<25) goto NoItem;
+ if(countitem(516)<20) goto NoItem;
+ if(countitem(538)<5) goto NoItem;
+ mes "Great! Here is something for you";
+ delitem 515,25;
+ delitem 516,20;
+ delitem 538,5;
+ getitem 563+rand(2),1;
+ set ChristmasQuest2,1;
+ close;
+ L_R:
+ mes "[Santa]";
+ mes "I need:";
+ mes "25 purple present boxes";
+ mes "20 blue present boxes";
+ mes "5 green present boxes";
+ next;
+ goto L_M;
+ L_N:
+ mes "[Santa]";
+ mes "Enjoy your holidays and I wish you an happy Christmas!";
+ close;
+ NoItem:
+ mes "[Santa]";
+ mes "You dont seem to have enough presents.";
+ close;
+ done:
+ mes "[Santa]";
+ mes "All the children got their Christmas presents.";
+ mes "Thank you for your help.";
+ close;
+
+}
+
diff --git a/npc/019-1_Snow_field/snowman.txt b/npc/019-1_Snow_field/snowman.txt
new file mode 100644
index 00000000..1e5ba412
--- /dev/null
+++ b/npc/019-1_Snow_field/snowman.txt
@@ -0,0 +1,52 @@
+new_10-1.gat,77,44,0 script Snowman 129,{
+ if( ChristmasQuest == 1) goto L_Done;
+
+ mes "[Snowman]";
+ mes "\"Hello there young man.";
+ mes "Would you like a Christmas hat?\"";
+ next;
+
+L_Menu:
+ menu
+ "Yes", L_Sure,
+ "No", -,
+ "What do you need?", L_Need;
+ mes "[Snowman]";
+ mes "\"Well, thats too bad, but make sure to have the holiday spirit!\"";
+ close;
+
+L_Sure:
+ mes "[Snowman]";
+ mes "\"Hmm, let me see what you have.\"";
+ next;
+ if(countitem(510) < 15) goto L_NoItem;
+ if(countitem(509) < 10) goto L_NoItem;
+ if(countitem(502) < 5) goto L_NoItem;
+ delitem 510, 15;
+ delitem 509, 10;
+ delitem 502, 5;
+ mes "\"Here you go, enjoy your new hat!\"";
+ getitem 511, 1;
+ set ChristmasQuest, 1;
+ close;
+
+L_Need:
+ mes "[Snowman]";
+ mes "\"For this special hat, I need a pint of magic and a little help.";
+ mes "Just kidding. I would like to get some food:";
+ mes "15 Candies";
+ mes "10 Chocolate bars";
+ mes "5 Cactus potions\"";
+ next;
+ goto L_Menu;
+
+L_NoItem:
+ mes "[Snowman]";
+ mes "\"Well, I am interested in some food and you don't have enought to get a hat.\"";
+ close;
+
+L_Done:
+ mes "[Snowman]";
+ mes "\"Thank you for help!\"";
+ close;
+}
diff --git a/npc/019-1_Snow_field/taro.txt b/npc/019-1_Snow_field/taro.txt
new file mode 100644
index 00000000..c5ab3289
--- /dev/null
+++ b/npc/019-1_Snow_field/taro.txt
@@ -0,0 +1,73 @@
+// Snow Taro
+
+new_10-1.gat,57,61,0 script Taro 114,{
+ if (getequipid(equip_head) == 511 || getequipid(equip_head) == 1206) goto L_Santa;
+ if (getequipid(equip_head) == 633) goto L_Elf;
+ if (getequipid(equip_head) == 628) goto L_NearElf;
+ if (getequipid(equip_head) == 1204) goto L_Antlers;
+ if (getequipid(equip_head) == 1205) goto L_Tree;
+
+ mes "[Taro]";
+ mes "\"I'm scared!!!";
+ mes "Take me back, pleeeease!!!\"";
+ next;
+ menu
+ "Ok", L_Warp,
+ "Just give me one more minute.", close;
+ close;
+
+L_Santa:
+ mes "[Taro]";
+ mes "\"SANTA! Will you take me back home?\"";
+ next;
+
+ menu
+ "Of course!", L_Warp,
+ "No, I need to finish some stuff up here.", -;
+ close;
+
+L_Elf:
+ mes "[Taro]";
+ mes "\"Aren't you one of Santa's elves? Can you help me back home?\"";
+ next;
+
+ menu
+ "Yes", L_Warp,
+ "No. I'm too busy.", -;
+ close;
+
+L_NearElf:
+ mes "[Taro]";
+ mes "\"Aren't you one of Santa's elves? Oh, you're not. Will you help me get home anyways?\"";
+ next;
+
+ menu
+ "Yes", L_Warp,
+ "No", -;
+ close;
+
+L_Antlers:
+ mes "[Taro]";
+ mes "\"Mister reindeer? Will you take me home?\"";
+ next;
+
+ menu
+ "Yes", L_Warp,
+ "No", -;
+ close;
+
+L_Tree:
+ mes "[Taro]";
+ mes "\"Oh Christmas tree, I wish I could go home now!\"";
+ next;
+
+ menu
+ "Let me take you", L_Warp,
+ "Sorry, I'm not a magic tree", -;
+ close;
+
+L_Warp:
+ warp "new_29-1.gat", 52, 45;
+ close;
+}
+