HugeQuest Alter Code: F

[Open Assets] HugeQuest Alter Code: F V1.12

More fixes, and we actually fixed the Grow Music and Invincibility bugs

- Moved GrowplusEndCheck(p) above MusicChange
- Updated Grow Plus check related to when it ends
- Added "last item" vars to our refresh function, fixing the Invincibility bug
- Removed unused variable
- Normalized Grow Plus duration; hq_offroad now has the same duration as Vanilla Grow
- Rewrote audio function re: Grow Plus
- Amended Giant Banana split behavior: splits now blossom from their parent banana, as opposed to simply spawning from preset coordinates
  • Cool!
Reactions: Jrc126
A few corrections re: MusicChange, along with some restructuring!

- Fixed a bug where Grow music would continue playing after crossing the finish line
- Fixed a bug where DNF'ing while Invincibility is active carried over the remaining duration into the next round, giving the player a head start while also allowing them to wreak havoc on other players
- Scrapped post-race tips in lieu of adding those tips to the Did You Know? section of Hostmod's Neo Scoreboard.
- Fixed a typo when checking if weathermod was loaded
DarkyBenji did the bulk of this update, with a small interop change by me.

- Optimized several functions to reduce resource consumption
- Rewrote MusicChange, fixing a few music issues
- Changed item values from names to numbers, allowing XItemlib interop
- Merged two thinkframes into one in init.lua (Because I somehow didn't realize I accidentally wrote two different thinkframes)
- Added Invincibility/Grow+ check functions for their respective parent function
- Large items under the effects of Weathermod's Comet pattern no longer split endlessly. In fact, Comet's large items don't split at all!
  • Cool!
Reactions: Jrc126
A soul for a soul

Quantum Jawz have been removed from the code -- While a fun idea at the time, it ultimately does little to contribute to any semblance of balance and makes Jawz more aggravating than necessary. In its place is now an exploit fix for a specific interaction between the Eggman item and SPB. Namely, the exploit where a player could slam their brakes before Eggman detonates to get hit by the SPB, only for the Eggman explosion stun to override SPB stun. This exploit makes SPB less of a threat than intended, and the fix remedies this by stripping the timer if you're hit by an SPB during Egg countdown. If this happens, the player will suffer an extra 50% spinout and 1.5x vertical momentum via SPB, keeping you in the air longer.

Normal SPB spinout: 4s
SPB spinout with active Egg timer: ~6s

This ensures the SPB will remain an adequate threat to the frontrunner and makes Eggman items more dangerous in dense item sets.
More bugfixes and some interop changes, thanks to DarkyBenji.

Bugfixes:
- No more warning messages when SPB is chasing the player
- Fastlines no longer change color when hq_mtstore is disabled

Interop:
- Grow+'s speed boost is a global var (growplus.speedmod), allowing other mods to reference/adjust this value as necessary.
- Fixed Jawz colorizing logic to allow other mods to colorize it
Bugfix:
- Fixed bug where Offroad-Immune Grow+ duration didn't stack with repeated use.
A few bugfixes:

- Being hit by a Grow+ attack item no longer puts you in indefinite spinout
- Fastline logic now functions as intended; no more console warnings!
- Proper check for Acroba(s/t)ics and Boost handling

New command:

'hq_skittles' (default Off): Forces vanilla rainbow Invincibility effects if hq_sparkle is enabled. If Off, Invincibility effects are a white sparkle trail with the character flashing white, a nod to classic Sonic invincibility effects.
Back
Top