summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-08-28 10:17:40 -0300
committerJesusaves <cpntb1@ymail.com>2018-08-28 10:17:40 -0300
commita9d148e07da997e8e54c8113652a23a197d5dec2 (patch)
tree6495a4aa6cd784ee3e9816cbbc9ad3b2c8e4be18
parent60eb51822798a7f6db388948ce15e76042215f09 (diff)
downloadserverdata-a9d148e07da997e8e54c8113652a23a197d5dec2.tar.gz
serverdata-a9d148e07da997e8e54c8113652a23a197d5dec2.tar.bz2
serverdata-a9d148e07da997e8e54c8113652a23a197d5dec2.tar.xz
serverdata-a9d148e07da997e8e54c8113652a23a197d5dec2.zip
Requested shop at LoF Village
-rw-r--r--npc/017-1/_import.txt1
-rw-r--r--npc/017-1/shops.txt34
2 files changed, 35 insertions, 0 deletions
diff --git a/npc/017-1/_import.txt b/npc/017-1/_import.txt
index ede6731a6..a1f0b24d5 100644
--- a/npc/017-1/_import.txt
+++ b/npc/017-1/_import.txt
@@ -8,6 +8,7 @@
"npc/017-1/nowhere_man.txt",
"npc/017-1/paxel.txt",
"npc/017-1/roger.txt",
+"npc/017-1/shops.txt",
"npc/017-1/signs.txt",
"npc/017-1/soul-menhir.txt",
"npc/017-1/wateranimation.txt",
diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt
new file mode 100644
index 000000000..acf8ce7e2
--- /dev/null
+++ b/npc/017-1/shops.txt
@@ -0,0 +1,34 @@
+// TMW2/LoF scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Random Sellers
+
+017-1,158,184,0 script Billy NPC_M_SHOPKEEPER,{
+ shop .name$;
+ close;
+
+OnInit:
+ .@npcId = getnpcid(0, .name$);
+ setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, any(ShortTankTop, CandorShirt, Chainmail));
+ setunitdata(.@npcId, UDT_HEADBOTTOM, RaidTrousers);
+ setunitdata(.@npcId, UDT_WEAPON, LousyMoccasins); // Boots
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 10);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 9);
+
+ .sex = G_MALE;
+ .distance = 4;
+ tradertype(NST_MARKET);
+
+ sellitem YellowDye, -1, 1;
+ sellitem CottonCloth, -1, 3;
+ end;
+
+OnClock1250:
+OnClock0112:
+ restoreshopitem YellowDye, -1, 1;
+ restoreshopitem CottonCloth, -1, 3;
+ end;
+
+}