even more local defines (#16033)

This commit is contained in:
Kashargul
2024-06-12 04:57:31 +02:00
committed by GitHub
parent 7793329bfd
commit ab31632830
113 changed files with 619 additions and 459 deletions
@@ -3,8 +3,6 @@
#define WEIGHT_MAX 500
#define WEIGHT_CHANGE_MIN 0
#define WEIGHT_CHANGE_MAX 100
#define MAX_VOICE_FREQ 70000
#define MIN_VOICE_FREQ 15000
// Define a place to save in character setup
/datum/preferences
@@ -252,3 +250,8 @@
SEND_SOUND(user, S)
return ..();
#undef WEIGHT_MIN
#undef WEIGHT_MAX
#undef WEIGHT_CHANGE_MIN
#undef WEIGHT_CHANGE_MAX
@@ -1,11 +1,3 @@
#define PERSIST_SPAWN 0x01 // Persist spawnpoint based on location of despawn/logout.
#define PERSIST_WEIGHT 0x02 // Persist mob weight
#define PERSIST_ORGANS 0x04 // Persist the status (normal/amputated/robotic/etc) and model (for robotic) status of organs
#define PERSIST_MARKINGS 0x08 // Persist markings
#define PERSIST_SIZE 0x10 // Persist size
#define PERSIST_COUNT 5 // Number of valid bits in this bitflag. Keep this updated!
#define PERSIST_DEFAULT PERSIST_SPAWN|PERSIST_ORGANS|PERSIST_MARKINGS|PERSIST_SIZE // Default setting for new folks
// Define a place to save in character setup
/datum/preferences
var/persistence_settings = PERSIST_DEFAULT // Control what if anything is persisted for this character between rounds.
@@ -2,9 +2,6 @@
#define NEUTRAL_MODE 2
#define NEGATIVE_MODE 3
#define ORGANICS 1
#define SYNTHETICS 2
var/global/list/valid_bloodreagents = list("default","iron","copper","phoron","silver","gold","slimejelly") //allowlist-based so people don't make their blood restored by alcohol or something really silly. use reagent IDs!
/datum/preferences