From 67de284598628fc22ad9e3f9e8d885ffae39ad02 Mon Sep 17 00:00:00 2001 From: Bela Mezo Date: Sun, 1 Mar 2026 10:51:35 +0100 Subject: [PATCH] Add the office background. --- impostor.inc | 1 + inc/map/map.office.lua | 9 +++++++++ inc/screen/screen.home.lua | 2 +- inc/screen/screen.office.lua | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 inc/map/map.office.lua diff --git a/impostor.inc b/impostor.inc index 4dd1c2c..ab69e62 100644 --- a/impostor.inc +++ b/impostor.inc @@ -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 diff --git a/inc/map/map.office.lua b/inc/map/map.office.lua new file mode 100644 index 0000000..42a7202 --- /dev/null +++ b/inc/map/map.office.lua @@ -0,0 +1,9 @@ +Map.register({ + id = "office", + from_x = 60, + from_y = 0, + width = 30, + height = 17, + to_x = 0, + to_y = 0, +}) \ No newline at end of file diff --git a/inc/screen/screen.home.lua b/inc/screen/screen.home.lua index 49d2bda..a801ec1 100644 --- a/inc/screen/screen.home.lua +++ b/inc/screen/screen.home.lua @@ -5,5 +5,5 @@ Screen.register({ "go_to_toilet", "go_to_walking_to_office", }, - background = "bedroom", + background = "bedroom" }) diff --git a/inc/screen/screen.office.lua b/inc/screen/screen.office.lua index 3d5320c..b7a0102 100644 --- a/inc/screen/screen.office.lua +++ b/inc/screen/screen.office.lua @@ -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" })