Noita-Together / noita-together

Play alone together
MIT License
44 stars 13 forks source link

add "unbone ghost" option #161

Open Lasiace opened 3 months ago

Lasiace commented 3 months ago

Related to Dunk's request to remove ghosts from NT, however instead of removing them entirely, it instead replaces them with the polymorph version of the player ghost which uses a random wand (Tier 3 wand, if I understood the code correctly). Also affects the Kivi player ghosts.

The way it's coded is a little jank, since I check if an entity was actually generated and then replace it rather than doing the check myself, but since the source code for spawning apparitions isn't in Lua I didn't want to make my life harder than it needed to be (assuming this approach doesn't have other issues I'm not aware of)

I can change it to remove them entirely if that's preferred, since that change would be even simpler, I just figured it would be a shame to remove them entirely.

SkyeOfBreeze commented 2 months ago

image @Lasiace not sure what went wrong here as I cannot find a crash dump or logs, but it crashed on me when it spawned the player ghosts when unbone was on :(

Lasiace commented 2 months ago

Might be related to a recent update, I haven't run this since I made the PR. I'll look into it.