Files
impostor/inc/screen/screen.office.lua
Tari Balázs 6a33be82e9
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- added music and sounds to things
- hooked up ddr logic into game logic
- TODO: "left_only" ddr needs tweak
2026-03-21 23:20:48 +01:00

32 lines
1001 B
Lua

Screen.register({
id = "office",
name = "Office",
decisions = {
"do_work",
"go_to_walking_to_home",
"have_a_coffee",
},
situations = {
"drink_coffee",
},
init = function()
Audio.music_play_room_work()
end,
background = "office",
draw = function()
if Window.get_current_id() == "game" then
Sprite.draw_at("norman", 13 * 8, 9 * 8)
Sprite.draw_at("dev_buddy", 15 * 8, 9 * 8)
Sprite.draw_at("dev_project_manager", 6 * 8, 4 * 8)
Sprite.draw_at("dev_hr_girl", 12 * 8, 4 * 8)
Sprite.draw_at("dev_introvert", -4 + 5 * 8, 9 * 8)
Sprite.draw_at("dev_extrovert", 20 * 8, 4 * 8)
Sprite.draw_at("dev_girl", 23 * 8, 5 * 8)
Sprite.draw_at("dev_boy", 10 * 8, 11 * 8 + 4)
Sprite.draw_at("dev_guru", 22 * 8, 10 * 8 + 4)
Sprite.draw_at("dev_operator", 27 * 8, 10 * 8 + 4)
end
Context.have_been_to_office = true
end
})