dm is a curse (#7560)

## About The Pull Request
Random various bugfixes to random various things.
## Why It's Good For The Game
:slime:🔧
## Changelog
🆑
fix: Power network interface circuits work again.
fix: You can now heal prosthetics with cables again.
fix: Protolathes should no longer bluescreen when destructively
analyzing material sheets.
fix: Destructively analyzing advanced TTS circuits is no longer morally
dubious.
/🆑
This commit is contained in:
its-helvi
2026-03-28 15:20:07 -04:00
committed by GitHub
parent 62a816d917
commit 2f92e2021d
7 changed files with 40 additions and 22 deletions
@@ -65,7 +65,7 @@
update_strings()
/obj/item/stack/material/get_materials(respect_multiplier)
return list(src, null, material.id = (respect_multiplier? material_multiplier : 1) * SHEET_MATERIAL_AMOUNT)
return list(material.id = (respect_multiplier? material_multiplier : 1) * SHEET_MATERIAL_AMOUNT)
/obj/item/stack/material/update_icon()
if(material.icon_stack_count)
@@ -20,7 +20,7 @@
if (istype(L,/mob/living/silicon/robot)) //Repairing cyborgs
var/mob/living/silicon/robot/R = L
if (R.getBruteLoss() || R.getFireLoss())
if(!can_use(1))
if(get_amount() < 1)
to_chat(user, SPAN_WARNING("There isn't enough left."))
return CLICKCHAIN_DO_NOT_PROPAGATE
if(do_after(user,7 * tool_speed))
@@ -39,7 +39,7 @@
if (S && (S.robotic >= ORGAN_ROBOT))
if(!S.get_damage())
to_chat(user, "<span class='notice'>Nothing to fix here.</span>")
else if(can_use(1))
else if(get_amount() >= 1)
user.setClickCooldownLegacy(user.get_attack_speed_legacy(src))
if(S.open >= 2)
if(do_after(user,5 * tool_speed))
@@ -54,7 +54,7 @@
if (is_holosphere_shell(L))
var/mob/living/simple_mob/holosphere_shell/shell = L
if(shell.getBruteLoss() || shell.getFireLoss())
if(!can_use(1))
if(get_amount() < 1)
to_chat(user, SPAN_WARNING("There isn't enough left."))
return CLICKCHAIN_DO_NOT_PROPAGATE
if(do_after(user,7 * tool_speed))