Add the office background. #25

Merged
mr.three merged 1 commits from feature/task22_programming_office into master 2026-03-01 09:52:03 +00:00
4 changed files with 12 additions and 2 deletions
Showing only changes of commit 67de284598 - Show all commits

View File

@@ -28,6 +28,7 @@ decision/decision.play_ddr.lua
map/map.manager.lua
map/map.bedroom.lua
map/map.street.lua
map/map.office.lua
screen/screen.manager.lua
screen/screen.home.lua
screen/screen.toilet.lua

9
inc/map/map.office.lua Normal file
View File

@@ -0,0 +1,9 @@
Map.register({
id = "office",
from_x = 60,
from_y = 0,
width = 30,
height = 17,
to_x = 0,
to_y = 0,
})

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"
})