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

View File

@@ -5,5 +5,5 @@ Screen.register({
"go_to_toilet",
"go_to_walking_to_office",
},
background = "bedroom",
background = "bedroom"
})

View File

@@ -1,7 +1,6 @@
Screen.register({
id = "office",
name = "Office",
background_color = Config.colors.dark_grey,
decisions = {
"play_button_mash",
"play_rhythm",
@@ -12,4 +11,5 @@ Screen.register({
situations = {
"drink_coffee",
},
background = "office"
})

View File

@@ -30,8 +30,7 @@ Screen.register({
local bar_x = math.floor((sw - bar_w) / 2)
local bar_h = 4
-- TODO: Add day counter
Print.text_center("day 1", cx, 10, Config.colors.white)
Print.text_center("day " .. Context.day_count, cx, 10, Config.colors.white)
local narrative = "reflecting on my past and present\n...\nboth eventually flushed."
local wrapped = UI.word_wrap(narrative, 38)