Mainly dialogues are completed

This commit is contained in:
Vladislav Khorev committed 2026-07-05 17:01:56 +03:00
1 parent 2d8f80b675
commit bd994a8690
14 files changed
+5009 -1115

No files matched your search

+13
View File
@@ -32,6 +32,10 @@ function on_container_clicked()
end
end
function on_car_clicked()
game_api.start_dialogue("dialog_car001")
end
function dialog_contaier002_get_coursework()
game_api.pickup_item("coursework")
game_api.quest_set_objective_completed("ghost_coursework", "ghost_coursework_find")
@@ -66,6 +70,15 @@ game_api.set_location_callbacks(
local hp = game_api.getFloatValue("player_hp")
game_api.set_player_hp(hp)
game_api.set_teleport_active(0, false)
if (game_api.is_night()) then
game_api.deactivate_interactive_object("car001")
game_api.deactivate_interactive_object("car001wheels")
game_api.switch_navigation(1)
else
game_api.activate_interactive_object("car001")
game_api.activate_interactive_object("car001wheels")
game_api.switch_navigation(0)
end
end,
function()
print("Exit location uni exterior")