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

@@ -470,6 +470,7 @@ with perm_invent option enabled and no inventory, 'i' put up an empty menu
charisma affects the leeway in demon lord bribes
make Vlad slightly tougher
reduce the amount of gold laying on the floor
locked chests and large boxes contain more stuff
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository

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: