diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-12 22:38:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-12 22:38:19 -0300 |
commit | 1b173619a2196ee1d64337201e6e28a7fc494b70 (patch) | |
tree | e95b81680a87e9b2e9ecdc9befbc21aa7b63aaca | |
parent | 45670e878c69ea6ee8262c1e1e55dd1214972f84 (diff) | |
download | serverdata-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.conf | 2 | ||||
-rw-r--r-- | maps/re/017-1.mcache | bin | 4291 -> 4295 bytes | |||
-rw-r--r-- | maps/re/017-4.mcache | bin | 158 -> 159 bytes | |||
-rw-r--r-- | npc/017-4/_import.txt | 3 | ||||
-rw-r--r-- | npc/017-4/pihro.txt | 21 | ||||
-rw-r--r-- | npc/017-4/pyndragon.txt | 22 | ||||
-rw-r--r-- | npc/017-4/refine.txt | 32 |
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 Binary files differindex 8d4d2125b..57bb2b904 100644 --- a/maps/re/017-1.mcache +++ b/maps/re/017-1.mcache diff --git a/maps/re/017-4.mcache b/maps/re/017-4.mcache Binary files differindex ae36bb94f..72beea6fa 100644 --- a/maps/re/017-4.mcache +++ b/maps/re/017-4.mcache 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; +} + |