summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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