made item buyable

This commit is contained in:
2025-12-12 16:33:05 +01:00
parent 484abf4f9b
commit eb2c435671
15 changed files with 352 additions and 86 deletions

View File

@@ -19,6 +19,8 @@ public class PotionObj extends Entity {
name = "Red Potion";
down1 = initEntitySprites("objects/potion_red");
description = "[" + name + "]\nHeals your life by " + value + ".";
price = 50;
}
public void use(Entity entity) {