Improve compatibility with legacy versions
This commit is contained in:
parent
4b8094efab
commit
e95285e545
2 changed files with 24 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"id": "Roland",
|
||||
"name": "Roland",
|
||||
"prefix": "Roland",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0.3",
|
||||
"badge_colour": "8BE9FD",
|
||||
"display_name": "Roland",
|
||||
"main_file": "src/main.lua",
|
||||
|
|
@ -15,8 +15,8 @@
|
|||
"Emik"
|
||||
],
|
||||
"dependencies": [
|
||||
"Steamodded (>=1.0.0~BETA-1606b)",
|
||||
"Steamodded (>=1.0.0~BETA-0711a)",
|
||||
"Lovely (>=0.6)",
|
||||
"Bakery (>=3.2.0~*)"
|
||||
"Bakery (>=3.0.0~*)"
|
||||
]
|
||||
}
|
||||
|
|
@ -564,6 +564,10 @@ joker {
|
|||
eternal_compat = true,
|
||||
blueprint_compat = true,
|
||||
perishable_compat = true,
|
||||
inject = not SMODS.Attribute and function(...)
|
||||
SMODS.Joker.inject(...)
|
||||
Bakery_API.retrigger_jokers.j_Roland_arctic = true
|
||||
end or nil,
|
||||
loc_vars = function(_, info_queue)
|
||||
table.insert(info_queue, G.P_CENTERS.e_Roland_frozen)
|
||||
end,
|
||||
|
|
@ -976,6 +980,11 @@ joker {
|
|||
eternal_compat = true,
|
||||
blueprint_compat = true,
|
||||
perishable_compat = true,
|
||||
inject = not SMODS.Attribute and function(...)
|
||||
SMODS.Joker.inject(...)
|
||||
Bakery_API.usable_jokers.j_Roland_nilly = true
|
||||
Bakery_API.double_sided_jokers.j_Roland_nilly = true
|
||||
end or nil,
|
||||
loc_vars = function(_, _, card)
|
||||
local key = card.ability.extra.flipped and "b_Roland_enabled" or "b_Roland_disabled"
|
||||
return {vars = {localize {type = "variable", key = key}}}
|
||||
|
|
@ -1077,6 +1086,10 @@ joker {
|
|||
eternal_compat = true,
|
||||
blueprint_compat = true,
|
||||
perishable_compat = true,
|
||||
inject = not SMODS.Attribute and function(...)
|
||||
SMODS.Joker.inject(...)
|
||||
Bakery_API.usable_jokers.j_Roland_idle = true
|
||||
end or nil,
|
||||
loc_vars = function(self, _, card)
|
||||
local extra = card.ability.extra
|
||||
local col = {}
|
||||
|
|
@ -1216,6 +1229,10 @@ joker {
|
|||
calc_dollar_bonus = function(_, card)
|
||||
return card.ability.extra.dollars
|
||||
end,
|
||||
inject = not SMODS.Attribute and function(...)
|
||||
SMODS.Joker.inject(...)
|
||||
Bakery_API.double_sided_jokers.j_Roland_artemis = true
|
||||
end or nil,
|
||||
loc_vars = function(_, info_queue, card)
|
||||
local extra = card.ability.extra
|
||||
|
||||
|
|
@ -1278,6 +1295,10 @@ joker {
|
|||
eternal_compat = true,
|
||||
blueprint_compat = true,
|
||||
perishable_compat = true,
|
||||
inject = not SMODS.Attribute and function(...)
|
||||
SMODS.Joker.inject(...)
|
||||
Bakery_API.double_sided_jokers.j_Roland_excalibur = true
|
||||
end or nil,
|
||||
loc_vars = function(_, info_queue, card)
|
||||
local extra = card.ability.extra
|
||||
local _ = card.fake_card or table.insert(info_queue, G.P_CENTERS.m_stone)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue