diff --git a/Source/relay/TourGuide/Items of the Month/2024/Apriling band helmet b/Source/relay/TourGuide/Items of the Month/2024/Apriling band helmet index 70898587..55e4b72c 100644 --- a/Source/relay/TourGuide/Items of the Month/2024/Apriling band helmet +++ b/Source/relay/TourGuide/Items of the Month/2024/Apriling band helmet @@ -30,21 +30,21 @@ void IOTMAprilingBandHelmetGenerateResource(ChecklistEntry [int] resource_entrie int aprilingBandQuadTomUsesLeft = clampi(3 - get_property_int("_aprilBandTomUses"), 0, 3); int aprilingBandTubaUsesLeft = clampi(3 - get_property_int("_aprilBandTubaUses"), 0, 3); int aprilingBandPiccoloUsesLeft = clampi(3 - get_property_int("_aprilBandPiccoloUses"), 0, 3); - int faceTheMusic = aprilingBandSaxUsesLeft + aprilingBandQuadTomUsesLeft + aprilingBandTubaUsesLeft + aprilingBandPiccoloUsesLeft; + int faceTheMusic = get_property_int("_aprilBandSaxophoneUses") + get_property_int("_aprilBandTomUses") + get_property_int("_aprilBandTubaUses") + get_property_int("_aprilBandPiccoloUses"); - if (faceTheMusic > 6) { + if (faceTheMusic < 6) { string [int] description2; string url = "inventory.php?ftext=apriling"; - if (aprilingBandSaxUsesLeft > 1 && available_amount($item[apriling band saxophone]) > 0) { + if (aprilingBandSaxUsesLeft > 0 && available_amount($item[apriling band saxophone]) > 0) { description2.listAppend("Can play the Sax " + aprilingBandSaxUsesLeft + " more times. " + (HTMLGenerateSpanFont("LUCKY!", "green") + "")); } - if (aprilingBandQuadTomUsesLeft > 1 && available_amount($item[apriling band quad tom]) > 0) { + if (aprilingBandQuadTomUsesLeft > 0 && available_amount($item[apriling band quad tom]) > 0) { description2.listAppend("Can play the Quad Toms " + aprilingBandQuadTomUsesLeft + " more times. " + (HTMLGenerateSpanFont("Sandworm!", "orange") + "")); } - if (aprilingBandTubaUsesLeft > 1 && available_amount($item[apriling band tuba]) > 0) { + if (aprilingBandTubaUsesLeft > 0 && available_amount($item[apriling band tuba]) > 0) { description2.listAppend("Can play the Tuba " + aprilingBandTubaUsesLeft + " more times. " + (HTMLGenerateSpanFont("SNEAK!", "grey") + "")); } - if (aprilingBandPiccoloUsesLeft > 1 && available_amount($item[apriling band piccolo]) > 0) { + if (aprilingBandPiccoloUsesLeft > 0 && available_amount($item[apriling band piccolo]) > 0) { description2.listAppend("Can play the Piccolo " + aprilingBandPiccoloUsesLeft + " more times. " + (HTMLGenerateSpanFont("+40 fxp", "purple") + "")); } resource_entries.listAppend(ChecklistEntryMake("__item apriling band helmet", url, ChecklistSubentryMake("Apriling band instruments", "", description2), 8));