mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-02-06 22:59:00 +00:00
Magnetic gripper now works on light bulbs. (#22831)
* Update drone_items.dm * Update code/modules/mob/living/silicon/robot/drone/drone_items.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/modules/mob/living/silicon/robot/drone/drone_items.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/modules/mob/living/silicon/robot/drone/drone_items.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * Update code/modules/mob/living/silicon/robot/drone/drone_items.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,8 @@
|
||||
/obj/item/circuitboard,
|
||||
/obj/item/stack/tile/light,
|
||||
/obj/item/stack/ore/bluespace_crystal,
|
||||
/obj/item/assembly/igniter
|
||||
/obj/item/assembly/igniter,
|
||||
/obj/item/light
|
||||
)
|
||||
|
||||
//Item currently being held.
|
||||
@@ -146,6 +147,12 @@
|
||||
cell_charger.charging.forceMove(src)
|
||||
cell_charger.removecell()
|
||||
|
||||
else if(istype(target, /obj/machinery/light))
|
||||
var/obj/machinery/light/light = target
|
||||
var/obj/item/light/L = light.drop_light_tube()
|
||||
L.forceMove(src)
|
||||
user.visible_message("<span class='notice'>[user] removes the light from the fixture.</span>", "<span class='notice'>You dislodge the light from the fixture.</span>")
|
||||
|
||||
return TRUE
|
||||
|
||||
/obj/item/matter_decompiler
|
||||
|
||||
Reference in New Issue
Block a user