diff options
author | Your Name <you@example.com> | 2023-11-21 16:26:34 -0500 |
---|---|---|
committer | Your Name <you@example.com> | 2023-11-21 16:26:34 -0500 |
commit | 0d32e0d3342ef2455014c8e1164977c816763317 (patch) | |
tree | 0e0a445332accf0eda8f23fe586f614844bee463 /src/item.h | |
parent | 5678a600b7d1ec4e79724258dfefe45a49258ea3 (diff) | |
download | dmtool-0d32e0d3342ef2455014c8e1164977c816763317.tar.gz dmtool-0d32e0d3342ef2455014c8e1164977c816763317.tar.bz2 dmtool-0d32e0d3342ef2455014c8e1164977c816763317.zip |
Added rudimentary item creation
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,7 +12,9 @@ namespace entry { static std::shared_ptr<Item> 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; |