mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Some refactors, DMDoc and UT (#18365)
* dsfa * accessories fix * fixed "has been hit by" message with intent check * sdfa
This commit is contained in:
@@ -35,17 +35,17 @@
|
||||
produce_heat()
|
||||
heat_delay = initial(heat_delay)
|
||||
|
||||
/obj/machinery/r_n_d/tech_processor/attackby(obj/item/W, mob/user)
|
||||
if(W.ismultitool())
|
||||
var/obj/item/device/multitool/MT = W
|
||||
/obj/machinery/r_n_d/tech_processor/attackby(obj/item/attacking_item, mob/user)
|
||||
if(attacking_item.ismultitool())
|
||||
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."))
|
||||
return
|
||||
if(default_deconstruction_screwdriver(user, W))
|
||||
if(default_deconstruction_screwdriver(user, attacking_item))
|
||||
return
|
||||
if(default_deconstruction_crowbar(user, W))
|
||||
if(default_deconstruction_crowbar(user, attacking_item))
|
||||
return
|
||||
if(default_part_replacement(user, W))
|
||||
if(default_part_replacement(user, attacking_item))
|
||||
return
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user