Allow colorful screw quantity to save

Really need to refactor the entire Inventory handling because it isn't very flexible
This commit is contained in:
Kurt 2025-11-16 11:58:13 -06:00
parent a3e1d88243
commit 4c377d75cf

View File

@ -280,7 +280,7 @@ public bool IsValidItemAndCount(ITrainerInfo sav, int item, bool HasNew, bool Ha
return false;
}
if (count > 0)
if (count > 0 && item is not ColorfulScrew9a.ColorfulScrewItemIndex) // need to rewrite this later
count = GetSuggestedItemCount(sav, item, count);
return true;
}