I am trying to make a mod, but I am not sure exactly what to put inside the main .js file. I have the .json file setup but I don’t know what the correct format is for the .js.
This is in the modsModScript.js (The main script). All I have in the ModsMod folder is the .json and the .js.
GDT.addTopics([
{
id: "Sandbox",
name: "Sandbox".localize("game topic"),
genreWeightings: [0.7, 1, 1, 0.7, 0.7, 0.7],
audienceWeightings: [0.9, 1, 0.9]
}
]);