diff options
Diffstat (limited to 'npc/000-2-1/chest.txt')
-rw-r--r-- | npc/000-2-1/chest.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/000-2-1/chest.txt b/npc/000-2-1/chest.txt index 680f9e98..b898ee6b 100644 --- a/npc/000-2-1/chest.txt +++ b/npc/000-2-1/chest.txt @@ -21,7 +21,7 @@ close; l_Give: - if (@q > 1) goto l_Close; + if (@q > 1) goto l_Quit; set @item, 1300; set @count, 2; callfunc "InventoryPlace", @item, @count; @@ -31,16 +31,16 @@ l_Give: getitem "CreasedShorts", 1; message strcharinfo(0), l("You take the clothes from the chest."); -l_Close: - setnpcdir 6; - initnpctimer; - startnpctimer; - close; - OnTimer220: stopnpctimer; if (getnpcdir ("") == 2) setnpcdir 4; if (getnpcdir ("") == 6) setnpcdir 0; end; +l_Quit: + setnpcdir 6; + initnpctimer; + startnpctimer; + close; + } |