summaryrefslogtreecommitdiff
path: root/npc/055-1/pumpkins.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-09 23:57:58 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-09 23:57:58 -0300
commit8c478bf8fb51cd5637c9c99975031de6e4e608fc (patch)
tree4eb5e81f1ee1e6c4cb929a938ef3cc6a1dab42bc /npc/055-1/pumpkins.txt
parent9bac6d61789ab31e90cc8217b5ac34da124f7cdb (diff)
downloadserverdata-8c478bf8fb51cd5637c9c99975031de6e4e608fc.tar.gz
serverdata-8c478bf8fb51cd5637c9c99975031de6e4e608fc.tar.bz2
serverdata-8c478bf8fb51cd5637c9c99975031de6e4e608fc.tar.xz
serverdata-8c478bf8fb51cd5637c9c99975031de6e4e608fc.zip
Remove some possibly broken stuff. Hopefully now only shops/magic/warps broken
Diffstat (limited to 'npc/055-1/pumpkins.txt')
-rwxr-xr-xnpc/055-1/pumpkins.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/npc/055-1/pumpkins.txt b/npc/055-1/pumpkins.txt
index 8fc25eb3..d4c6150a 100755
--- a/npc/055-1/pumpkins.txt
+++ b/npc/055-1/pumpkins.txt
@@ -66,11 +66,8 @@ OnAppear:
L_Destroy:
disablenpc strnpcinfo(0); // makes the npc invisible, unclickable
- addnpctimer .death_t, strnpcinfo(0) + "::OnReallyDestroy"; // schedule a respawn
- end;
-
-OnReallyDestroy:
- set .nodes[.i], get(.nodes[.i], "_N-Pumpkin") - 1, "_N-Pumpkin"; // tell the puppeteer we lost an egg
+ sleep(.death_t);
+ set(getvariableofnpc(.nodes[.i], "_N-Pumpkin"), get(.nodes[.i], "_N-Pumpkin") - 1); // tell the puppeteer we lost an egg
destroy;