Module:WorkshopsData

From Against the Storm Official Wiki
Revision as of 01:31, 30 October 2024 by Aeredor (talk | contribs) (Updating to new data model!)

Documentation for this module may be created at Module:WorkshopsData/doc

---@module WorkshopsData
local WorkshopsData = {}


-- Initialize a new instance of the BaseDataModel, configured to load the workshops data
local BaseDataModel = require("Module:BaseDataModel")
local DATA_FILE = "Module:WorkshopsData/Workshops.json"


local workshopsDataModel = BaseDataModel.new(DATA_FILE)


-- Return the instance for workshops data, not this module itself!
return workshopsDataModel