SimpleMimicRevive
[v81] Very Early Release!!! Chance to spawn Masked on death, with Weather multipliers!Simple Mimic Revive
EARLY RELEASE!! Probably very buggy and may do silly stuff in multiplayer since i haven't tested it much yet!! I made this mod as a replacement for MirageRevive in my modpack. It adds a configurable chance to spawn a Masked when a player dies at their death location. I made it by frankensteining some code i had from ZetasMoonTweaks and CoolerOxydeShip.
Features
- Per-weather spawn chances, so you can make weathers like Eclipsed have a higher chance to spawn Masked on death!
- Config synced with the host (and it's needed on all clients)
- Any mods that modify all Masked (such as removing the arms-out animation) should still work fine!
Limitations
- This mod does nothing to remove the Corpse. This means that the body can still be collected/revived, but also means killing the Masked will not drop the body and a Masked can still spawn if the body is destroyed. This isn't very practical or immersive, i'll look into it when i can
- My mod does not sync the cosmetics / suits of the Masked. It just spawns a fresh one at the location. Same issues as above.
- Players can only spawn a Masked of themselves from my mod once per day. I did this as a quick fix to counter instances of one death spawning multiple mimics, but this therefore does not take into account revive mods and such.
- The weather spawn chances may not support WeatherTweaks combined/progressing weathers, needs testing.
- I assume Masked spawned this way do not contribute to the Power count of the moon, i should probably add an option for that.
To Do
- Destroy the corpse of the player killed when a Masked is spawned, and drop that same Corpse when the Masked is killed.
- Option to not spawn a Masked if the corpse is destroyed (E.g. Eaten by a Forest Giant)
- Make the cosmetics match whoever was killed
- Work-around the once-per-round limitation of players being revived
- Option for the Masked to contribute to the Power Levels on a moon or not
