mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Status/AI display now can be deconstructed with a wrench (#19197)
* status and ai display * adjustments
This commit is contained in:
@@ -110,3 +110,13 @@ GLOBAL_LIST_EMPTY(ai_displays)
|
||||
|
||||
. += new_display
|
||||
underlays += emissive_appearance(icon, "lightmask")
|
||||
|
||||
/obj/machinery/ai_status_display/wrench_act(mob/living/user, obj/item/I)
|
||||
. = TRUE
|
||||
if(!I.use_tool(src, user, 0))
|
||||
return
|
||||
TOOL_ATTEMPT_DISMANTLE_MESSAGE
|
||||
if(I.use_tool(src, user, 20, volume = I.tool_volume))
|
||||
TOOL_DISMANTLE_SUCCESS_MESSAGE
|
||||
new /obj/item/stack/sheet/metal(drop_location(), 1)
|
||||
deconstruct()
|
||||
|
||||
@@ -214,3 +214,13 @@ GLOBAL_LIST_EMPTY(status_displays)
|
||||
SD.set_picture(data1)
|
||||
|
||||
SD.update()
|
||||
|
||||
/obj/machinery/status_display/wrench_act(mob/living/user, obj/item/I)
|
||||
. = TRUE
|
||||
if(!I.use_tool(src, user, 0))
|
||||
return
|
||||
TOOL_ATTEMPT_DISMANTLE_MESSAGE
|
||||
if(I.use_tool(src, user, 20, volume = I.tool_volume))
|
||||
TOOL_DISMANTLE_SUCCESS_MESSAGE
|
||||
new /obj/item/stack/sheet/metal(drop_location(), 1)
|
||||
deconstruct()
|
||||
|
||||
Reference in New Issue
Block a user