mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
18 lines
635 B
Plaintext
18 lines
635 B
Plaintext
// Helpers for checking whether a z-level conforms to a specific requirement
|
|
|
|
// Basic levels
|
|
#define is_centcom_level(z) SSmapping.level_trait(z, ZTRAIT_CENTCOM)
|
|
|
|
#define is_station_level(z) SSmapping.level_trait(z, ZTRAIT_STATION)
|
|
|
|
#define is_mining_level(z) SSmapping.level_trait(z, ZTRAIT_MINING)
|
|
|
|
#define is_reebe(z) SSmapping.level_trait(z, ZTRAIT_REEBE)
|
|
|
|
#define is_reserved_level(z) SSmapping.level_trait(z, ZTRAIT_RESERVED)
|
|
|
|
#define is_away_level(z) SSmapping.level_trait(z, ZTRAIT_AWAY)
|
|
|
|
// If true, the singularity cannot strip away asteroid turf on this Z
|
|
#define is_planet_level(z) SSmapping.level_trait(z, ZTRAIT_PLANET)
|