mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-12 08:36:00 +01:00
5765f259ef
## 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 /🆑
14 lines
549 B
Plaintext
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
|