Locked chests and large boxes contain more items

This commit is contained in:
Pasi Kallinen
2017-11-01 15:38:44 +02:00
parent f19752fc32
commit 089863088e
2 changed files with 3 additions and 2 deletions

View File

@@ -266,10 +266,10 @@ struct obj *box;
n = 20;
break;
case CHEST:
n = 5;
n = box->olocked ? 7 : 5;
break;
case LARGE_BOX:
n = 3;
n = box->olocked ? 5 : 3;
break;
case SACK:
case OILSKIN_SACK: