Add StageAPI.SaveTableMarshal (and StageAPI.SaveTableUnmarshal) to convert some save values to be better handled by json (or handled in general). Handles:
Int tables, to avoid mods having to do it at runtime to prevent big json files
Vectors, are turned into a simple two-item table
StageAPI saves use it, and the function is in the StageAPI table for mods to use too.
Also, improved the triggers for saving data (fixing Genesis teleports), and made shared.Players a metatable thing.
Add
StageAPI.SaveTableMarshal
(andStageAPI.SaveTableUnmarshal
) to convert some save values to be better handled by json (or handled in general). Handles:Also, improved the triggers for saving data (fixing Genesis teleports), and made shared.Players a metatable thing.