Skip to content
Snippets Groups Projects
Commit 43871359 authored by Julius Fredrik Einum's avatar Julius Fredrik Einum
Browse files

Fixed size of inventory for fixed size good for testing.

parent 5641bc6c
No related branches found
No related tags found
1 merge request!79Ruud1
......@@ -106,7 +106,10 @@ namespace BigSock {
public Character() {
Inventory = new Inventory(this);
Inventory.BackpackCap = 5;
Inventory.BackpackCap = 6;
Inventory.AccessoriesCap = 3;
Inventory.EquipmentCap = 3;
Inventory.ToolsCap = 3;
}
protected virtual void Start() {
......
......@@ -136,7 +136,7 @@ namespace BigSock.Item {
public Character Owner { get; }
public Inventory(Character owner, int backpackCap = 1, int accessoriesCap = 1, int equipmentCap = 1, int toolsCap = 4) {
public Inventory(Character owner, int backpackCap = 1, int accessoriesCap = 1, int equipmentCap = 1, int toolsCap = 1) {
if(owner == null) throw new ArgumentNullException(paramName: nameof(owner));
Owner = owner;
BackpackCap = backpackCap;
......
......@@ -1519,10 +1519,10 @@ TextureImporter:
Bringer-of-Death-SpritSheet_3: -1354585760
Bringer-of-Death-SpritSheet_62: -1981653235
Bringer-of-Death-SpritSheet_32: -758833498
Bringer-of-Death-SpritSheet_6: -2002076032
Bringer-of-Death-SpritSheet_41: 249659269
Bringer-of-Death-SpritSheet_21: -133352305
Bringer-of-Death-SpritSheet_1: 959836911
Bringer-of-Death-SpritSheet_21: -133352305
Bringer-of-Death-SpritSheet_6: -2002076032
Bringer-of-Death-SpritSheet_0: -216419084
Bringer-of-Death-SpritSheet_22: 1421686516
Bringer-of-Death-SpritSheet_20: 1849084138
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment