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
+1
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 charisma affects the leeway in demon lord bribes
make Vlad slightly tougher make Vlad slightly tougher
reduce the amount of gold laying on the floor 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 Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
+2 -2
View File
@@ -266,10 +266,10 @@ struct obj *box;
n = 20; n = 20;
break; break;
case CHEST: case CHEST:
n = 5; n = box->olocked ? 7 : 5;
break; break;
case LARGE_BOX: case LARGE_BOX:
n = 3; n = box->olocked ? 5 : 3;
break; break;
case SACK: case SACK:
case OILSKIN_SACK: case OILSKIN_SACK: