Tool behaviors port (#21663)

For a robust crafting system, I need a new materials framework.
For a new materials framework, I need to clean up reagents.
To clean up reagents, I need to pare down foods from reagent holders.
To pare down foods from reagent holders, I need to port edibility
components.
To port edibility components, I need to port processing components.
To port processing components, I need to port tool behaviors.

This is all back-end code, no new features or functionality from this.
This commit is contained in:
Batrachophreno
2026-01-27 08:44:49 +00:00
committed by GitHub
parent ee31799d4a
commit 5277251959
362 changed files with 1480 additions and 1108 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
/obj/structure/diona/attackby(obj/item/attacking_item, mob/user)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(attacking_item.iswelder())
if(attacking_item.tool_behaviour == TOOL_WELDER)
var/obj/item/weldingtool/WT = attacking_item
if (!WT.welding)
to_chat(user, SPAN_WARNING("\The [WT] must be turned on!"))
@@ -31,7 +31,7 @@
/obj/structure/droppod_door/attackby(obj/item/attacking_item, mob/user)
. = ..()
if(attacking_item.iswelder())
if(attacking_item.tool_behaviour == TOOL_WELDER)
var/obj/item/weldingtool/WT = attacking_item
if(WT.isOn())
user.visible_message(