support extended attributes in json rare tables

This commit is contained in:
Martin Michelsen
2024-03-07 20:52:40 -08:00
parent 0e3df10fc0
commit 4a8415308e
8 changed files with 132 additions and 95 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class RareItemSet {
public:
struct ExpandedDrop {
uint32_t probability = 0;
parray<uint8_t, 3> item_code;
ItemData data;
std::string str() const;
std::string str(std::shared_ptr<const ItemNameIndex> name_index) const;