small helper mod for celeste which adds a new "ghost mode" mechanic, originally created for Berry 143 by bryse0n.
download: https://gamebanana.com/mods/642850
if you find any bugs or have any feature requests pls feel free to ping @limimimia in celestecord!
entering an Enable Ghost Mode trigger will allow the player to enter "ghost mode" by either holding Grab or a seperate binding defined in Mod Options, depending on if the trigger was configured to replace grabbing.
while in "ghost mode", the player will be able to phase through all entities, including tiles, hazards, etc, without colliding with them! the only exception is triggers, which are always collidable.
if the player attempts to unghost while inside a solid, they will remain in ghost mode until they are within 4px from the edge, where they will automatically be unghosted and moved out of the solid (unless the ghost mode button was re-pressed).
the session flag playerGhostModeActive will be enabled whenever the player enters ghost mode, and disabled again once they leave it.
entering a Disable Ghost Mode trigger will make the player unghost as soon as possible and prevents them from re-entering ghost mode. if Replace Grab was enabled in the Enable Ghost Mode trigger, they will also regain their ability to grab.
the following commands are also included to allow configuring ghost mode ingame (including in maps where it wasn't intended to be used!):
ghostmode_toggle- toggles whether it is possible to activate ghost mode in the current session.
ghostmode_config [option] [value]- more advanced, views and modifies the current ghost mode configuration. run with no arguments to see the available options and their current values.
- strawberry (with flag and mini textbox)
- a strawberry that sets a flag and displays a mini textbox upon being collected.