@@ -20,6 +20,16 @@ local code = {
2020 can_stack = true ,
2121 can_divide = true ,
2222}
23+ local code_digital_hallucinations_compat = {
24+ colour = HEX (" 14b341" ),
25+ loc_key = " cry_plus_code" ,
26+ create = function ()
27+ local ccard = create_card (" Code" , G .consumeables , nil , nil , nil , nil , nil , " diha" )
28+ ccard :set_edition ({ negative = true }, true )
29+ ccard :add_to_deck ()
30+ G .consumeables :emplace (ccard )
31+ end
32+ }
2333local pack1 = {
2434 dependencies = {
2535 items = {
@@ -51,6 +61,7 @@ local pack1 = {
5161 }
5262 end ,
5363 group_key = " k_cry_program_pack" ,
64+ cry_digital_hallucinations = code_digital_hallucinations_compat ,
5465}
5566local pack2 = {
5667 dependencies = {
@@ -83,6 +94,7 @@ local pack2 = {
8394 }
8495 end ,
8596 group_key = " k_cry_program_pack" ,
97+ cry_digital_hallucinations = code_digital_hallucinations_compat ,
8698}
8799local packJ = {
88100 dependencies = {
@@ -115,6 +127,7 @@ local packJ = {
115127 }
116128 end ,
117129 group_key = " k_cry_program_pack" ,
130+ cry_digital_hallucinations = code_digital_hallucinations_compat ,
118131}
119132local packM = {
120133 dependencies = {
@@ -147,6 +160,7 @@ local packM = {
147160 }
148161 end ,
149162 group_key = " k_cry_program_pack" ,
163+ cry_digital_hallucinations = code_digital_hallucinations_compat ,
150164}
151165local console = {
152166 dependencies = {
@@ -2225,7 +2239,7 @@ local machinecode = {
22252239 use = function (self , card , area , copier )
22262240 local card = create_card (
22272241 " Consumeables" ,
2228- G .consumables ,
2242+ G .consumeables ,
22292243 nil ,
22302244 nil ,
22312245 nil ,
@@ -2245,7 +2259,7 @@ local machinecode = {
22452259 a [b ] = (a [b ] or 0 ) + 1
22462260 end
22472261 for k , v in pairs (a ) do
2248- local card = create_card (" Consumeables" , G .consumables , nil , nil , nil , nil , k .key )
2262+ local card = create_card (" Consumeables" , G .consumeables , nil , nil , nil , nil , k .key )
22492263 card :set_edition ({ cry_glitched = true })
22502264 card :add_to_deck ()
22512265 if Incantation then
@@ -4362,7 +4376,7 @@ local CodeJoker = {
43624376 calculate = function (self , card , context )
43634377 if context .setting_blind and not (context .blueprint_card or self ).getting_sliced then
43644378 play_sound (" timpani" )
4365- local card = create_card (" Code" , G .consumables , nil , nil , nil , nil )
4379+ local card = create_card (" Code" , G .consumeables , nil , nil , nil , nil )
43664380 card :set_edition ({
43674381 negative = true ,
43684382 })
@@ -4608,7 +4622,7 @@ local blender = {
46084622 and not context .consumeable .beginning_end
46094623 then
46104624 if # G .consumeables .cards + G .GAME .consumeable_buffer < G .consumeables .config .card_limit then
4611- local card = create_card (" Consumeables" , G .consumables , nil , nil , nil , nil , nil , " cry_blender" )
4625+ local card = create_card (" Consumeables" , G .consumeables , nil , nil , nil , nil , nil , " cry_blender" )
46124626 card :add_to_deck ()
46134627 G .consumeables :emplace (card )
46144628 end
0 commit comments