Increase player equipment size to 6x6
This commit is contained in:
BIN
data.mv.db
BIN
data.mv.db
Binary file not shown.
@@ -8,7 +8,8 @@ import lombok.NonNull;
|
|||||||
import org.joml.Vector2i;
|
import org.joml.Vector2i;
|
||||||
|
|
||||||
public class Player extends Creature {
|
public class Player extends Creature {
|
||||||
private final Item[] equipment = new Item[4 * 4];
|
public static final int EQUIPMENT_SIZE = 6 * 6;
|
||||||
|
private final Item[] equipment = new Item[EQUIPMENT_SIZE];
|
||||||
private int interactionCooldown = 0;
|
private int interactionCooldown = 0;
|
||||||
|
|
||||||
public Player(@NonNull Character entity) {
|
public Player(@NonNull Character entity) {
|
||||||
|
|||||||
@@ -27,7 +27,27 @@
|
|||||||
<demo:ItemIconView ref="ammo" placeholder="Generic,8,10" margin="5f"/>
|
<demo:ItemIconView ref="ammo" placeholder="Generic,8,10" margin="5f"/>
|
||||||
</base:VGridOptionChoice>
|
</base:VGridOptionChoice>
|
||||||
|
|
||||||
<base:VGridOptionChoice ref="inventory" columns="4" width="auto" height="auto">
|
<base:VGridOptionChoice ref="inventory" columns="6" width="auto" height="auto">
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
<demo:ItemIconView margin="5f"/>
|
||||||
<demo:ItemIconView margin="5f"/>
|
<demo:ItemIconView margin="5f"/>
|
||||||
<demo:ItemIconView margin="5f"/>
|
<demo:ItemIconView margin="5f"/>
|
||||||
<demo:ItemIconView margin="5f"/>
|
<demo:ItemIconView margin="5f"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user