Files
MrMelbert 5765f259ef Fixes human skeleton pirates, Refactors ghost spawns (#94138)
## About The Pull Request

`create_from_ghost` can be called from stuff like... dynamic executing a
ruleset, so putting a sleep/user input within it causes problems

So I refactored ghost spawns a fair bit, creating a clear delineation
between where you can and can't put user input

## Changelog

🆑 Melbert
fix: Pirates will no longer randomly spawn as human
fix: Servant Golems have numbered names again
refactor: Refactored ghost spawns (like spider eggs or pirate spawners),
report any oddities
/🆑
2025-11-25 19:52:19 -07:00

14 lines
549 B
Plaintext

///this mob spawn creates the corpse instantly
#define CORPSE_INSTANT 1
///this mob spawn creates the corpse during GAME_STATE_PLAYING
#define CORPSE_ROUNDSTART 2
// Flags for using your static for a ghost role
/// Ghost role will take on the player's species
#define GHOSTROLE_TAKE_PREFS_SPECIES (1<<0)
/// Ghost role will take on the player's apperance (though exlcuding name)
#define GHOSTROLE_TAKE_PREFS_APPEARANCE (1<<1)
/// Return from create to stop the spawn process. Falsy value so one can just check !create()
#define CANCEL_SPAWN FALSE