mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +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:
@@ -50,12 +50,12 @@
|
||||
|
||||
return machine
|
||||
|
||||
/obj/machinery/mineral/stacking_unit_console/attackby(obj/item/I, mob/user)
|
||||
if(default_deconstruction_screwdriver(user, I))
|
||||
/obj/machinery/mineral/stacking_unit_console/attackby(obj/item/attacking_item, mob/user)
|
||||
if(default_deconstruction_screwdriver(user, attacking_item))
|
||||
return
|
||||
if(default_deconstruction_crowbar(user, I))
|
||||
if(default_deconstruction_crowbar(user, attacking_item))
|
||||
return
|
||||
if(default_part_replacement(user, I))
|
||||
if(default_part_replacement(user, attacking_item))
|
||||
return
|
||||
return ..()
|
||||
|
||||
@@ -164,12 +164,12 @@
|
||||
console.machine = null
|
||||
return ..()
|
||||
|
||||
/obj/machinery/mineral/stacking_machine/attackby(obj/item/I, mob/user)
|
||||
if(default_deconstruction_screwdriver(user, I))
|
||||
/obj/machinery/mineral/stacking_machine/attackby(obj/item/attacking_item, mob/user)
|
||||
if(default_deconstruction_screwdriver(user, attacking_item))
|
||||
return
|
||||
if(default_deconstruction_crowbar(user, I))
|
||||
if(default_deconstruction_crowbar(user, attacking_item))
|
||||
return
|
||||
if(default_part_replacement(user, I))
|
||||
if(default_part_replacement(user, attacking_item))
|
||||
return
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user