Working on navigation
This commit is contained in:
1 parent
e1a191634c
commit
26f596a149
27 files changed
+131009
-27
No files matched your search
@@ -186,6 +186,7 @@ function on_npc_interact(npc_index)
|
||||
end
|
||||
else
|
||||
game_api.start_dialogue("dialog_with_ghost001")
|
||||
--player_ghost_aware = true
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -199,6 +200,7 @@ function on_quest_over()
|
||||
end
|
||||
|
||||
function on_first_ghost_dialog_over()
|
||||
print("on_first_ghost_dialog_over")
|
||||
player_ghost_aware = true
|
||||
end
|
||||
|
||||
@@ -392,6 +394,7 @@ function book_dialog_zone001_enter_callback()
|
||||
print("book_dialog_zone001_enter_callback step 3")
|
||||
if (player_hold_book) and (night_time == false) then
|
||||
print("book_dialog_zone001_enter_callback step 4")
|
||||
game_api.player_stop()
|
||||
game_api.start_dialogue("book_dialog001")
|
||||
game_api.switch_navigation(5)
|
||||
end
|
||||
@@ -611,13 +614,6 @@ game_api.deactivate_interactive_object("Room_Cover_Corridor_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_North_1_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_North_2_001")
|
||||
|
||||
--Debug:
|
||||
game_api.deactivate_interactive_object("Room_Cover_North_3_001")
|
||||
|
||||
game_api.deactivate_interactive_object("Room_Cover_South_1_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_South_2_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_South_3_001")
|
||||
-- Debug end
|
||||
|
||||
game_api.rotate_object("Room_N_1_Leaf001", -90, 0.01, nil)
|
||||
--game_api.set_object_rotation("Room_N_1_Leaf001", -90)
|
||||
@@ -645,14 +641,14 @@ function setDay1setup()
|
||||
game_api.deactivate_interactive_object("Room_Cover_Corridor_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_Main_Hall_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_North_1_001")
|
||||
game_api.activate_interactive_object("Room_Cover_North_2_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_North_2_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_North_3_001")
|
||||
game_api.activate_interactive_object("Room_Cover_South_1_001")
|
||||
game_api.activate_interactive_object("Room_Cover_South_2_001")
|
||||
game_api.deactivate_interactive_object("Room_Cover_South_3_001")
|
||||
|
||||
game_api.set_object_rotation("Room_N_0_Leaf001", 0)
|
||||
game_api.set_object_rotation("Room_N_1_Leaf001", 0)
|
||||
game_api.set_object_rotation("Room_N_1_Leaf001", -90)
|
||||
game_api.set_object_rotation("Room_N_2_Leaf001", -90)
|
||||
game_api.set_object_rotation("Room_S_0_Leaf001", 0)
|
||||
game_api.set_object_rotation("Room_S_1_Leaf001", 0)
|
||||
|
||||
Reference in new issue
Block a user