summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-07 20:14:15 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-07 20:14:15 -0300
commitc6945d8ad64706861d8ebea065d87aed52581682 (patch)
tree62d011a68d5f4223ae87aea45af073d29e155c55
parent753d8a34cfa64c4d7fcc2cd3fd0563512d7f119a (diff)
downloadserverdata-c6945d8ad64706861d8ebea065d87aed52581682.tar.gz
serverdata-c6945d8ad64706861d8ebea065d87aed52581682.tar.bz2
serverdata-c6945d8ad64706861d8ebea065d87aed52581682.tar.xz
serverdata-c6945d8ad64706861d8ebea065d87aed52581682.zip
NPC to introduce new area (still to be linked & fixed)
-rw-r--r--conf/map/maps.conf1
-rw-r--r--db/map_index.txt37
-rw-r--r--db/re/item_db.conf10
-rw-r--r--maps/re/017-1.mcachebin0 -> 5078 bytes
-rw-r--r--npc/012-1/_import.txt1
-rw-r--r--npc/012-1/bot.txt87
-rw-r--r--npc/_import.txt1
7 files changed, 114 insertions, 23 deletions
diff --git a/conf/map/maps.conf b/conf/map/maps.conf
index bd503b0cb..00dd7eb91 100644
--- a/conf/map/maps.conf
+++ b/conf/map/maps.conf
@@ -76,6 +76,7 @@ map_list: (
"016-1",
"016-6",
"016-7",
+ "017-1",
"029-1",
"029-2",
"boss",
diff --git a/db/map_index.txt b/db/map_index.txt
index 58650fa80..5c6d09129 100644
--- a/db/map_index.txt
+++ b/db/map_index.txt
@@ -73,21 +73,22 @@
016-1 73
016-6 74
016-7 75
-029-1 76
-029-2 77
-boss 78
-botcheck 79
-hh-castle 80
-hh-outside 81
-jacks-basement 82
-jacks-indoor 83
-sec_pri 84
-si-cave 85
-si-house 86
-si-outside 87
-skull-cave 88
-somber-cave 89
-soren-2 90
-soren 91
-test 92
-testbg 93
+017-1 76
+029-1 77
+029-2 78
+boss 79
+botcheck 80
+hh-castle 81
+hh-outside 82
+jacks-basement 83
+jacks-indoor 84
+sec_pri 85
+si-cave 86
+si-house 87
+si-outside 88
+skull-cave 89
+somber-cave 90
+soren-2 91
+soren 92
+test 93
+testbg 94
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 0e93d7521..fc570deee 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -5817,13 +5817,13 @@ item_db: (
AegisName: "SaviorArmor"
Name: "Savior Armor"
Type: "IT_ARMOR"
- Buy: 2
- Sell: 1
- Weight: 1
- Def: 1
+ Buy: 6000000
+ Sell: 1000000
+ Weight: 2800
+ Def: 420
Loc: "EQP_HEAD_MID"
WeaponLv: 0
- EquipLv: 1
+ EquipLv: 109
Refine: false
ViewSprite: 1331
},
diff --git a/maps/re/017-1.mcache b/maps/re/017-1.mcache
new file mode 100644
index 000000000..4b6aa7930
--- /dev/null
+++ b/maps/re/017-1.mcache
Binary files differ
diff --git a/npc/012-1/_import.txt b/npc/012-1/_import.txt
index 7df32f9db..d5aff042c 100644
--- a/npc/012-1/_import.txt
+++ b/npc/012-1/_import.txt
@@ -3,6 +3,7 @@
"npc/012-1/_mobs.txt",
"npc/012-1/_warps.txt",
"npc/012-1/andrei.txt",
+"npc/012-1/bot.txt",
"npc/012-1/dyrinthetraveler.txt",
"npc/012-1/guards.txt",
"npc/012-1/gwendolyn.txt",
diff --git a/npc/012-1/bot.txt b/npc/012-1/bot.txt
new file mode 100644
index 000000000..4a10bebf7
--- /dev/null
+++ b/npc/012-1/bot.txt
@@ -0,0 +1,87 @@
+// TMW2 Script
+// Author:
+// Jesusalva
+// Description:
+// Introduces the new area ingame
+
+012-1,82,59,0 script LOFBot NPC_PLAYER,{
+ if (rand(1,5) % 2 == 1) {
+ mesn;
+ mesq l("Ah, @@ is sooo amazing!", $MOST_HEROIC$);
+ next;
+ }
+ mesn;
+ mesq l("Have you ever heard of the [@@https://landoffire.org/|Land Of Fire@@]? It is a really cool game which is being developed by Pyndragon and Pihro!");
+ next;
+ mesn;
+ mesq l("They had a TMWA server, but the Monster King went hyperactive and... Well, it crashed here.");
+
+L_Menu:
+ mes "";
+ menu
+ l("How can I reach the Land Of Fire?"), L_Where,
+ l("Tell me about the Land Of Fire."), L_Fire,
+ l("What are the Transcendence Gates?"), L_Gates,
+ l("Thanks for the help."), L_Close;
+
+L_Where:
+ mes "";
+ /*
+ mesn;
+ mesq l("If you head west, you'll eventually reach Jesus Saves official residence.");
+ next;
+ */
+ mesn;
+ mesq l("West of here, you'll find a small land path leading it it.");
+ next;
+ mesn;
+ mesq l("It is a really cool place. You must visit it someday!");
+ next;
+ goto L_Menu;
+
+L_Fire:
+ mes "";
+ mesn;
+ mesq l("The Land Of Fire Village was the result from the collapse of two worlds. It is a huge village.");
+ next;
+ mesq l("It have lots of lava caves, and some cool stuff, like the @@, can only be craft there.", getitemlink(SaviorArmor));
+ next;
+ mesq l("Unique monsters can be found there, and people say about staffs which shoot raw death and doom from it!");
+ next;
+ mesq l("It's self sufficient economically, and many fairies enjoy travelling there. In fact, rumors says the Fairy Kingdom is near it!");
+ next;
+ goto L_Menu;
+
+L_Gates:
+ mes "";
+ mesn;
+ mesq l("Ah, you'll find on the Land Of Fire Village four transcendence gates.");
+ next;
+ mesn;
+ mesq l("People from here always look dumbfolded when they walk past them and find themselves somewhere else.");
+ next;
+ mesn;
+ mesq l("There's usually not a lot of things to do past these gates, but some monsters which only lives on the Land of Fire can only be found there!");
+ next;
+ goto L_Menu;
+
+L_Close:
+ closedialog;
+ npctalkonce l("Ah, @@ is so amazing!", $MOST_HEROIC$);
+ close;
+
+OnInit:
+ .@npcId = getnpcid(0, .name$);
+ setunitdata(.@npcId, UDT_HEADTOP, CenturionHelmet);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, SaviorArmor);
+ setunitdata(.@npcId, UDT_HEADBOTTOM, TulimsharGuardBoots);
+ setunitdata(.@npcId, UDT_WEAPON, BromenalPants);
+ setunitdata(.@npcId, UDT_HAIRSTYLE, 1);
+ setunitdata(.@npcId, UDT_HAIRCOLOR, 1);
+ npcsit;
+
+ .sex = G_OTHER;
+ .distance = 5;
+ end;
+}
+
diff --git a/npc/_import.txt b/npc/_import.txt
index 9cc591305..3bc5db5a5 100644
--- a/npc/_import.txt
+++ b/npc/_import.txt
@@ -75,6 +75,7 @@
@include "npc/016-1/_import.txt"
@include "npc/016-6/_import.txt"
@include "npc/016-7/_import.txt"
+@include "npc/017-1/_import.txt"
@include "npc/029-1/_import.txt"
@include "npc/029-2/_import.txt"
@include "npc/boss/_import.txt"