summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-06 17:07:27 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-06 17:07:27 -0300
commit9ccd9e1c2b7539a89d9df523f1bbfe800eb2dd21 (patch)
treefacd6ea8325328d7e891e24ff8c1705d511f0bd4
parent0ec276a2adaba84574126418aea5b5e019ebb724 (diff)
downloadserverdata-9ccd9e1c2b7539a89d9df523f1bbfe800eb2dd21.tar.gz
serverdata-9ccd9e1c2b7539a89d9df523f1bbfe800eb2dd21.tar.bz2
serverdata-9ccd9e1c2b7539a89d9df523f1bbfe800eb2dd21.tar.xz
serverdata-9ccd9e1c2b7539a89d9df523f1bbfe800eb2dd21.zip
Populate Frostia's Throne Room with dummy NPCs. Dialogs pending (along testing)
-rw-r--r--db/constants.conf2
-rw-r--r--npc/024-16/_import.txt4
-rw-r--r--npc/024-16/craftsman.txt15
-rw-r--r--npc/024-16/generals.txt24
-rw-r--r--npc/024-16/guards.txt18
-rw-r--r--npc/024-16/king.txt36
6 files changed, 99 insertions, 0 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 8b8eb6a21..fd53bc45a 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -4072,6 +4072,8 @@ constants_db: {
// TMW-BR Non Animated NPCs
NPC_SHOPPAKEP: 301
NPC_BRGUARD_SWORD: 306
+ NPC_BRGUARD_SPEAR: 307
+ NPC_BRGUARD_BOW: 308
NPC_JOURNALMAN: 309
NPC_FISHERMAN_HALI: 311
NPC_ANSELMO_BR: 315
diff --git a/npc/024-16/_import.txt b/npc/024-16/_import.txt
index 33013885d..402dc7480 100644
--- a/npc/024-16/_import.txt
+++ b/npc/024-16/_import.txt
@@ -1,3 +1,7 @@
// Map 024-16: Frostia's Throne Room
// This file is generated automatically. All manually added changes will be removed when running the Converter.
"npc/024-16/_warps.txt",
+"npc/024-16/craftsman.txt",
+"npc/024-16/generals.txt",
+"npc/024-16/guards.txt",
+"npc/024-16/king.txt",
diff --git a/npc/024-16/craftsman.txt b/npc/024-16/craftsman.txt
new file mode 100644
index 000000000..8dbfc5f80
--- /dev/null
+++ b/npc/024-16/craftsman.txt
@@ -0,0 +1,15 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Craftmaster, teaches player TMW2_CRAFT
+
+024-16,27,42,0 script Dwarf Craftsmaster NPC_DWARF_CRAFTMASTER,{
+ hello;
+ end;
+
+OnInit:
+ .distance=5;
+ end;
+}
+
diff --git a/npc/024-16/generals.txt b/npc/024-16/generals.txt
new file mode 100644
index 000000000..0fa9cfab6
--- /dev/null
+++ b/npc/024-16/generals.txt
@@ -0,0 +1,24 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Generals
+
+024-16,29,21,0 script Wizard General NPC_BLUESABER,{
+ hello;
+ end;
+
+OnInit:
+ .distance=5;
+ end;
+}
+
+024-16,31,21,0 script Warrior General NPC_REDSABER,{
+ hello;
+ end;
+
+OnInit:
+ .distance=5;
+ end;
+}
+
diff --git a/npc/024-16/guards.txt b/npc/024-16/guards.txt
new file mode 100644
index 000000000..e07294c7b
--- /dev/null
+++ b/npc/024-16/guards.txt
@@ -0,0 +1,18 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Frostia King Guards
+
+024-16,33,42,0 script Royal Guard#02416A NPC_BRGUARD_SPEAR,{
+ legiontalk;
+ end;
+
+OnInit:
+ .distance=5;
+ end;
+}
+
+024-16,25,33,0 duplicate(Royal Guard#02416A) Royal Guard#02416B NPC_BRGUARD_SWORD
+024-16,35,33,0 duplicate(Royal Guard#02416A) Royal Guard#02416C NPC_BRGUARD_BOW
+
diff --git a/npc/024-16/king.txt b/npc/024-16/king.txt
new file mode 100644
index 000000000..d0905b118
--- /dev/null
+++ b/npc/024-16/king.txt
@@ -0,0 +1,36 @@
+// TMW2 scripts.
+// Authors:
+// Jesusalva
+// Description:
+// Ruler of Frostia
+
+024-16,30,23,0 script King Gelid NPC_ELF,{
+ mesn l("King Gelid Frozenheart");
+ mesq l("Hello.");
+ close;
+
+OnInit:
+ /*
+ <sprite>equipment/legs/assassinpants-male.xml</sprite>
+ <sprite>equipment/feet/boots-male.xml</sprite>
+ <sprite>equipment/hands/armbands-male.xml</sprite>
+ <sprite>hairstyles/hairstyle15.xml|#585858,A4A4A4,C0C0C0,ffffff</sprite>
+ <sprite>equipment/head/crown.xml</sprite>
+ <sprite>equipment/weapons/knife.xml</sprite>
+ <sprite>equipment/chest/warlordplate-male.xml</sprite>
+ <!--sprite>equipment/charm/manta-imperial-male.xml</sprite-->
+ <sound event="hit">weapons/piouslayer/hit1.ogg</sound>
+ */
+ .@npcId = getnpcid(.name$);
+ setunitdata(.@npcId, UDT_HEADTOP, ImperialCrown);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, WarlordPlate);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, AssassinPants);
+ setunitdata(.@npcId, UDT_WEAPON, FurBoots); // Boots
+ // TODO: Armbands, imperial robe, etc.
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 15);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 8);
+
+ .distance=3;
+ end;
+}
+