space-game001/resources/start_uni_interior.lua
Vladislav Khorev 72e05cdc28 little cleanup
2026-05-09 20:28:25 +03:00

33 lines
773 B
Lua

function lection_hall_zone001_enter_callback()
--game_api.start_dialogue("")
--Start cutscene
end
game_api.set_trigger_zone_callbacks("lection_hall_zone001",
lection_hall_zone001_enter_callback,
nil
)
function knife_dialog_zone001_enter_callback()
print("knife_dialog_zone001_enter_callback--!")
if (not phone_picked_up) or (not journal_picked_up) then
game_api.start_dialogue("knife_dialog001")
game_api.switch_navigation(0)
end
end
function knife_dialog_zone001_exit_callback()
print("knife_dialog_zone001_exit_callback--!")
game_api.switch_navigation(0)
end
game_api.set_trigger_zone_callbacks("knife_dialog_zone001",
knife_dialog_zone001_enter_callback,
knife_dialog_zone001_exit_callback
)
print("Lua script loaded successfully!")