Skip to content

Commit 31d0d7e

Browse files
Remove deprecated Ace Aeq code
1 parent 4fe800d commit 31d0d7e

File tree

1 file changed

+0
-99
lines changed

1 file changed

+0
-99
lines changed

items/exotic.lua

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -916,78 +916,6 @@ local aequilibrium = {
916916
return nil, true
917917
end
918918
end,
919-
--[[
920-
add_to_deck = function(self, card, from_debuff)
921-
if not from_debuff then
922-
if card.ability.extra.card then
923-
card.ability.extra.card = nil
924-
end
925-
card.ability.extra.card =
926-
Card(G.jokers.T.x, G.jokers.T.y, G.CARD_W * 0.675, G.CARD_H * 0.675, G.P_CARDS.S_A, G.P_CENTERS.c_base)
927-
--G.hand:emplace(card.ability.extra.card)
928-
--card.ability.extra.card:set_card_area(G.hand)
929-
card.ability.extra.card:start_materialize({ G.C.WHITE, G.C.WHITE }, nil, 1.2)
930-
card.ability.extra.card:set_seal("Gold", true, true)
931-
card.ability.extra.card:set_edition({ cry_glitched = true }, true)
932-
--card.ability.extra.card.T.x = card.T.x
933-
934-
if card.ability.extra.card and G.P_CENTERS.j_blueprint.unlocked then
935-
local viable_unlockables = {}
936-
for k, v in ipairs(G.P_LOCKED) do
937-
if (v.set == "Voucher" or v.set == "Joker") and not v.demo then
938-
viable_unlockables[#viable_unlockables + 1] = v
939-
end
940-
end
941-
if #viable_unlockables > 0 then
942-
local card2 = card.ability.extra.card
943-
G.E_MANAGER:add_event(Event({
944-
trigger = "after",
945-
delay = 4.04,
946-
func = function()
947-
card2 = Card(
948-
G.jokers.T.x,
949-
G.jokers.T.y,
950-
G.CARD_W * 0.675,
951-
G.CARD_H * 0.675,
952-
nil,
953-
pseudorandom_element(viable_unlockables) or self.P_CENTERS.j_joker
954-
)
955-
card2.no_ui = #viable_unlockables == 0
956-
card2.states.visible = false
957-
card.ability.extra.card.parent = nil
958-
card.ability.extra.card:start_dissolve({ G.C.BLACK, G.C.ORANGE, G.C.RED, G.C.GOLD })
959-
return true
960-
end,
961-
}))
962-
G.E_MANAGER:add_event(Event({
963-
trigger = "after",
964-
delay = 1.04,
965-
func = function()
966-
card2:start_materialize()
967-
--G.:emplace(card)
968-
return true
969-
end,
970-
}))
971-
end
972-
end
973-
end
974-
end,
975-
--Known bug: card does not reappear after save reopened
976-
update = function(self, card, front)
977-
if card.ability.extra.card then
978-
if card.ability.extra.card.states and not card.ability.extra.card.states.drag.is then
979-
card.ability.extra.card.T.x = card.T.x + card.T.w / 5
980-
card.ability.extra.card.T.y = card.T.y + card.T.h / 5
981-
end
982-
end
983-
end,
984-
remove_from_deck = function(self, card, from_debuff)
985-
if not from_debuff and card.ability.extra.card then
986-
card.ability.extra.card:start_dissolve()
987-
end
988-
end,
989-
]]
990-
--
991919
cry_credits = {
992920
idea = { "Elial2" },
993921
art = { "Elial2", "unexian", "hydro" },
@@ -1510,33 +1438,6 @@ local items = {
15101438
return {
15111439
name = "Exotic Jokers",
15121440
init = function()
1513-
--I have no clue what this patch does
1514-
local cc = copy_card
1515-
function copy_card(card, a, b, c, d)
1516-
local m
1517-
if
1518-
card
1519-
and card.ability
1520-
and card.ability.extra
1521-
and type(card.ability.extra) == "table"
1522-
and card.ability.extra.card
1523-
then
1524-
m = card.ability.extra.card
1525-
card.ability.extra.card = nil
1526-
end
1527-
local ret = cc(card, a, b, c, d)
1528-
if
1529-
card
1530-
and card.ability
1531-
and card.ability.extra
1532-
and type(card.ability.extra) == "table"
1533-
and card.ability.extra.card
1534-
and m
1535-
then
1536-
card.ability.extra.card = m
1537-
end
1538-
return ret
1539-
end
15401441
end,
15411442
items = items,
15421443
}

0 commit comments

Comments
 (0)