Working on night and day transition
This commit is contained in:
1 parent
ed8d6f2e92
commit
83b92e9881
6 files changed
+25
No files matched your search
@@ -99,6 +99,7 @@ else
|
||||
game_api.start_cutscene("sleep_cutscene001")
|
||||
game_api.setIntValue("need_sleep", 0)
|
||||
game_api.set_player_hp(200)
|
||||
--game_api.set_day() - done in cutscene
|
||||
end
|
||||
end
|
||||
|
||||
@@ -110,6 +111,11 @@ function on_locked_door_click()
|
||||
game_api.start_dialogue("door_locked_dialog001")
|
||||
end
|
||||
|
||||
function on_sleep_cutscene()
|
||||
print("Cutscene 2 done!")
|
||||
night_time = true
|
||||
game_api.set_day()
|
||||
end
|
||||
|
||||
|
||||
function on_alik_door_click()
|
||||
|
||||
Reference in new issue
Block a user