public static bool TryLoot(this ILockable lockable, Character chr) { if (!lockable.CanOpen(chr)) { return(false); } LockEntry.Loot(lockable, chr); return(true); }
public static bool TryLoot(this ILockable lockable, Character chr) { if (CanOpen(lockable, chr)) { // just open it LockEntry.Loot(lockable, chr); return(true); } return(false); }