mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-27 23:16:19 +01:00
COMPLETELY FUCKING REFACTORS TOOL CHECKING CODE
dear FUCKING GOD why was it like this, it hurts soooo bad DDDD:
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
var/obj/F = new /obj/structure/kitchenspike(src.loc)
|
||||
transfer_fingerprints_to(F)
|
||||
qdel(src)
|
||||
else if(istype(I, /obj/item/weldingtool))
|
||||
else if(I.tool_behavior == TOOL_WELDER)
|
||||
if(!I.tool_start_check(user, amount=0))
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You begin cutting \the [src] apart...</span>")
|
||||
@@ -240,4 +240,4 @@
|
||||
untie_mob(L)
|
||||
return ..()
|
||||
|
||||
#undef VIABLE_MOB_CHECK
|
||||
#undef VIABLE_MOB_CHECK
|
||||
|
||||
Reference in New Issue
Block a user