made item buyable
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user