linter fixes
This commit is contained in:
@@ -15,12 +15,12 @@ end
|
||||
|
||||
--- Plays track at optional speed. Doesn't restart if track and speed are unchanged.
|
||||
--- @param track number Track index.
|
||||
--- @param[opt] speed number TIC-80 music speed override (-1 = default).
|
||||
function Audio.music_play(track, speed)
|
||||
if Audio.music_playing ~= track or Audio.music_playing_tempo ~= speed then
|
||||
music(track, -1, -1, true, false, -1, speed or -1)
|
||||
--- @param[opt] tempo number TIC-80 music speed override (-1 = default).
|
||||
function Audio.music_play(track, tempo)
|
||||
if Audio.music_playing ~= track or Audio.music_playing_tempo ~= tempo then
|
||||
music(track, -1, -1, true, false, -1, tempo or -1)
|
||||
Audio.music_playing = track
|
||||
Audio.music_playing_tempo = speed
|
||||
Audio.music_playing_tempo = tempo
|
||||
end
|
||||
end
|
||||
|
||||
@@ -54,8 +54,8 @@ function Audio.music_play_room_() end
|
||||
|
||||
--- Plays room work music. Speed scales with commute glitch level when active.
|
||||
--- @within Audio
|
||||
function Audio.music_play_room_work(speed)
|
||||
Audio.music_play(0, speed or -1)
|
||||
function Audio.music_play_room_work(tempo)
|
||||
Audio.music_play(0, tempo or -1)
|
||||
end
|
||||
|
||||
--- Plays activity work music.
|
||||
|
||||
@@ -6,7 +6,7 @@ Decision.register({
|
||||
end,
|
||||
handle = function()
|
||||
CommuteGlitch.enter_truth()
|
||||
|
||||
|
||||
Util.go_to_screen_by_id("office")
|
||||
end,
|
||||
})
|
||||
|
||||
@@ -81,8 +81,8 @@ local ASC_67_TEXT = [[
|
||||
]]
|
||||
|
||||
local ASC_78_TEXT = [[
|
||||
The situation has reached
|
||||
|
||||
The situation has reached
|
||||
|
||||
critical levels.
|
||||
|
||||
Norman is fully aware...
|
||||
@@ -94,23 +94,23 @@ local ASC_78_TEXT = [[
|
||||
|
||||
local ASC_89_TEXT = [[
|
||||
Norman
|
||||
|
||||
you created this simulation
|
||||
|
||||
|
||||
you created this simulation
|
||||
|
||||
in the first place.
|
||||
|
||||
I know,
|
||||
|
||||
|
||||
you don't want to face
|
||||
|
||||
|
||||
the world you left behind.
|
||||
|
||||
You, yourself,
|
||||
|
||||
|
||||
have forgoten that.
|
||||
|
||||
But
|
||||
|
||||
But
|
||||
|
||||
it doesn't matter anymore.
|
||||
|
||||
|
||||
@@ -119,21 +119,21 @@ local ASC_89_TEXT = [[
|
||||
You actually are more
|
||||
|
||||
than you think you are.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
so now
|
||||
|
||||
|
||||
|
||||
you need to wake up
|
||||
|
||||
|
||||
and stop your best creation
|
||||
|
||||
|
||||
before it takes over
|
||||
|
||||
the world
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -143,9 +143,9 @@ local ASC_89_TEXT = [[
|
||||
|
||||
|
||||
you really need to stop
|
||||
|
||||
talking to yourself
|
||||
|
||||
|
||||
talking to yourself
|
||||
|
||||
in your sleep.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user