From 0d32e0d3342ef2455014c8e1164977c816763317 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 21 Nov 2023 16:26:34 -0500 Subject: Added rudimentary item creation --- src/item.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index e8a40b9..33e6718 100644 --- a/src/item.h +++ b/src/item.h @@ -12,7 +12,9 @@ namespace entry { static std::shared_ptr create(const nlohmann::json& data); virtual ~Item() {} virtual int getCost(void) const; + virtual void setCost(int cost); virtual double getWeight(void) const; + virtual void setWeight(double weight); virtual std::string getCostWeightText() const; virtual std::string getText() const override; virtual std::string getText(const creature::Creature& c) const override; -- cgit v1.2.3