Working on night mode and how player goes in
This commit is contained in:
1 parent
1d3bea452c
commit
9221ab68ac
8 files changed
+550
-274
No files matched your search
@@ -192,6 +192,12 @@ function on_player_door_click()
|
||||
end
|
||||
|
||||
|
||||
game_api.set_enter_night_callback(
|
||||
function()
|
||||
game_api.start_dialogue("dialog_video001")
|
||||
end
|
||||
)
|
||||
|
||||
game_api.set_location_callbacks(
|
||||
function()
|
||||
print("Enter location dorm")
|
||||
@@ -207,14 +213,6 @@ game_api.set_location_callbacks(
|
||||
|
||||
game_api.deactivate_interactive_object("Room_Cover_LivingRoom_W_N_2_001")
|
||||
|
||||
--debug
|
||||
--game_api.deactivate_interactive_object("Room_Cover_Bath_W_N_2_001")
|
||||
|
||||
--game_api.deactivate_interactive_object("Room_Cover_LivingRoom_W_S_2_001")
|
||||
--game_api.deactivate_interactive_object("Room_Cover_Main_Hall_And_Corridors_002")
|
||||
--game_api.deactivate_interactive_object("Room_Cover_Utility_W_N_3_001")
|
||||
--game_api.deactivate_interactive_object("Room_Cover_Utility_W_S_3_001")
|
||||
--debug end
|
||||
game_api.rotate_object("Door_Utility_-1_1_2_Leaf_001", 90, 0.01, nil)
|
||||
game_api.rotate_object("Door_Utility_-1_-1_2_Leaf_001", -90, 0.01, nil)
|
||||
|
||||
|
||||
Reference in new issue
Block a user