Adapting for web
This commit is contained in:
1 parent
a9f4025333
commit
a4032d769e
23 files changed
+2350
-393390
No files matched your search
@@ -304,7 +304,7 @@ function on_teachers_door_click()
|
||||
game_api.fade_object("Room_Cover_South_3_001", 0, 0.5, function()
|
||||
game_api.deactivate_interactive_object("Room_Cover_South_3_001")
|
||||
end)
|
||||
game_api.switch_navigation(16)
|
||||
game_api.switch_navigation(11)
|
||||
elseif (morning_did_open_door_index == 2) then
|
||||
--s2 + s3
|
||||
|
||||
@@ -467,22 +467,6 @@ function on_n2_door_click()
|
||||
game_api.start_dialogue("door_dialog001")
|
||||
end
|
||||
end
|
||||
|
||||
--[[
|
||||
if (morning_can_open_door_index == 4) then
|
||||
if (morning_did_open_door_index == 0) then
|
||||
morning_did_open_door_index = 4
|
||||
game_api.start_dialogue("door_unlock_dialog001")
|
||||
|
||||
game_api.rotate_object("Room_N_1_Leaf001", -90, 0.5, nil)
|
||||
game_api.fade_object("Room_Cover_Corridor_001", 0, 0.5, function()
|
||||
game_api.deactivate_interactive_object("Room_Cover_Corridor_001")
|
||||
end)
|
||||
game_api.switch_navigation(11)
|
||||
end
|
||||
else
|
||||
game_api.start_dialogue("door_dialog001")
|
||||
end]]
|
||||
end
|
||||
|
||||
function on_teacher_arrived()
|
||||
@@ -557,7 +541,7 @@ function on_sleep_cutscene()
|
||||
game_api.set_night()
|
||||
--game_api.set_trigger_zone_enabled(1, false)
|
||||
game_api.set_npc_enabled(0, false)
|
||||
game_api.switch_navigation(17)
|
||||
game_api.switch_navigation(16)
|
||||
game_api.set_object_rotation("Room_N_2_Leaf001", 0)
|
||||
game_api.set_object_rotation("Hall_Leaf001", 0)
|
||||
game_api.set_object_rotation("Room_S_2_Leaf001", 0)
|
||||
@@ -848,7 +832,7 @@ function setDay1MorningSetup()
|
||||
game_api.deactivate_interactive_object("Room_Cover_South_1_001")
|
||||
game_api.set_object_rotation("Room_S_0_Leaf001", 90)
|
||||
if (teacher_door_opened) then
|
||||
game_api.switch_navigation(16)
|
||||
game_api.switch_navigation(11)
|
||||
else
|
||||
game_api.switch_navigation(8)
|
||||
end
|
||||
@@ -871,7 +855,7 @@ function setDay1MorningSetup()
|
||||
if (teacher_door_opened) then
|
||||
game_api.switch_navigation(14)
|
||||
else
|
||||
game_api.switch_navigation(11)
|
||||
game_api.switch_navigation(0)
|
||||
end
|
||||
elseif morning_did_open_door_index == 5 then
|
||||
game_api.deactivate_interactive_object("Room_Cover_North_3_001")
|
||||
@@ -893,7 +877,7 @@ function setDay1MorningSetup()
|
||||
if (teacher_door_opened) then
|
||||
game_api.switch_navigation(10)
|
||||
else
|
||||
game_api.switch_navigation(17)
|
||||
game_api.switch_navigation(16)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -983,7 +967,7 @@ game_api.set_enter_night_callback(
|
||||
function()
|
||||
game_api.start_dialogue("dialog_video001")
|
||||
setDay1NightSetup()
|
||||
game_api.switch_navigation(17)
|
||||
game_api.switch_navigation(16)
|
||||
end
|
||||
)
|
||||
|
||||
@@ -1084,7 +1068,7 @@ function on_aiperi_opens_door()
|
||||
end)
|
||||
game_api.switch_navigation(14)
|
||||
else
|
||||
game_api.switch_navigation(11)
|
||||
game_api.switch_navigation(0)
|
||||
end
|
||||
|
||||
--Aiperi incoming
|
||||
@@ -1134,7 +1118,7 @@ function on_aiperi_opens_door()
|
||||
game_api.fade_object("Room_Cover_South_3_001", 0, 0.5, function()
|
||||
game_api.deactivate_interactive_object("Room_Cover_South_3_001")
|
||||
end)
|
||||
game_api.switch_navigation(16)
|
||||
game_api.switch_navigation(11)
|
||||
else
|
||||
game_api.switch_navigation(8)
|
||||
end
|
||||
@@ -1189,7 +1173,7 @@ game_api.set_location_callbacks(
|
||||
elseif (game_api.is_night()) then
|
||||
print("entered night setup")
|
||||
setDay1NightSetup()
|
||||
game_api.switch_navigation(17)
|
||||
game_api.switch_navigation(16)
|
||||
else
|
||||
print("entered day setup")
|
||||
setDay1setup()
|
||||
|
||||
Reference in new issue
Block a user