Skip to content

Commit b53e6ca

Browse files
committed
Fixed treasure chest not decaying in /pkg/skills/lockpicking/use/pickLock.src.
Removed lockpicking.src as it is no longer used by lock picks.
1 parent 6f58702 commit b53e6ca

2 files changed

Lines changed: 1 addition & 164 deletions

File tree

pkg/skills/lockpicking/lockpicking.src

Lines changed: 0 additions & 164 deletions
This file was deleted.

pkg/skills/lockpicking/use/pickLock.src

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ function PickTreasureChest(me, lockpick, chest)
125125
PlaySoundEffect(chest,SFX_200);
126126
PrintTextAbovePrivate(chest,"*Unlocked!*",me);
127127
chest.locked := 0;
128+
chest.movable := 1;
128129
SetObjProperty(chest,"DestroyAt", (ReadGameClock() + DESTROY_TREASURE_CHEST));
129130
start_script(":treasuremap:destroyTimer", chest);
130131
PrintTextAbove(chest,"The chest will collapse after "+(DESTROY_TREASURE_CHEST / 60)+" minutes");

0 commit comments

Comments
 (0)