@@ -7906,7 +7906,7 @@ local highfive = {
79067906 key = " highfive" ,
79077907 order = 137 ,
79087908 atlas = " atlastwo" ,
7909- pos = { x = 4 , y = 1 },
7909+ pos = { x = 4 , y = 1 },
79107910 blueprint_compat = false ,
79117911 eternal_compat = true ,
79127912 perishable_compat = true ,
@@ -7920,44 +7920,46 @@ local highfive = {
79207920 for k , v in ipairs (context .scoring_hand ) do
79217921 if not SMODS .has_no_rank (v ) then
79227922 local thunk = v .base .value == " Ace" and 1 or v .base .nominal
7923- if thunk > maximum then maximum = thunk end
7923+ if thunk > maximum then
7924+ maximum = thunk
7925+ end
79247926 end
79257927 end
79267928
79277929 local whapoosh = false
79287930 if maximum == 5 then
7929- for index = 1 , # context .scoring_hand do
7931+ for index = 1 , # context .scoring_hand do
79307932 local v = context .scoring_hand [index ]
79317933 if v .base .value ~= " 5" and not SMODS .has_no_rank (v ) then
79327934 whapoosh = true
79337935 G .E_MANAGER :add_event (Event ({
79347936 func = function ()
7935- assert (SMODS .change_base (v , _ , " 5" ))
7936- v :juice_up ()
7937- return true
7938- end
7939- }))
7937+ assert (SMODS .change_base (v , _ , " 5" ))
7938+ v :juice_up ()
7939+ return true
7940+ end ,
7941+ }))
79407942 end
79417943 end
79427944
79437945 if whapoosh then
79447946 G .E_MANAGER :add_event (Event ({
79457947 func = function ()
7946- play_sound (" cry_whapoosh" )
7947- return true
7948+ play_sound (" cry_whapoosh" )
7949+ return true
79487950 end ,
7949- }))
7950- return {
7951- message = localize (" cry_highfive_ex" )
7952- }
7951+ }))
7952+ return {
7953+ message = localize (" cry_highfive_ex" ),
7954+ }
79537955 end
79547956 end
79557957 end
79567958 end ,
79577959 cry_credits = {
79587960 idea = { " cassknows" },
7959- art = {" MarioFan597" },
7960- code = { " astrapboy" }
7961+ art = { " MarioFan597" },
7962+ code = { " astrapboy" },
79617963 },
79627964}
79637965local miscitems = {
@@ -8075,7 +8077,7 @@ local miscitems = {
80758077 huntingseason ,
80768078 -- cat_owl,
80778079 -- eyeofhagane, (apparently this wasn't screened)
8078- highfive
8080+ highfive ,
80798081}
80808082return {
80818083 name = " Misc. Jokers" ,
0 commit comments