even more local defines (#16033)

This commit is contained in:
Kashargul
2024-06-12 12:57:31 +10:00
committed by GitHub
parent 7793329bfd
commit ab31632830
113 changed files with 619 additions and 459 deletions
-4
View File
@@ -5,10 +5,6 @@
icon_state = "blueprints"
attack_verb = list("attacked", "bapped", "hit")
preserve_item = 1
var/const/AREA_ERRNONE = 0
var/const/AREA_STATION = 1
var/const/AREA_SPACE = 2
var/const/AREA_SPECIAL = 3
var/const/BORDER_ERROR = 0
var/const/BORDER_NONE = 1
-8
View File
@@ -55,14 +55,6 @@
/area/submap/casino_event
name = "\improper Space Casino"
//TG blueprints.
#define AREA_ERRNONE 0
#define AREA_STATION 1
#define AREA_SPACE 2
#define AREA_SPECIAL 3
/obj/item/areaeditor
name = "area modification item"
icon = 'icons/obj/items.dmi'
@@ -62,6 +62,10 @@
user.drop_from_inventory(src)
qdel(src)
#undef MODKIT_HELMET
#undef MODKIT_SUIT
#undef MODKIT_FULL
/obj/item/device/modkit/examine(mob/user)
. = ..()
. += "It looks as though it modifies hardsuits to fit [target_species] users."
@@ -1,7 +1,3 @@
#define PP_FUNCTIONAL 0
#define PP_BROKEN 1
#define PP_MISSING 2
var/global/list/paikeys = list()
/obj/item/device/paicard
+1
View File
@@ -365,4 +365,5 @@
#undef UAV_OFF
#undef UAV_ON
#undef UAV_PAIRING
#undef UAV_PACKED
@@ -1,9 +1,3 @@
//Define a macro that we can use to assemble all the circuit board names
#ifdef T_BOARD
#error T_BOARD already defined elsewhere, we can't use it.
#endif
#define T_BOARD(name) "circuit board (" + (name) + ")"
/obj/item/weapon/circuitboard
name = "circuit board"
icon = 'icons/obj/module.dmi'
@@ -1,7 +1,3 @@
#define MALFUNCTION_TEMPORARY 1
#define MALFUNCTION_PERMANENT 2
/obj/item/weapon/implant
name = "implant"
icon = 'icons/obj/device.dmi'
@@ -163,6 +163,7 @@ Protectiveness | Armor %
result = abs(result - 100)
return round(result)
#undef MATERIAL_ARMOR_COEFFICENT
/obj/item/clothing/proc/update_armor()
if(material)
@@ -410,4 +411,4 @@ Protectiveness | Armor %
icon_state = "material_armor_makeshift"
/obj/item/clothing/head/helmet/material/makeshift/durasteel
default_material = "durasteel"
default_material = "durasteel"
@@ -119,3 +119,6 @@
unfold()
if(unfoldable)
verbs -= /obj/structure/picnic_blanket_deployed/verb/fold_up
#undef CENTER
#undef SIDE
@@ -669,3 +669,5 @@ var/list/global/tank_gauge_cache = list()
unsense_proximity(callback = /atom/proc/HasProximity, center = old_loc)
if(isturf(loc))
sense_proximity(callback = /atom/proc/HasProximity)
#undef TANK_IDEAL_PRESSURE