summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-25 21:16:21 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-25 21:16:21 -0300
commit207a123ed02ac9bbbc35172b4a048afa1e70cfe4 (patch)
treee681ee6e09c9dca747e88a7150305fbf5ee790c6
parent9d98eb6903b9784e04a5f02b432b70e893a52677 (diff)
downloadserverdata-207a123ed02ac9bbbc35172b4a048afa1e70cfe4.tar.gz
serverdata-207a123ed02ac9bbbc35172b4a048afa1e70cfe4.tar.bz2
serverdata-207a123ed02ac9bbbc35172b4a048afa1e70cfe4.tar.xz
serverdata-207a123ed02ac9bbbc35172b4a048afa1e70cfe4.zip
Add 5 more crocotrees at Tulimshar - Manaplus fails to understand it well,
but it works in a marvellous way. I'm so proud of myself! ^.^
-rw-r--r--db/re/mob_db.conf2
-rw-r--r--npc/003-1/town.txt23
2 files changed, 24 insertions, 1 deletions
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index b079c285d..d30effa3c 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -486,7 +486,7 @@ mob_db: (
AttackMotion: 672
DamageMotion: 480
SpawnCollisionSize: 0
- SpawnCollisionMask: 1
+ SpawnCollisionMask: 5
Drops: {
Croconut: 2100
Croconut: 600
diff --git a/npc/003-1/town.txt b/npc/003-1/town.txt
index 9b99ca1ff..2dfd2ed72 100644
--- a/npc/003-1/town.txt
+++ b/npc/003-1/town.txt
@@ -7,3 +7,26 @@
003-1,60,157,0 script #LocTulim NPC_HIDDEN,4,0,{
LOCATION$="Tulim"; end;
}
+
+// Crocotree spawn experiment
+003-1,0,0,0 script #CrocotreeTulim01 NPC_HIDDEN,{
+ end;
+// Spawn the crocotrees
+OnInit:
+ areamonster "003-1", 20, 20, 140, 160, strmobinfo(1, CrocoTree), CrocoTree, 1, .name$+"::OnRespawn";
+ end;
+
+// Script Generated
+OnRespawn:
+ initnpctimer;
+ end;
+OnTimer61000:
+ stopnpctimer;
+ areamonster "003-1", 20, 20, 140, 160, strmobinfo(1, CrocoTree), CrocoTree, 1, .name$+"::OnRespawn";
+ end;
+}
+
+003-1,0,0,0 duplicate(#CrocotreeTulim01) #CrocotreeTulim02 NPC_NO_SPRITE
+003-1,0,0,0 duplicate(#CrocotreeTulim01) #CrocotreeTulim03 NPC_NO_SPRITE
+003-1,0,0,0 duplicate(#CrocotreeTulim01) #CrocotreeTulim04 NPC_NO_SPRITE
+003-1,0,0,0 duplicate(#CrocotreeTulim01) #CrocotreeTulim05 NPC_NO_SPRITE