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