Randomize pitch
This commit is contained in:
parent
bebb4e49c0
commit
29c56d7bcc
3 changed files with 14 additions and 6 deletions
|
|
@ -16,5 +16,5 @@
|
||||||
"Bakery (>=3.0.0~*)"
|
"Bakery (>=3.0.0~*)"
|
||||||
],
|
],
|
||||||
"conflicts": [],
|
"conflicts": [],
|
||||||
"version": "1.12.7"
|
"version": "1.12.8"
|
||||||
}
|
}
|
||||||
12
src/back.lua
12
src/back.lua
|
|
@ -669,14 +669,16 @@ function Jane.display_omega_odds()
|
||||||
end
|
end
|
||||||
|
|
||||||
local handy_speed = ((Handy or {}).speed_multiplier or {}).value or 1
|
local handy_speed = ((Handy or {}).speed_multiplier or {}).value or 1
|
||||||
play_sound("jane_pop", 0.75, 1)
|
local pitch = 0.9 + (0.2 * math.random())
|
||||||
play_sound("jane_pop")
|
|
||||||
|
play_sound("jane_pop", pitch * 0.75, 0.75)
|
||||||
|
play_sound("jane_pop", pitch * 1.5, 0.75)
|
||||||
|
|
||||||
Jane.card_status_text(
|
Jane.card_status_text(
|
||||||
nil,
|
nil,
|
||||||
"Omega Cards are now a 1 in " .. number_format(1 / G.GAME.modifiers.omega_replacement),
|
"Omega Cards are now a 1 in " .. number_format(1 / G.GAME.modifiers.omega_replacement),
|
||||||
0,
|
0,
|
||||||
0.0001,
|
0.0005,
|
||||||
G.C.jane_RGB,
|
G.C.jane_RGB,
|
||||||
1.5,
|
1.5,
|
||||||
nil,
|
nil,
|
||||||
|
|
@ -684,8 +686,8 @@ function Jane.display_omega_odds()
|
||||||
nil,
|
nil,
|
||||||
"cm",
|
"cm",
|
||||||
"jane_pop",
|
"jane_pop",
|
||||||
1,
|
0.75,
|
||||||
1.5,
|
pitch,
|
||||||
nil,
|
nil,
|
||||||
nil,
|
nil,
|
||||||
G.SETTINGS.GAMESPEED * handy_speed * 3
|
G.SETTINGS.GAMESPEED * handy_speed * 3
|
||||||
|
|
|
||||||
|
|
@ -333,6 +333,12 @@ local orig_menu = Game.main_menu
|
||||||
|
|
||||||
function Game:main_menu(change_context)
|
function Game:main_menu(change_context)
|
||||||
orig_menu(self, change_context)
|
orig_menu(self, change_context)
|
||||||
|
|
||||||
|
G.ARGS.score_intensity.ambientSurreal1,
|
||||||
|
G.ARGS.score_intensity.ambientSurreal2,
|
||||||
|
G.ARGS.score_intensity.ambientSurreal3,
|
||||||
|
G.ARGS.score_intensity.ambientSurreal4 = 0, 0, 0, 0
|
||||||
|
|
||||||
update_omega_from_collection()
|
update_omega_from_collection()
|
||||||
G.C.BACKGROUND.C[4] = 1
|
G.C.BACKGROUND.C[4] = 1
|
||||||
G.C.BACKGROUND.L[4] = 1
|
G.C.BACKGROUND.L[4] = 1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue