convert shop random sets to JSON

This commit is contained in:
Martin Michelsen
2026-06-06 07:43:06 -07:00
parent efe7401d7b
commit 708d2a9fb0
25 changed files with 6020 additions and 435 deletions
+3 -1
View File
@@ -26,11 +26,13 @@ struct TekkerAdjustmentSet {
std::string serialize_binary(bool big_endian) const;
phosg::JSON json() const;
void print(FILE* stream) const;
static uint8_t favored_weapon_type_for_section_id(uint8_t section_id);
struct Table {
std::unordered_map<int8_t, size_t> probs;
size_t total;
size_t total = 0;
};
std::array<Table, 10> favored_special_delta_table;