mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 07:22:42 +00:00
What was supposed to be another straightforward major system overhaul that once again spiraled out of control (#8220)
* get_tool_quality has numerical meaning * Basic tools set tool quality * Toolspeed is replaced by tool quality checks * Addresses assorted results from live test * Extra cleanup
This commit is contained in:
@@ -38,12 +38,12 @@
|
||||
/obj/machinery/power/grid_checker/attackby(obj/item/W, mob/user)
|
||||
if(!user)
|
||||
return
|
||||
if(W.is_screwdriver())
|
||||
if(W.get_tool_quality(TOOL_SCREWDRIVER))
|
||||
default_deconstruction_screwdriver(user, W)
|
||||
opened = !opened
|
||||
else if(W.is_crowbar())
|
||||
else if(W.get_tool_quality(TOOL_CROWBAR))
|
||||
default_deconstruction_crowbar(user, W)
|
||||
else if(istype(W, /obj/item/device/multitool) || W.is_wirecutter())
|
||||
else if(W.get_tool_quality(TOOL_MULTITOOL) || W.get_tool_quality(TOOL_WIRECUTTER))
|
||||
attack_hand(user)
|
||||
|
||||
/obj/machinery/power/grid_checker/attack_hand(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user