little cleanup

This commit is contained in:
Vladislav Khorev committed 2026-05-09 20:28:25 +03:00
1 parent 13ef92160d
commit 72e05cdc28
15 files changed
+323 -197

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
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!")