function run_event(name)
|
|
print("run " .. name)
|
|
if(name == "archivist") then
|
|
Business.fetch_add(10)
|
|
elseif(name == "reset") then
|
|
Business.fetch_add(-Business.fetch_add(0))
|
|
else
|
|
Business.fetch_add(1)
|
|
end
|
|
end
|
|
|
|
function display_event(name)
|
|
print("display " .. name)
|
|
return tostring(Business.fetch_add(0))
|
|
end
|