Added sounds
This commit is contained in:
1 parent
c6ba8bd008
commit
124208f2a4
26 files changed
+210
-36
No files matched your search
@@ -76,6 +76,7 @@ function on_bed_sleep()
|
||||
local day = game_api.getIntValue("day")
|
||||
game_api.setIntValue("day", day + 1)
|
||||
print("Setting to day 1----x")
|
||||
game_api.play_sound("audio/587036__antoineromo__bed-sheets.ogg")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -85,6 +86,8 @@ end
|
||||
|
||||
function on_locked_door_click()
|
||||
game_api.start_dialogue("door_locked_dialog001")
|
||||
game_api.play_sound("audio/398751__anthousai__door-lock-01.ogg")
|
||||
--game_api.play_sound("audio/702171__foxfire__door-opening.ogg")
|
||||
end
|
||||
|
||||
function on_sleep_cutscene()
|
||||
@@ -118,6 +121,8 @@ function alik_door_open_callback()
|
||||
else
|
||||
game_api.switch_navigation(4) --b
|
||||
end
|
||||
|
||||
game_api.play_sound("audio/702171__foxfire__door-opening.ogg")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -156,6 +161,8 @@ function on_player_bathroom_click()
|
||||
else
|
||||
game_api.switch_navigation(1) --ca
|
||||
end
|
||||
|
||||
game_api.play_sound("audio/702171__foxfire__door-opening.ogg")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -186,7 +193,9 @@ function on_player_door_click()
|
||||
else
|
||||
game_api.switch_navigation(2) --ba
|
||||
end
|
||||
game_api.play_sound("audio/702171__foxfire__door-opening.ogg")
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user