Merge pull request 'Add the office background.' (#25) from feature/task22_programming_office into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Reviewed-on: #25
This commit is contained in:
2026-03-01 09:52:03 +00:00
committed by Zsolt Tasnadi
11 changed files with 30 additions and 6 deletions

11
inc/system/system.day.lua Normal file
View File

@@ -0,0 +1,11 @@
local _day_increase_handlers = {}
function Day.increase()
Context.day_count = Context.day_count + 1
for _, handler in ipairs(_day_increase_handlers) do
handler()
end
end
function Day.register_handler(handler)
table.insert(_day_increase_handlers, handler)
end