2021-09-29 18:05:58 -04:00
|
|
|
// Helper functions for Tabletop Simulator JSON output
|
|
|
|
|
|
|
|
exports.makeSavedObjectJSON = function makeSavedObjectJSON(objects, save_name) {
|
|
|
|
return {
|
2022-06-05 21:36:47 -04:00
|
|
|
SaveName: save_name || "",
|
2021-09-29 18:05:58 -04:00
|
|
|
GameMode: "",
|
|
|
|
Date: "",
|
|
|
|
Table: "",
|
|
|
|
Sky: "",
|
|
|
|
Note: "",
|
|
|
|
Rules: "",
|
|
|
|
PlayerTurn: "",
|
|
|
|
ObjectStates: objects,
|
|
|
|
};
|
|
|
|
};
|