mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
Attack chain migration: structures. (#30365)
* Attack chain migration: structures. * whoops * wth
This commit is contained in:
@@ -92,7 +92,8 @@
|
||||
return
|
||||
default_unfasten_wrench(user, I, 10)
|
||||
|
||||
/obj/structure/clockwork/wall_gear/attackby__legacy__attackchain(obj/item/I, mob/user, params)
|
||||
/obj/structure/clockwork/wall_gear/item_interaction(mob/living/user, obj/item/I, list/modifiers)
|
||||
. = ITEM_INTERACT_COMPLETE
|
||||
if(istype(I, /obj/item/stack/tile/brass))
|
||||
var/obj/item/stack/tile/brass/W = I
|
||||
if(W.get_amount() < 1)
|
||||
@@ -122,7 +123,7 @@
|
||||
qdel(src)
|
||||
else
|
||||
to_chat(user, "<span class='warning'>You need more brass to make a [anchored ? "false ":""]wall!</span>")
|
||||
return 1
|
||||
return
|
||||
return ..()
|
||||
|
||||
/obj/structure/clockwork/wall_gear/deconstruct(disassembled = TRUE)
|
||||
|
||||
Reference in New Issue
Block a user