Merge pull request #14265 from SandPoot/tool_behavior-replacing

Tool behavior replacing
This commit is contained in:
silicons
2021-02-21 14:48:50 -07:00
committed by GitHub
182 changed files with 552 additions and 528 deletions
+1 -1
View File
@@ -173,7 +173,7 @@
boom()
/obj/structure/reagent_dispensers/fueltank/attackby(obj/item/I, mob/living/user, params)
if(istype(I, /obj/item/weldingtool))
if(I.tool_behaviour == TOOL_WELDER)
if(!reagents.has_reagent(/datum/reagent/fuel))
to_chat(user, "<span class='warning'>[src] is out of fuel!</span>")
return