diff --git a/impostor.inc b/impostor.inc index bf7eea1..4dd1c2c 100644 --- a/impostor.inc +++ b/impostor.inc @@ -27,6 +27,7 @@ decision/decision.play_rhythm.lua decision/decision.play_ddr.lua map/map.manager.lua map/map.bedroom.lua +map/map.street.lua screen/screen.manager.lua screen/screen.home.lua screen/screen.toilet.lua diff --git a/inc/map/map.street.lua b/inc/map/map.street.lua new file mode 100644 index 0000000..c6e764b --- /dev/null +++ b/inc/map/map.street.lua @@ -0,0 +1,9 @@ +Map.register({ + id = "street", + from_x = 30, + 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.walking_to_home.lua b/inc/screen/screen.walking_to_home.lua index b6d598a..5c72af7 100644 --- a/inc/screen/screen.walking_to_home.lua +++ b/inc/screen/screen.walking_to_home.lua @@ -1,9 +1,9 @@ Screen.register({ id = "walking_to_home", name = "Walking to home", - background_color = Config.colors.dark_grey, decisions = { "go_to_home", "go_to_office", - } + }, + background = "street" }) diff --git a/inc/screen/screen.walking_to_office.lua b/inc/screen/screen.walking_to_office.lua index 1b7f201..5f28f79 100644 --- a/inc/screen/screen.walking_to_office.lua +++ b/inc/screen/screen.walking_to_office.lua @@ -1,9 +1,9 @@ Screen.register({ id = "walking_to_office", name = "Walking to office", - background_color = Config.colors.dark_grey, decisions = { "go_to_home", "go_to_office", - } + }, + background = "street" })