diff --git a/code/game/objects/structures/tank_holder.dm b/code/game/objects/structures/tank_holder.dm index 2dff1e3b840..a0e22996e17 100644 --- a/code/game/objects/structures/tank_holder.dm +++ b/code/game/objects/structures/tank_holder.dm @@ -35,13 +35,24 @@ /obj/structure/tank_holder/examine(mob/user) . = ..() + . += "It is [anchored ? "wrenched to the floor." : "The bolts on the bottom are unsecured."]
" + if(tank) + . += "It is holding one [tank]." + else + . += "It is empty." . += "It is held together by some screws." /obj/structure/tank_holder/attackby(obj/item/W, mob/living/user, params) if(user.combat_mode) return ..() - if(!SEND_SIGNAL(W, COMSIG_CONTAINER_TRY_ATTACH, src, user)) + if(W.tool_behaviour == TOOL_WRENCH) + to_chat(user, "You begin to [anchored ? "unwrench" : "wrench"] [src].") + if(W.use_tool(src, user, 20, volume=50)) + to_chat(user, "You successfully [anchored ? "unwrench" : "wrench"] [src].") + set_anchored(!anchored) + else if(!SEND_SIGNAL(W, COMSIG_CONTAINER_TRY_ATTACH, src, user)) to_chat(user, "[W] does not fit in [src].") + return /obj/structure/tank_holder/screwdriver_act(mob/living/user, obj/item/I) if(..())