summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-12 22:38:19 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-12 22:38:19 -0300
commit1b173619a2196ee1d64337201e6e28a7fc494b70 (patch)
treee95b81680a87e9b2e9ecdc9befbc21aa7b63aaca /npc
parent45670e878c69ea6ee8262c1e1e55dd1214972f84 (diff)
downloadserverdata-1b173619a2196ee1d64337201e6e28a7fc494b70.tar.gz
serverdata-1b173619a2196ee1d64337201e6e28a7fc494b70.tar.bz2
serverdata-1b173619a2196ee1d64337201e6e28a7fc494b70.tar.xz
serverdata-1b173619a2196ee1d64337201e6e28a7fc494b70.zip
Regenerate map files, Refine system, template for Pyn&Pi.
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;
+}
+