summaryrefslogtreecommitdiff
path: root/npc/002-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-10 11:45:37 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-10 11:45:37 -0300
commit7679e5994642ef019d850b92ee74e564fefd2e57 (patch)
tree8b97ec3c2581908837ea039979fe6f6b3181c17f /npc/002-2
parentf810899c0006e86f46c3e0122ea5b9ec5ea7dfd8 (diff)
downloadserverdata-7679e5994642ef019d850b92ee74e564fefd2e57.tar.gz
serverdata-7679e5994642ef019d850b92ee74e564fefd2e57.tar.bz2
serverdata-7679e5994642ef019d850b92ee74e564fefd2e57.tar.xz
serverdata-7679e5994642ef019d850b92ee74e564fefd2e57.zip
Cleanup all shops. This makes CI passable! (At least in a real environment)
Diffstat (limited to 'npc/002-2')
-rw-r--r--npc/002-2/bakery.txt20
-rw-r--r--npc/002-2/inya.txt12
-rw-r--r--npc/002-2/shops.txt18
3 files changed, 47 insertions, 3 deletions
diff --git a/npc/002-2/bakery.txt b/npc/002-2/bakery.txt
index c1e9ebbe..74c5663f 100644
--- a/npc/002-2/bakery.txt
+++ b/npc/002-2/bakery.txt
@@ -124,7 +124,25 @@ L_End:
close;
}
-002-2,25,22,0 shop Drabur NPC112,736:100,737:125,738:150,739:150,513:15,519:50,534:45,527:150,508:10
+002-2,25,22,0 script Drabur NPC112,{
+ shop .name$;
+ goodbye;
+ close;
+
+OnInit:
+ tradertype(NST_ZENY);
+ sellitem WhiteCake;
+ sellitem ChocolateCake;
+ sellitem OrangeCake;
+ sellitem AppleCake;
+ sellitem Cake;
+ sellitem CherryCake;
+ sellitem OrangeCupcake;
+ sellitem Milk;
+ sellitem XmasCake;
+ .distance = 5;
+ end;
+}
002-2,21,28,0 script Iormo NPC160,{
mes "[Iormo]";
diff --git a/npc/002-2/inya.txt b/npc/002-2/inya.txt
index 787f8a56..aa68fb14 100644
--- a/npc/002-2/inya.txt
+++ b/npc/002-2/inya.txt
@@ -1,5 +1,15 @@
-002-2,116,61,0 shop #InyaShop NPC32767,4014:2500
+002-2,116,61,0 script #InyaShop NPC32767,{
+ shop .name$;
+ goodbye;
+ close;
+
+OnInit:
+ tradertype(NST_ZENY);
+ sellitem SimpleRing;
+ .distance = 5;
+ end;
+}
002-2,116,61,0 script Inya NPC106,{
mes "[Inya]";
diff --git a/npc/002-2/shops.txt b/npc/002-2/shops.txt
index 23bb9a57..0054c290 100644
--- a/npc/002-2/shops.txt
+++ b/npc/002-2/shops.txt
@@ -1,2 +1,18 @@
+// The Mana World Script
+// (C) Jesusalva, 2021
+// Licensed under GPLv2 or later
+
+002-2,68,25,0 script Bartender#Casino NPC112,{
+ shop .name$;
+ goodbye;
+ close;
+
+OnInit:
+ tradertype(NST_ZENY);
+ sellitem Beer;
+ sellitem Cake;
+ sellitem CherryCake;
+ .distance = 5;
+ end;
+}
-002-2,68,25,0 shop Bartender#Casino NPC112,539:87,513:15,519:50