subchannel13 / Stareater

4X turn based strategy
GNU General Public License v3.0
32 stars 7 forks source link

Save static data with string code instead of ordinal number #145

Closed subchannel13 closed 5 years ago

subchannel13 commented 5 years ago

Static data that is only referenced but not saved in save game data were until now referenced by made up ordinal number. Process of assigning a number to an object is highly sensitive to content change and results with incompatible save data. Adding new technologies or rearranging old ones is very likely to change which number is assigned to which technology. This is rather inconvenient for development and modding where changes should be tested on previously set up game situation.