Files
CRUNCH d030b8afb8 Migrates /obj/item/stack to the new attack chain (#31709)
* e

* stuff not in the stack folder

* A

* Update gift_wrappaper.dm

* golg

* dancing around SHOULD_NOT_SLEEP and storage still being legacy

* Update asteroid_floors.dm

* Update medical_packs.dm

* Update medical_packs.dm
2026-04-02 02:32:15 +00:00

34 lines
866 B
Plaintext

/obj/item/stack/light_w
name = "wired glass tiles"
gender = PLURAL
singular_name = "wired glass floor tile"
desc = "A glass tile, which is wired, somehow."
icon = 'icons/obj/tiles.dmi'
icon_state = "glass_wire"
force = 3.0
throwforce = 5.0
throw_speed = 5
throw_range = 20
flags = CONDUCT
max_amount = 60
/obj/item/stack/light_w/item_interaction(mob/living/user, obj/item/used, list/modifiers)
if(!istype(used, /obj/item/stack/sheet/metal))
return ..()
var/obj/item/stack/sheet/metal/M = used
M.use(1)
new /obj/item/stack/tile/light(user.loc)
use(1)
return ITEM_INTERACT_COMPLETE
/obj/item/stack/light_w/wirecutter_act(mob/living/user, obj/item/I)
if(!istype(I, /obj/item/wirecutters))
return
var/obj/item/stack/cable_coil/CC = new(user.loc)
CC.amount = 5
new/obj/item/stack/sheet/glass(user.loc)
use(1)
return ITEM_INTERACT_COMPLETE