added player inventory

This commit is contained in:
2025-11-30 17:06:31 +01:00
parent 46b8c66ff5
commit cfea57e542
9 changed files with 166 additions and 54 deletions

View File

@@ -8,7 +8,8 @@ public class ShieldWoodObj extends Entity {
public ShieldWoodObj(GamePanel panel) {
super(panel);
name = "shield-wood";
name = "Wooden Shield";
description = "[" + name + "]\nAn old shield.\nIt's not that strong but\nit does its job.";
type = EntityType.ITEM;
down1 = initEntitySprites("objects/shield_wood");
defenseValue = 1;