Revert "What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)"

This reverts commit 4d8c43f106.
This commit is contained in:
atermonera
2022-03-29 16:01:32 -08:00
parent 20b60157eb
commit c7f1880394
312 changed files with 2273 additions and 1900 deletions

View File

@@ -146,7 +146,7 @@
try_install_component(user, C)
else
to_chat(user, "This component is too large for \the [src].")
if(W.get_tool_quality(TOOL_WRENCH))
if(W.is_wrench())
var/list/components = get_all_components()
if(components.len)
to_chat(user, "Remove all components from \the [src] before disassembling it.")
@@ -171,7 +171,7 @@
to_chat(user, "You repair \the [src].")
return
if(W.get_tool_quality(TOOL_SCREWDRIVER))
if(W.is_screwdriver())
var/list/all_components = get_all_components()
if(!all_components.len)
to_chat(user, "This device doesn't have any components installed.")