summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/017-4/_import.txt3
-rw-r--r--npc/017-4/pihro.txt21
-rw-r--r--npc/017-4/pyndragon.txt22
-rw-r--r--npc/017-4/refine.txt32
4 files changed, 78 insertions, 0 deletions
diff --git a/npc/017-4/_import.txt b/npc/017-4/_import.txt
index 9e1ccf256..d2c0b1937 100644
--- a/npc/017-4/_import.txt
+++ b/npc/017-4/_import.txt
@@ -1,3 +1,6 @@
// Map 017-4: Tech-User Forge
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/017-4/_warps.txt",
+"npc/017-4/pihro.txt",
+"npc/017-4/pyndragon.txt",
+"npc/017-4/refine.txt",
diff --git a/npc/017-4/pihro.txt b/npc/017-4/pihro.txt
new file mode 100644
index 000000000..81ce63fb5
--- /dev/null
+++ b/npc/017-4/pihro.txt
@@ -0,0 +1,21 @@
+// TMW2/LoF scripts.
+// Authors:
+// TMW-LoF Team
+// Jesusalva
+// Description:
+// Forge bullets
+017-4,35,35,0 script Pihro NPC_PLAYER,{
+
+OnInit:
+ .@npcId = getnpcid(0, .name$);
+ setunitdata(.@npcId, UDT_HEADTOP, Monocle);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, CreasedShirt);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);
+ setunitdata(.@npcId, UDT_WEAPON, JeansShorts);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 2);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 4);
+
+ .sex=G_MALE;
+ .distance=5;
+ end;
+}
diff --git a/npc/017-4/pyndragon.txt b/npc/017-4/pyndragon.txt
new file mode 100644
index 000000000..35daebf88
--- /dev/null
+++ b/npc/017-4/pyndragon.txt
@@ -0,0 +1,22 @@
+// TMW2/LoF scripts.
+// Authors:
+// TMW-LoF Team
+// Jesusalva
+// Description:
+// Forge firearms
+017-4,34,23,0 script Pyndragon NPC_PLAYER,{
+
+OnInit:
+ .@npcId = getnpcid(0, .name$);
+ setunitdata(.@npcId, UDT_HEADTOP, FancyHat);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, CreasedShirt);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, NPCEyes);
+ setunitdata(.@npcId, UDT_WEAPON, JeansShorts);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 2);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 4);
+
+ .sex=G_MALE;
+ .distance=5;
+ end;
+
+}
diff --git a/npc/017-4/refine.txt b/npc/017-4/refine.txt
new file mode 100644
index 000000000..0e1a272f1
--- /dev/null
+++ b/npc/017-4/refine.txt
@@ -0,0 +1,32 @@
+// TMW2/LoF scripts.
+// Authors:
+// TMW-LoF Team
+// Jesusalva
+// Description:
+// Refine and Repair broken equipment.
+017-4,38,35,0 script Fortiun NPC_FORTIUN,{
+ @menu=0;
+ do
+ {
+ refineMaster();
+ } while (1);
+
+OnInit:
+ .sex=G_MALE;
+ .distance=5;
+ end;
+}
+
+017-4,23,23,0 script Fusus NPC_FUSUS,{
+ @menu=0;
+ do
+ {
+ repairMaster();
+ } while (getbrokencount() >= 0);
+
+OnInit:
+ .sex=G_MALE;
+ .distance=5;
+ end;
+}
+