File tree Expand file tree Collapse file tree 3 files changed +22
-5
lines changed
Expand file tree Collapse file tree 3 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -10354,7 +10354,12 @@ local pizza_slice = { -- +1 to all listed probabilities for the highest cat tag
1035410354 calculate = function (self , card , context )
1035510355 if context .joker_main then
1035610356 return {
10357- xmult = card .ability .xmult ,
10357+ message = localize ({
10358+ type = " variable" ,
10359+ key = " a_xmult" ,
10360+ vars = { number_format (card .ability .extra .xmult ) },
10361+ }),
10362+ Xmult_mod = lenient_bignum (card .ability .extra .xmult ),
1035810363 }
1035910364 end
1036010365 if context .selling_card and context .card and context .card .config .center .key == " j_cry_pizza_slice" then
Original file line number Diff line number Diff line change @@ -869,19 +869,31 @@ local conduit = {
869869 atlas = " atlasnotjokers" ,
870870 can_use = function (self , card )
871871 local combinedTable = {}
872+ dbl = false
873+ no_dbl = false
872874
873875 for _ , value in ipairs (G .hand .highlighted ) do
874876 if value ~= card then
877+ if Card .no (value , " dbl" ) then
878+ no_dbl = true
879+ elseif value .edition and value .edition .cry_double_sided then
880+ dbl = true
881+ end
875882 table.insert (combinedTable , value )
876883 end
877884 end
878885
879886 for _ , value in ipairs (G .jokers .highlighted ) do
880887 if value ~= card then
888+ if Card .no (value , " dbl" ) then
889+ no_dbl = true
890+ elseif value .edition and value .edition .cry_double_sided then
891+ dbl = true
892+ end
881893 table.insert (combinedTable , value )
882894 end
883895 end
884- return (# combinedTable == 2 )
896+ return (# combinedTable == 2 and not ( dbl and no_dbl ) )
885897 end ,
886898 use = function (self , card , area , copier )
887899 local used_consumable = copier or card
Original file line number Diff line number Diff line change @@ -2693,9 +2693,9 @@ return {
26932693 j_cry_pizza_slice = {
26942694 name = " Pizza Slice" ,
26952695 text = {
2696- " This Joker gains {X:mult,C:white}X#1#{}" ,
2697- " per {C:attention}Pizza Slice{} sold" ,
2698- " {C:inactive}(Currently{} {X:mult,C:white}X#2#{}{C:inactive}){}" ,
2696+ " This Joker gains {X:mult,C:white}X#1#{} Mult " ,
2697+ " when a {C:attention}Pizza Slice{} is sold" ,
2698+ " {C:inactive}(Currently{} {X:mult,C:white}X#2#{}{C:inactive} Mult ){}" ,
26992699 },
27002700 },
27012701 j_cry_spaceglobe = {
You can’t perform that action at this time.
0 commit comments