Re: anotherpowerup.lua - and another one
Posted: Thu Mar 10, 2022 3:44 pm
Forums for SMBX
https://www.smbxgame.com/forums/
Is this fix also applied to a bug that I was going to report?KBM-Quine wrote: ↑Mon Mar 21, 2022 2:39 pmsomeone mentioned on discord that the reserve box was being filled when you get hurt and grab a dropped reserve power up, so i made a small edit. here's it is.
Didn't work.Marioman2007 wrote: ↑Fri Sep 08, 2023 11:47 pmSo I messed around with the script a bit and I think I was able to fix the reserve powerup bug.
Not sure how good is this for a fix but it works for me so I think it is good enough.
https://drive.google.com/file/d/1D4Vkpn ... sp=sharing
Do note that and anotherpowerup is ridiculously buggy, specifically with the item box and Link. It will also revert to the ice flower when a level is complete.$h31d0nc00p3rfan wrote: ↑Wed Nov 29, 2023 9:55 amI'll definitely need this to implement Cape Feather power-up.
Hey there,$h31d0nc00p3rfan wrote: ↑Thu Jan 04, 2024 8:58 pmhow about for the cape feather? I want to be able to import it into Moondust so I can actually USE it for my level. Is there a step-by-step rundown of how to do it?
Just_Thomas wrote: ↑Sat Jan 06, 2024 8:24 amEdit:
Silly me, I forgot you had to add these lines to your luna lua project file (either within your level or world / episode file)
local ap = require("anotherpowerup")
ap.registerItemTier(851, true)
ap.registerPowerup("ap_cape")
This is odd, because first I only had bugs like I mentioned (simply extracted the files into the project folder). Only after I added these lines it worked.Marioman2007 wrote: ↑Wed Jan 10, 2024 11:14 pmJust_Thomas wrote: ↑Sat Jan 06, 2024 8:24 amEdit:
Silly me, I forgot you had to add these lines to your luna lua project file (either within your level or world / episode file)
local ap = require("anotherpowerup")
ap.registerItemTier(851, true)
ap.registerPowerup("ap_cape")
You don't need to do this, the cape feather npc already does the registration in its npc-851.lua.