fix: Codegens lockable containers and cleans up lockpickable (#976)

This commit is contained in:
Kamron Batman 2022-03-26 21:48:18 -07:00 committed by GitHub
parent fc0594f87c
commit 8f922c94ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 762 additions and 833 deletions

View file

@ -159,7 +159,7 @@ public partial class TreasureMapChest : LockableContainer
if (level == 0)
{
cont.LockLevel = 0;
cont.LockLevel = ILockpickable.CannotPick;
cont.DropItem(new Gold(Utility.RandomMinMax(50, 100)));