Use non-blocking queueing
This commit is contained in:
parent
9813b53ddd
commit
91b6f700cf
3 changed files with 10 additions and 6 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.9.62",
|
"version": "2.9.63",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
10
src/back.lua
10
src/back.lua
|
|
@ -154,13 +154,18 @@ local b_dropship = back {
|
||||||
|
|
||||||
local dropship_tape
|
local dropship_tape
|
||||||
|
|
||||||
q(function()
|
q {
|
||||||
|
blocking = false,
|
||||||
|
no_delete = true,
|
||||||
|
func = function()
|
||||||
dropship_tape = SMODS.create_sprite(0, 0, G.CARD_W, G.CARD_H, extra_atlas, {x = 0, y = 0})
|
dropship_tape = SMODS.create_sprite(0, 0, G.CARD_W, G.CARD_H, extra_atlas, {x = 0, y = 0})
|
||||||
end)
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
SMODS.DrawStep {
|
SMODS.DrawStep {
|
||||||
key = "dropship_tape",
|
key = "dropship_tape",
|
||||||
order = 5,
|
order = 5,
|
||||||
|
conditions = {vortex = false, facing = "back"},
|
||||||
func = function(self)
|
func = function(self)
|
||||||
if self.children.back.atlas ~= back_atlas or self.children.back.sprite_pos.x ~= b_dropship.pos.x then
|
if self.children.back.atlas ~= back_atlas or self.children.back.sprite_pos.x ~= b_dropship.pos.x then
|
||||||
return
|
return
|
||||||
|
|
@ -184,7 +189,6 @@ SMODS.DrawStep {
|
||||||
sticker_offset.y
|
sticker_offset.y
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
conditions = {vortex = false, facing = "back"},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local swapper = {Spectral = "Tarot", Tarot = "Spectral"}
|
local swapper = {Spectral = "Tarot", Tarot = "Spectral"}
|
||||||
|
|
|
||||||
|
|
@ -1221,7 +1221,7 @@ joker {
|
||||||
}},
|
}},
|
||||||
attributes = {"xmult", "enhancements", "bakery_double_sided"},
|
attributes = {"xmult", "enhancements", "bakery_double_sided"},
|
||||||
eternal_compat = true,
|
eternal_compat = true,
|
||||||
blueprint_compat = false,
|
blueprint_compat = true,
|
||||||
perishable_compat = true,
|
perishable_compat = true,
|
||||||
loc_vars = function(_, info_queue, card)
|
loc_vars = function(_, info_queue, card)
|
||||||
local extra = card.ability.extra
|
local extra = card.ability.extra
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue