mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
The Witness: Make location order in the spoiler log deterministic (#3895)
* Fix location order * Update worlds/witness/data/static_logic.py Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> --------- Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
This commit is contained in:
@@ -106,6 +106,7 @@ class StaticWitnessLogicObj:
|
||||
"entityType": location_id,
|
||||
"locationType": None,
|
||||
"area": current_area,
|
||||
"order": len(self.ENTITIES_BY_HEX),
|
||||
}
|
||||
|
||||
self.ENTITIES_BY_NAME[self.ENTITIES_BY_HEX[entity_hex]["checkName"]] = self.ENTITIES_BY_HEX[entity_hex]
|
||||
@@ -186,6 +187,7 @@ class StaticWitnessLogicObj:
|
||||
"entityType": entity_type,
|
||||
"locationType": location_type,
|
||||
"area": current_area,
|
||||
"order": len(self.ENTITIES_BY_HEX),
|
||||
}
|
||||
|
||||
self.ENTITY_ID_TO_NAME[entity_hex] = full_entity_name
|
||||
|
||||
Reference in New Issue
Block a user