diff options
author | HoraK-FDF <horak-fdf@web.de> | 2024-03-07 09:13:36 +0100 |
---|---|---|
committer | HoraK-FDF <horak-fdf@web.de> | 2024-04-14 11:16:06 +0200 |
commit | 17f7a3d01d1ef3b45db74c5fec33d06107dbaf6e (patch) | |
tree | b36334af0d033fefe67e97dfa28481e4537780bf /world/map/npc | |
parent | a8213b62e772af5374512a1a28ab6b61df1967a5 (diff) | |
download | serverdata-17f7a3d01d1ef3b45db74c5fec33d06107dbaf6e.tar.gz serverdata-17f7a3d01d1ef3b45db74c5fec33d06107dbaf6e.tar.bz2 serverdata-17f7a3d01d1ef3b45db74c5fec33d06107dbaf6e.tar.xz serverdata-17f7a3d01d1ef3b45db74c5fec33d06107dbaf6e.zip |
silver bell sound
Diffstat (limited to 'world/map/npc')
-rw-r--r-- | world/map/npc/items/rubber_bat.txt | 2 | ||||
-rw-r--r-- | world/map/npc/items/silver_bell.txt | 12 | ||||
-rw-r--r-- | world/map/npc/scripts.conf | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/world/map/npc/items/rubber_bat.txt b/world/map/npc/items/rubber_bat.txt index 9eb3725d..0bf80ede 100644 --- a/world/map/npc/items/rubber_bat.txt +++ b/world/map/npc/items/rubber_bat.txt @@ -7,7 +7,7 @@ function|script|rubberBat L_Return: getitem "RubberBat", 1; - debugmes "Check"; +// debugmes "Check"; if ($DOOMSDAY == 3) addtimer 10, "#TMWFinalExam::OnRubberBat"; return; diff --git a/world/map/npc/items/silver_bell.txt b/world/map/npc/items/silver_bell.txt new file mode 100644 index 00000000..69efca61 --- /dev/null +++ b/world/map/npc/items/silver_bell.txt @@ -0,0 +1,12 @@ +function|script|SilverBellSound +{ + if (gettimetick(2) - @lastsilverbell < 20) goto L_Return; + misceffect 402; // TODO: Make a quieter version of the ship's bell + set @lastsilverbell, gettimetick(2); + goto L_Return; + +L_Return: + getitem "SilverBell", 1; +// debugmes "Check"; + return; +} diff --git a/world/map/npc/scripts.conf b/world/map/npc/scripts.conf index 46dad1e0..47a79415 100644 --- a/world/map/npc/scripts.conf +++ b/world/map/npc/scripts.conf @@ -60,6 +60,7 @@ npc: npc/items/nobow_item.txt npc: npc/items/love_potion.txt npc: npc/items/manapearl_item.txt npc: npc/items/underworld_troll.txt +npc: npc/items/silver_bell.txt // Mob Functions npc: npc/mobs/mob_points.txt |