summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-07-26 14:50:17 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-07-26 14:50:17 +0000
commit9fd111e8e2a64a2e774f1e5d3ca3e55b03770666 (patch)
treee7b06c1431314ec55fd2743e2976f0d8fd02d284 /npc
parent0c955283765760aba7b2485e855c13c5c394164d (diff)
downloadserverdata-9fd111e8e2a64a2e774f1e5d3ca3e55b03770666.tar.gz
serverdata-9fd111e8e2a64a2e774f1e5d3ca3e55b03770666.tar.bz2
serverdata-9fd111e8e2a64a2e774f1e5d3ca3e55b03770666.tar.xz
serverdata-9fd111e8e2a64a2e774f1e5d3ca3e55b03770666.zip
Added some shops in snow village.
Diffstat (limited to 'npc')
-rw-r--r--npc/snow-village/shops.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/npc/snow-village/shops.txt b/npc/snow-village/shops.txt
new file mode 100644
index 00000000..30e74c86
--- /dev/null
+++ b/npc/snow-village/shops.txt
@@ -0,0 +1,38 @@
+// Clothes shop
+new_13-1.gat,27,26,0 shop Tailor 137,523:2000,524:1600,543:5000,544:800,546:10000
+// Weapons shop
+new_13-1.gat,25,65,0 shop Bracco 135,1201:50,521:1000,522:100
+// Potions shop
+new_13-1.gat,75,26,0 shop Mede 135,501:50,502:70,567:500,568:500
+// INN
+//Heal NPC costs 100 money
+new_13-1.gat,111,23,0 script Kane 120,{
+ mes "[Kane]";
+ mes "Welcome strangers.";
+ mes "What? You've already seen an INN like mine?"
+ mes "That's impossible!"
+ next;
+
+ mes "[Kane]";
+ mes "Would you like to rest? It's only 100 gp.";
+ next;
+
+ menu "Yes",-,"No",L_No;
+ mes "Sleep well!";
+ next;
+
+ if (zeny < 100) goto L_NoMoney;
+ set zeny,zeny-100;
+ heal 10000,10000;
+ close;
+
+L_No:
+ mes "[Kane]";
+ mes "See you.";
+ close;
+
+L_NoMoney:
+ mes "[Kane]";
+ mes "Hey! You don't have enough money!";
+ close;
+}