summaryrefslogtreecommitdiff
path: root/npc/024-4
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-10-23 21:44:22 -0300
committerJesusaves <cpntb1@ymail.com>2022-10-23 21:44:22 -0300
commita7c45a192268da2601cef47a4cdba987ae2327ca (patch)
treec5fb5b97db109fe7106496dd96498c475881046b /npc/024-4
downloadserverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.gz
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.bz2
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.tar.xz
serverdata-a7c45a192268da2601cef47a4cdba987ae2327ca.zip
Initial commit (Moubootaur Legends fork)
Diffstat (limited to 'npc/024-4')
-rw-r--r--npc/024-4/_import.txt5
-rw-r--r--npc/024-4/_warps.txt4
-rw-r--r--npc/024-4/alaion.txt55
-rw-r--r--npc/024-4/solana.txt47
4 files changed, 111 insertions, 0 deletions
diff --git a/npc/024-4/_import.txt b/npc/024-4/_import.txt
new file mode 100644
index 0000000..10834a1
--- /dev/null
+++ b/npc/024-4/_import.txt
@@ -0,0 +1,5 @@
+// Map 024-4: Frostia Indoors
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+"npc/024-4/_warps.txt",
+"npc/024-4/alaion.txt",
+"npc/024-4/solana.txt",
diff --git a/npc/024-4/_warps.txt b/npc/024-4/_warps.txt
new file mode 100644
index 0000000..c82f437
--- /dev/null
+++ b/npc/024-4/_warps.txt
@@ -0,0 +1,4 @@
+// This file is generated automatically. All manually added changes will be removed when running the Converter.
+// Map 024-4: Frostia Indoors warps
+024-4,39,29,0 warp #024-4_39_29 0,0,024-1,160,41
+024-4,28,29,0 warp #024-4_28_29 0,0,024-1,154,41
diff --git a/npc/024-4/alaion.txt b/npc/024-4/alaion.txt
new file mode 100644
index 0000000..76a7258
--- /dev/null
+++ b/npc/024-4/alaion.txt
@@ -0,0 +1,55 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Random shops
+
+024-4,36,23,0 script Alaion NPC_ELF,{
+ npcshopattach(.name$);
+ shop .name$;
+ close;
+
+OnInit:
+ .@npcId = getnpcid(.name$);
+ setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, any(Chainmail, LightPlatemail, CopperArmor, AssassinChest));
+ setunitdata(.@npcId, UDT_HEADBOTTOM, any(RaidTrousers, LeatherTrousers, JeansChaps, BromenalPants, AssassinPants, ChainmailSkirt));
+ setunitdata(.@npcId, UDT_WEAPON, AncientSword);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, rand2(5,15));
+ setunitdata(.@npcId, UDT_HAIRCOLOR, rand2(2,10));
+
+ .sex = G_MALE;
+ .distance = 4;
+ sleep(SHOPWAIT);
+ tradertype(NST_MARKET);
+
+ sellitem Halberd, -1, 1;
+ sellitem Broadsword, -1, 1;
+ sellitem Kitana, -1, 1;
+ sellitem ShortSword, -1, 1;
+ sellitem Backsword, -1, 1;
+ sellitem ShortGladius, -1, 1;
+ end;
+
+OnClock1250:
+OnClock0112:
+ restoreshopitem Halberd, 1;
+ restoreshopitem Broadsword, 1;
+ restoreshopitem Kitana, 1;
+ restoreshopitem ShortSword, 1;
+ restoreshopitem Backsword, 1;
+ restoreshopitem ShortGladius, 1;
+ end;
+
+// Pay your taxes!
+OnBuyItem:
+ debugmes("Purchase confirmed");
+ PurchaseTaxes();
+ end;
+
+OnSellItem:
+ debugmes("Sale confirmed");
+ SaleTaxes();
+ end;
+}
+
diff --git a/npc/024-4/solana.txt b/npc/024-4/solana.txt
new file mode 100644
index 0000000..5f87766
--- /dev/null
+++ b/npc/024-4/solana.txt
@@ -0,0 +1,47 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Random shops
+
+024-4,28,23,0 script Solana NPC_ELF_F,{
+ npcshopattach(.name$);
+ shop .name$;
+ close;
+
+OnInit:
+ .@npcId = getnpcid(.name$);
+ setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, any(LightPlatemail, ForestArmor, AssassinChest));
+ setunitdata(.@npcId, UDT_HEADBOTTOM, any(RaidTrousers, JeansChaps, AssassinPants, ChainmailSkirt));
+ setunitdata(.@npcId, UDT_WEAPON, BansheeBow);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, rand2(5,15));
+ setunitdata(.@npcId, UDT_HAIRCOLOR, rand2(2,10));
+
+ .sex = G_FEMALE;
+ .distance = 4;
+ sleep(SHOPWAIT);
+ tradertype(NST_MARKET);
+
+ sellitem ForestBow, -1, 1;
+ sellitem ElficBow, -1, 1;
+ end;
+
+OnClock1250:
+OnClock0112:
+ restoreshopitem ForestBow, 1;
+ restoreshopitem ElficBow, 1;
+ end;
+
+// Pay your taxes!
+OnBuyItem:
+ debugmes("Purchase confirmed");
+ PurchaseTaxes();
+ end;
+
+OnSellItem:
+ debugmes("Sale confirmed");
+ SaleTaxes();
+ end;
+}
+