Files
5fec421dae Destroy several sources of lag (#21422)
Destroys a ton of sources of lag:

- /obj/machinery/biogenerator/interact and
/obj/machinery/computer/rdconsole/attack_hand

Both of these call REF(src) constantly on their UI update, which also
happens constantly. Death by a thousand cuts

- /obj/machinery/button/ignition/attack_hand and
/obj/machinery/button/switch/holosign/attack_hand

Sleeps rather than timers, iterating the entire machinery list rather
than just storing the IDs we need at roundstart

- /obj/machinery/telecomms/update_icon and /obj/machinery/meter/process

Calling overlay updates WAY TOO MUCH. UpdateOverlays is a significant
overhead for the server at this point and the two of these combined are
responsible for a little over 20% of updates. They now should only
update overlays when necessary rather than every tick.

- NEW! /obj/machinery/disposal/proc/update and
/obj/machinery/portable_atmospherics/hydroponics/update_icon

These two were also offenders, worse than telecomms but better than
meters. They have also been brought into line.

- /mob/living/carbon/slime

Hard-del'd if grinded into slime extract less than two minutes after
being "born". Fixed by adding TIMER_DELETE_ME flag.

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
2025-10-04 11:05:07 +00:00

74 lines
2.8 KiB
Plaintext

/datum/design/circuit/hardsuit
p_category = "Hardsuit Circuit Designs"
/datum/design/circuit/hardsuit/AssembleDesignDesc()
desc = "Contains the software required to make this model of hardsuit."
/datum/design/circuit/hardsuit/industrial
name = "Industrial Suit Central Circuit Board"
req_tech = list(TECH_DATA = 3)
build_path = /obj/item/circuitboard/rig_assembly/civilian/industrial
/datum/design/circuit/hardsuit/eva
name = "EVA Suit Central Circuit Board"
req_tech = list(TECH_DATA = 3)
build_path = /obj/item/circuitboard/rig_assembly/civilian/eva
/datum/design/circuit/hardsuit/eva/pilot
name = "Pilot Suit Central Circuit Board"
req_tech = list(TECH_DATA = 3)
build_path = /obj/item/circuitboard/rig_assembly/civilian/eva/pilot
/datum/design/circuit/hardsuit/ce
name = "Advanced Voidsuit Central Circuit Board"
req_tech = list(TECH_DATA = 4)
build_path = /obj/item/circuitboard/rig_assembly/civilian/ce
/datum/design/circuit/hardsuit/hazmat
name = "AMI Suit Central Circuit Board"
req_tech = list(TECH_DATA = 3)
build_path = /obj/item/circuitboard/rig_assembly/civilian/hazmat
/datum/design/circuit/hardsuit/medical
name = "Rescue Suit Central Circuit Board"
req_tech = list(TECH_DATA = 3)
build_path = /obj/item/circuitboard/rig_assembly/civilian/medical
/datum/design/circuit/hardsuit/hazard
name = "Hazard Hardsuit Central Circuit Board"
req_tech = list(TECH_DATA = 3)
build_path = /obj/item/circuitboard/rig_assembly/combat/hazard
/datum/design/circuit/hardsuit/hazard_target
name = "Hazard Hardsuit Control And Targeting Board"
req_tech = list(TECH_DATA = 3, TECH_COMBAT = 3)
build_path = /obj/item/circuitboard/rig_assembly/combat/targeting/hazard
/datum/design/circuit/hardsuit/combat
name = "Combat Hardsuit Central Circuit Board"
req_tech = list(TECH_DATA = 6)
build_path = /obj/item/circuitboard/rig_assembly/combat/combat
/datum/design/circuit/hardsuit/combat_target
name = "Combat Hardsuit Control And Targeting Board"
req_tech = list(TECH_DATA = 6, TECH_COMBAT = 5)
build_path = /obj/item/circuitboard/rig_assembly/combat/targeting/combat
/datum/design/circuit/hardsuit/hacker
name = "Cybersuit Hardsuit Central Circuit Board"
req_tech = list(TECH_DATA = 6, TECH_ILLEGAL = 3)
build_path = /obj/item/circuitboard/rig_assembly/illegal/hacker
/datum/design/circuit/hardsuit/hacker_target
name = "Cybersuit Hardsuit Control And Targeting Board"
req_tech = list(TECH_DATA = 6, TECH_COMBAT = 3, TECH_ILLEGAL = 3)
build_path = /obj/item/circuitboard/rig_assembly/illegal/targeting/hacker
/datum/design/circuit/hardsuit/falcata
name = "Falcata Exoskeleton Central Circuit Board"
build_path = /obj/item/circuitboard/rig_assembly/combat/falcata
/datum/design/circuit/hardsuit/falcata_target
name = "Falcata Exoskeleton Control And Targeting Board"
build_path = /obj/item/circuitboard/rig_assembly/combat/targeting/falcata