Skip to content

Conversation

@SilverDorian46
Copy link
Contributor

This PR adds several options to the Throw Box and Throw Box Spawner entities to customise their textures, their impact particles, and their debris, as well as an option to let them pass through Spinners safely.

This hasn't been fully tested, so any feedback would be appreciated.

Other changes:

  • turn 'particleColors' into a list of colors in the Lönn plugin for the Wind Tunnel

Copy link
Contributor

@catapillie catapillie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for fixing the hook not unloading, that was pretty bad.
I know \0 is the tile ID for air, but I think it still makes more sense to work with a nullable character. But this is just a nitpick really, don't worry about it.

Comment on lines +23 to +33
public static void Unload() {
On.Celeste.Player.ctor -= ctor;
On.Celeste.Level.LoadLevel -= LoadLevel;
On.Celeste.Player.Die -= PlayerDie;
On.Celeste.LevelExit.Routine -= RespawnRoutine;
On.Celeste.Player.Pickup -= Pickup;
On.Celeste.Lookout.LookRoutine -= LookRoutine;
On.Celeste.LevelEnter.Go -= LevelEnterGo;
On.Celeste.DashBlock.Break_Vector2_Vector2_bool_bool -= DashBlockBreak;
On.Celeste.DashBlock.RemoveAndFlagAsGone -= DashBlockRemoveAndFlagAsGone;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whaaaaaaaaaaaaaa
THANK YOU for this

for (int i = 0; i < Width / 8f; i++) {
for (int j = 0; j < Height / 8f; j++) {
if (_isMetal) {
if (_debrisTypeOverride != '\0') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it would make more sense to use a nullable char rather than checking for a magic \0

@catapillie catapillie merged commit bcee289 into CommunalHelper:dev Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants