Currently having issues editing the max inventory amount for custom powerups, for whatever reason custom powerups dont go into the inventory at all for whatever reason. Does anyone have any ideas as to what could be causing this or how I can fix it?
Apologies for not getting back to you two sooner! Now that I'm looking at the issues you two are having, I'm realizing that any character that does not have a reserve itembox by default (such as Peach, Toad, or Link) won't actually work with the inventory at all because powerups are only added to the inventory if they're added to the itembox first, which never happens for characters without the itembox. I'm also realizing that the code I use to hide the itembox for Mario/Luigi also hides the hearts for other characters... This is what I get for not testing any characters besides Mario and Luigi, I guess ^-^;
For now, the hearts being invisible can be fixed by simply commenting out/deleting line 631 of simpleInventory.lua:
Code:
hudoverride.visible.itembox = false
Code:
if Graphics.getHUDType(player.character) ~= Graphics.HUD_HEARTS thenhudoverride.visible.itembox = falseend
Statistics: Posted by Lurrae — Mon May 12, 2025 9:40 pm