Skip to content

Commit 50592be

Browse files
remove kidnapping from test file
it's not needed here anymore
1 parent f8c4295 commit 50592be

File tree

1 file changed

+1
-81
lines changed

1 file changed

+1
-81
lines changed

items/test.lua

Lines changed: 1 addition & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -229,84 +229,4 @@ local test4 = {
229229
end
230230
end,
231231
}
232-
local kidnap2 = {
233-
object_type = "Joker",
234-
name = "cry-kidnap2",
235-
key = "kidnap2",
236-
pos = { x = 1, y = 2 },
237-
config = {
238-
extra = 1,
239-
},
240-
rarity = 1,
241-
cost = 4,
242-
loc_txt = {
243-
name = "asd",
244-
text = {
245-
"Earn {C:money}$#1#{} at end of round",
246-
"per unique {C:attention}Type Mult{} or",
247-
"{C:attention}Type Chips{} Joker sold this run",
248-
"{C:inactive}(Currently {C:money}$#2#{C:inactive})",
249-
},
250-
},
251-
blueprint_compat = false,
252-
loc_vars = function(self, info_queue, center)
253-
local value = 0
254-
if G.GAME and G.GAME.jokers_sold then
255-
for _, v in ipairs(G.GAME.jokers_sold) do
256-
if
257-
G.P_CENTERS[v].effect == "Type Mult"
258-
or G.P_CENTERS[v].effect == "Cry Type Mult"
259-
or G.P_CENTERS[v].effect == "Cry Type Chips"
260-
or G.P_CENTERS[v].effect == "Boost Kidnapping"
261-
or (
262-
G.P_CENTERS[v].name == "Sly Joker"
263-
or G.P_CENTERS[v].name == "Wily Joker"
264-
or G.P_CENTERS[v].name == "Clever Joker"
265-
or G.P_CENTERS[v].name == "Devious Joker"
266-
or G.P_CENTERS[v].name == "Crafty Joker"
267-
)
268-
then
269-
value = value + 1
270-
end
271-
end
272-
end
273-
return { vars = { center.ability.extra, center.ability.extra * value } }
274-
end,
275-
atlas = "atlasone",
276-
calc_dollar_bonus = function(self, card)
277-
local value = 0
278-
for _, v in ipairs(G.GAME.jokers_sold) do
279-
if
280-
G.P_CENTERS[v].effect == "Type Mult"
281-
or G.P_CENTERS[v].effect == "Cry Type Mult"
282-
or G.P_CENTERS[v].effect == "Cry Type Chips"
283-
or G.P_CENTERS[v].effect == "Boost Kidnapping"
284-
or (
285-
G.P_CENTERS[v].name == "Sly Joker"
286-
or G.P_CENTERS[v].name == "Wily Joker"
287-
or G.P_CENTERS[v].name == "Clever Joker"
288-
or G.P_CENTERS[v].name == "Devious Joker"
289-
or G.P_CENTERS[v].name == "Crafty Joker"
290-
)
291-
then
292-
value = value + 1
293-
end
294-
end
295-
if value == 0 then
296-
return
297-
end
298-
return card.ability.extra * value
299-
end,
300-
cry_credits = {
301-
idea = {
302-
"Jevonn",
303-
},
304-
art = {
305-
"Jevonn",
306-
},
307-
code = {
308-
"Jevonn",
309-
},
310-
},
311-
}
312-
return { items = { test, test2, test3, test4, kidnap2 }, disabled = true }
232+
return { items = { test, test2, test3, test4 }, disabled = true }

0 commit comments

Comments
 (0)