SE3-TTSDeck/resources/ttsdeck/TTSJson.js

16 lines
323 B
JavaScript
Raw Permalink Normal View History

// 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,
};
};