From d13358b71ec15085f2638fd9c3fc634df62dfc94 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 9 May 2021 13:56:46 -0400 Subject: Reduced dependency on json-related hacks --- src/creature_data.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/creature_data.h (limited to 'src/creature_data.h') diff --git a/src/creature_data.h b/src/creature_data.h new file mode 100644 index 0000000..151a84c --- /dev/null +++ b/src/creature_data.h @@ -0,0 +1,28 @@ +namespace creatue { + struct Creature_Data { + std::string givenName; + int hpMax; + int hp; + std::vector> inventory; + std::map stats; + std::map skills; + int proficiency; + std::string size; + std::string alignment; + int hdCount; + int hdSides; + std::string speed; + std::vector saves; + std::vector senses; + std::string langs; + double cr; + bool observant; + std::string natArmorName; + int natArmorBonus; + std::vector dmgImmunities; + std::vector dmgResistances; + std::vector dmgVulnerabilities; + std::vector condImmunities; + std::vector> features; + }; +} -- cgit v1.2.3