diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-09 23:57:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-09 23:57:58 -0300 |
commit | 8c478bf8fb51cd5637c9c99975031de6e4e608fc (patch) | |
tree | 4eb5e81f1ee1e6c4cb929a938ef3cc6a1dab42bc /npc/055-1/pumpkins.txt | |
parent | 9bac6d61789ab31e90cc8217b5ac34da124f7cdb (diff) | |
download | serverdata-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-x | npc/055-1/pumpkins.txt | 7 |
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; |