summaryrefslogtreecommitdiff
path: root/world/map/npc/items
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/items')
-rw-r--r--world/map/npc/items/rubber_bat.txt2
-rw-r--r--world/map/npc/items/silver_bell.txt12
2 files changed, 13 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;
+}