26 lines
365 B
Lua
26 lines
365 B
Lua
local savegen = {}
|
|
|
|
function savegen:new()
|
|
|
|
local save = {}
|
|
|
|
save.settings = {}
|
|
save.settings.eid = true
|
|
save.settings.visual = true
|
|
save.settings.showonblind = false
|
|
save.settings.maxid = 732
|
|
|
|
save.seen = {}
|
|
for i=1, save.settings.maxid do
|
|
save.seen[i] = false
|
|
end
|
|
|
|
function save:touch(id)
|
|
self.seen[id] = true
|
|
end
|
|
|
|
return save
|
|
end
|
|
|
|
return savegen
|