Undefines local defines and moves global to __define (#16028)

* first set of defines

* some more

* .

* final defines

* del local define
This commit is contained in:
Kashargul
2024-06-09 17:29:20 +10:00
committed by GitHub
parent 951cdf17b4
commit 6cabe9f7e6
85 changed files with 329 additions and 131 deletions
+2
View File
@@ -429,3 +429,5 @@ var/const/CE_STABLE_THRESHOLD = 0.5
B.fluorescent = 0
B.invisibility = 0
return B
#undef BLOOD_MINIMUM_STOP_PROCESS
@@ -1,5 +1,3 @@
#define PROCESS_ACCURACY 10
/****************************************************
INTERNAL ORGANS DEFINES
****************************************************/
@@ -61,4 +59,3 @@
if(. >= 3 && antibiotics < ANTIBIO_OD) //INFECTION_LEVEL_THREE
if (prob(50))
take_damage(1,silent=prob(15))
+4
View File
@@ -1431,3 +1431,7 @@ Note that amputating the affected organ does in fact remove the infection from t
var/datum/sprite_accessory/marking/mark = markings[M]["datum"]
if(mark.hide_body_parts && (organ_tag in mark.hide_body_parts))
return 1
#undef DROPLIMB_THRESHOLD_EDGE
#undef DROPLIMB_THRESHOLD_TEAROFF
#undef DROPLIMB_THRESHOLD_DESTROY
-2
View File
@@ -1,5 +1,3 @@
#define PROCESS_ACCURACY 10
/****************************************************
INTERNAL ORGANS DEFINES
****************************************************/