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
+3 -3
View File
@@ -1,7 +1,7 @@
///If the machine is used/deleted in the crafting process
#define CRAFTING_MACHINERY_CONSUME 1
//# define CRAFTING_MACHINERY_CONSUME 1 Unused
///If the machine is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it
#define CRAFTING_MACHINERY_USE 0
//# define CRAFTING_MACHINERY_USE 0 Unused
/datum/crafting_recipe
var/name = "" //in-game display name
@@ -48,7 +48,7 @@
/datum/crafting_recipe/proc/on_craft_completion(mob/user, atom/result)
return
// Computes the total reagents volume
// Computes the total reagents volume
/datum/crafting_recipe/proc/get_parts_reagents_volume()
. = 0
for(var/list/L in parts)