Fix faster planets (real)
This commit is contained in:
parent
50d35bbb4a
commit
bb2b87fad6
2 changed files with 7 additions and 6 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.9.48",
|
"version": "2.9.49",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
|
|
@ -61,16 +61,17 @@ function G.FUNCS.use_card(e, ...)
|
||||||
return orig_use_card(e, ...)
|
return orig_use_card(e, ...)
|
||||||
end
|
end
|
||||||
|
|
||||||
local normal = ref.area ~= G.pack_cards or not G.GAME.pack_choices or G.GAME.pack_choices <= 0
|
local normal = G.STATE == G.STATES.SHOP or
|
||||||
|
ref.area ~= G.pack_cards or
|
||||||
|
not G.GAME.pack_choices or
|
||||||
|
G.GAME.pack_choices <= 0
|
||||||
|
|
||||||
ref.from_area = ref.from_area or ref.area
|
ref.from_area = ref.from_area or ref.area
|
||||||
play_sound("tarot1", percent, 0.6)
|
play_sound("tarot1", percent, 0.6)
|
||||||
discover_card(ref.config.center)
|
discover_card(ref.config.center)
|
||||||
ref:use_consumeable(ref.area)
|
ref:use_consumeable(ref.area)
|
||||||
SMODS.calculate_context {area = ref.area, consumeable = ref, using_consumeable = true}
|
SMODS.calculate_context {area = ref.area, consumeable = ref, using_consumeable = true}
|
||||||
|
|
||||||
q(function()
|
|
||||||
ref:remove()
|
ref:remove()
|
||||||
end)
|
|
||||||
|
|
||||||
if normal then
|
if normal then
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue