summaryrefslogtreecommitdiff
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
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.
-rw-r--r--db/constants.conf2
-rw-r--r--maps/re/017-1.mcachebin4291 -> 4295 bytes
-rw-r--r--maps/re/017-4.mcachebin158 -> 159 bytes
-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
7 files changed, 80 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 6af92b3a2..e105a7612 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3955,6 +3955,8 @@ constants_db: {
NPC_KOGA: 183
// LoF Non Animated NPCs
+ NPC_FORTIUN: 200
+ NPC_FUSUS: 201
NPC_FEMALE_WORKER: 203
NPC_TECH_EXPLORER: 208
NPC_CHEF: 210
diff --git a/maps/re/017-1.mcache b/maps/re/017-1.mcache
index 8d4d2125b..57bb2b904 100644
--- a/maps/re/017-1.mcache
+++ b/maps/re/017-1.mcache
Binary files differ
diff --git a/maps/re/017-4.mcache b/maps/re/017-4.mcache
index ae36bb94f..72beea6fa 100644
--- a/maps/re/017-4.mcache
+++ b/maps/re/017-4.mcache
Binary files differ
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;
+}
+