SE3-TTSDeck/resources/ttsdeck/TTSJson.js

16 lines
323 B
JavaScript

// Helper functions for Tabletop Simulator JSON output
exports.makeSavedObjectJSON = function makeSavedObjectJSON(objects, save_name) {
return {
SaveName: save_name || "",
GameMode: "",
Date: "",
Table: "",
Sky: "",
Note: "",
Rules: "",
PlayerTurn: "",
ObjectStates: objects,
};
};