frnsys / half_earth

Half-Earth Socialism: The Game, for Half-Earth Socialism (Verso 2022)
GNU Affero General Public License v3.0
39 stars 7 forks source link

Fixed ids for projects, processes, and events #175

Closed frnsys closed 2 years ago

frnsys commented 2 years ago

Right now the ids we use for all of these are actually indices, which is convenient but if projects/processes/events are added/deleted then it changes all their ids, making it hard to consistently replay sessions.

We should continue using these index-ids everywhere, but also have an unchanging reference id for the purposes of aligning replay sessions.

We already have this kind of id in the editor data afaik, so it's just a matter of using them in the rust engine and serializing them as part of the log snapshots.