summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-02-14 22:42:46 -0200
committerjesusalva <cpntb1@ymail.com>2018-02-14 22:42:46 -0200
commitf5c75114fec105dc6452ee5d34e0eca8ec2c1e6c (patch)
treec24ee49ed60bbfa809f075b612db923c15c65bd7
parent9d02df7fa39c6666fad8dc8897fc5359f9a017f5 (diff)
downloadserverdata-f5c75114fec105dc6452ee5d34e0eca8ec2c1e6c.tar.gz
serverdata-f5c75114fec105dc6452ee5d34e0eca8ec2c1e6c.tar.bz2
serverdata-f5c75114fec105dc6452ee5d34e0eca8ec2c1e6c.tar.xz
serverdata-f5c75114fec105dc6452ee5d34e0eca8ec2c1e6c.zip
Give Tulim a Soul Menhir
-rw-r--r--db/constants.conf2
-rw-r--r--npc/003-1/_import.txt3
-rw-r--r--npc/003-1/ched.txt4
-rw-r--r--npc/003-1/soul-menhir.txt20
4 files changed, 25 insertions, 4 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 8430bcd26..2a8d702bb 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3947,7 +3947,7 @@ constants_db: {
NPC_GUARD1: 451
NPC_SOUL_NORMAL: 700
- NPC_SOUL_YELLOW: 701
+ NPC_SOUL_DESERT: 701
NPC_SOUL_SNOW: 702
NPC_SOUL_CAVE: 703
NPC_SOUL_CLEAN: 704
diff --git a/npc/003-1/_import.txt b/npc/003-1/_import.txt
index 0d105dac2..7bc166945 100644
--- a/npc/003-1/_import.txt
+++ b/npc/003-1/_import.txt
@@ -24,9 +24,10 @@
"npc/003-1/sarah.txt",
"npc/003-1/ship.txt",
"npc/003-1/silvia.txt",
+"npc/003-1/soul-menhir.txt",
"npc/003-1/swezanne.txt",
"npc/003-1/tamiloc.txt",
"npc/003-1/tinris.txt",
"npc/003-1/wateranimation.txt",
"npc/003-1/well.txt",
-"npc/003-1/shop.txt", \ No newline at end of file
+"npc/003-1/shop.txt",
diff --git a/npc/003-1/ched.txt b/npc/003-1/ched.txt
index 21fd30590..97a9e685a 100644
--- a/npc/003-1/ched.txt
+++ b/npc/003-1/ched.txt
@@ -5,7 +5,7 @@
// Ched is from a quest.
-003-1,40,49,0 script Ched NPC_PLAYER,{
+003-1,62,48,0 script Ched NPC_PLAYER,{
hello;
@@ -13,7 +13,7 @@
OnInit:
.@npcId = getnpcid(0, "Ched");
setunitdata(.@npcId, UDT_HEADTOP, 2929);
- setunitdata(.@npcId, UDT_HEADMIDDLE, 1314);
+ setunitdata(.@npcId, UDT_HEADMIDDLE, 1316);
setunitdata(.@npcId, UDT_HEADBOTTOM, 2204);
setunitdata(.@npcId, UDT_WEAPON, 1803); // Boots
setunitdata(.@npcId, UDT_HAIRSTYLE, 7);
diff --git a/npc/003-1/soul-menhir.txt b/npc/003-1/soul-menhir.txt
new file mode 100644
index 000000000..f4e792604
--- /dev/null
+++ b/npc/003-1/soul-menhir.txt
@@ -0,0 +1,20 @@
+// TMW2 scripts.
+// Author:
+// Jesusalva
+// Description:
+// Soul Menhir
+
+003-1,40,48,0 script Soul Menhir#tulim NPC_SOUL_DESERT,{
+ @map$ = "003-1";
+ setarray @Xs, 40, 41, 40;
+ setarray @Ys, 49, 49, 49;
+ @x = 0;
+ @y = 0;
+ callfunc "SoulMenhir";
+ @map$ = "";
+ cleararray @Xs[0], 0, getarraysize(@Xs);
+ cleararray @Ys[0], 0, getarraysize(@Ys);
+ @x = 0;
+ @y = 0;
+ close;
+}