|
|
@ -2,12 +2,14 @@ function run_event(name) |
|
|
|
print("run " .. name) |
|
|
|
if(name == "archivist") then |
|
|
|
Business.fetch_add(10) |
|
|
|
else |
|
|
|
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 Business.fetch_add(0) |
|
|
|
return tostring(Business.fetch_add(0)) |
|
|
|
end |