mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
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:
@@ -43,7 +43,7 @@
|
||||
heat_delay = initial(heat_delay)
|
||||
|
||||
/obj/machinery/r_n_d/tech_processor/attackby(obj/item/attacking_item, mob/user)
|
||||
if(attacking_item.ismultitool())
|
||||
if(attacking_item.tool_behaviour == TOOL_MULTITOOL)
|
||||
var/obj/item/device/multitool/MT = attacking_item
|
||||
MT.set_buffer(src)
|
||||
to_chat(user, SPAN_NOTICE("You attach \the [src]'s linking node to \the [MT]'s machinery buffer."))
|
||||
|
||||
Reference in New Issue
Block a user