@@ -8843,8 +8843,11 @@ local tropical_smoothie = {
88438843 for i , v in pairs (G .jokers .cards ) do
88448844 if v ~= card then
88458845 if not Card .no (v , " immutable" , true ) then
8846+ if v .ability .value_manip then
8847+ Cryptid .manipulate (v )
8848+ end
88468849 Cryptid .manipulate (v , { value = card .ability .extra })
8847- v .config . cry_oil_lamp = ( v . config . cry_oil_lamp or 1 ) * card . ability . extra
8850+ v .ability . value_manip = true
88488851 check = true
88498852 end
88508853 end
@@ -9142,6 +9145,121 @@ local necromancer = {
91429145 },
91439146 },
91449147}
9148+
9149+ local oil_lamp = { -- You want it? It's yours my friend
9150+ object_type = " Joker" ,
9151+ dependencies = {
9152+ items = {
9153+ " set_cry_misc_joker" ,
9154+ },
9155+ },
9156+ name = " cry-Oil-Lamp" ,
9157+ key = " oil_lamp" ,
9158+ pos = { x = 4 , y = 5 },
9159+ config = { extra = { increase = 1.2 } },
9160+ rarity = 3 ,
9161+ cost = 15 ,
9162+ order = 127 ,
9163+ atlas = " atlastwo" ,
9164+ demicoloncompat = true ,
9165+ immutable = true ,
9166+ loc_vars = function (self , info_queue , card )
9167+ card .ability .blueprint_compat_ui = card .ability .blueprint_compat_ui or " "
9168+ card .ability .blueprint_compat_check = nil
9169+ return {
9170+ vars = { number_format (card .ability .extra .increase ) },
9171+ main_end = (card .area and card .area == G .jokers ) and {
9172+ {
9173+ n = G .UIT .C ,
9174+ config = { align = " bm" , minh = 0.4 },
9175+ nodes = {
9176+ {
9177+ n = G .UIT .C ,
9178+ config = {
9179+ ref_table = card ,
9180+ align = " m" ,
9181+ colour = G .C .JOKER_GREY ,
9182+ r = 0.05 ,
9183+ padding = 0.06 ,
9184+ func = " blueprint_compat" ,
9185+ },
9186+ nodes = {
9187+ {
9188+ n = G .UIT .T ,
9189+ config = {
9190+ ref_table = card .ability ,
9191+ ref_value = " blueprint_compat_ui" ,
9192+ colour = G .C .UI .TEXT_LIGHT ,
9193+ scale = 0.32 * 0.8 ,
9194+ },
9195+ },
9196+ },
9197+ },
9198+ },
9199+ },
9200+ } or nil ,
9201+ }
9202+ end ,
9203+ update = function (self , card , front )
9204+ if G .STAGE == G .STAGES .RUN then
9205+ for i = 1 , # G .jokers .cards do
9206+ if G .jokers .cards [i ] == card then
9207+ other_joker = G .jokers .cards [i + 1 ]
9208+ end
9209+ end
9210+ if other_joker and other_joker ~= card and not (Card .no (other_joker , " immutable" , true )) then
9211+ card .ability .blueprint_compat = " compatible"
9212+ else
9213+ card .ability .blueprint_compat = " incompatible"
9214+ end
9215+ end
9216+ end ,
9217+ calculate = function (self , card , context )
9218+ if
9219+ (context .end_of_round and not context .repetition and not context .individual and not context .blueprint )
9220+ or context .forcetrigger
9221+ then
9222+ local check = false
9223+ for i = 1 , # G .jokers .cards do
9224+ if G .jokers .cards [i ] == card then
9225+ if i < # G .jokers .cards then
9226+ if not Card .no (G .jokers .cards [i + 1 ], " immutable" , true ) then
9227+ check = true
9228+ if G .jokers .cards [i + 1 ].ability .value_manip then
9229+ Cryptid .manipulate (G .jokers .cards [i + 1 ])
9230+ end
9231+ Cryptid .manipulate (G .jokers .cards [i + 1 ], { value = card .ability .extra .increase })
9232+ G .jokers .cards [i + 1 ].ability .value_manip = true
9233+ end
9234+ end
9235+ end
9236+ end
9237+ if check then
9238+ card_eval_status_text (
9239+ card ,
9240+ " extra" ,
9241+ nil ,
9242+ nil ,
9243+ nil ,
9244+ { message = localize (" k_upgrade_ex" ), colour = G .C .GREEN }
9245+ )
9246+ end
9247+ end
9248+ end ,
9249+ cry_credits = {
9250+ idea = {
9251+ " AlexZGreat" ,
9252+ },
9253+ art = {
9254+ " AlexZGreat" ,
9255+ },
9256+ code = {
9257+ " Foegro" ,
9258+ },
9259+ },
9260+ }
9261+
9262+
91459263local tax_fraud = {
91469264 object_type = " Joker" ,
91479265 dependencies = {
@@ -10630,6 +10748,7 @@ local miscitems = {
1063010748 paved_joker ,
1063110749 fading_joker ,
1063210750 poor_joker ,
10751+ oil_lamp
1063310752}
1063410753
1063510754return {
0 commit comments