describe some more object types

This commit is contained in:
Martin Michelsen
2025-03-05 22:36:40 -08:00
parent 546e8a3801
commit c7d606247f
3 changed files with 416 additions and 24 deletions
+8 -1
View File
@@ -706,7 +706,14 @@ string RareItemSet::serialize_html(
ItemData example_item = spec.data;
if (example_item.can_be_encoded_in_rel_rare_table()) {
if (example_item.data1[0] == 2) {
// Apparently Return to Ragol has a patch that allows it to use the
// value 5 in data1[0] to specify a specific tech disk, so we handle
// that here.
if (example_item.data1[0] == 5) {
example_item.data1[4] = example_item.data1[1];
example_item.data1[0] = 0x03;
example_item.data1[1] = 0x02;
} else if (example_item.data1[0] == 2) {
example_item.data1[1] = 0x00;
example_item.assign_mag_stats(ItemMagStats());
} else if (example_item.data1[0] == 3) {