mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-22 04:38:21 +01:00
makes several stuffs better
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
materials = null
|
||||
return ..()
|
||||
|
||||
/obj/machinery/mineral/bluespace_miner/multitool_act(mob/living/user, obj/item/multitool/M)
|
||||
if(istype(M))
|
||||
/obj/machinery/mineral/bluespace_miner/multitool_act(mob/living/user, obj/item/M)
|
||||
if(M.tool_behaviour == TOOL_MULTITOOL)
|
||||
if(!M.buffer || !istype(M.buffer, /obj/machinery/ore_silo))
|
||||
to_chat(user, "<span class='warning'>You need to multitool the ore silo first.</span>")
|
||||
return FALSE
|
||||
@@ -71,11 +71,13 @@
|
||||
. = ..()
|
||||
if(default_deconstruction_crowbar(I, FALSE))
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/mineral/bluespace_miner/screwdriver_act(mob/living/user, obj/item/screwdriver/I)
|
||||
|
||||
/obj/machinery/mineral/bluespace_miner/screwdriver_act(mob/living/user, obj/item/I)
|
||||
. = TRUE
|
||||
if(..())
|
||||
return
|
||||
if(!I.tool_behaviour == TOOL_SCREWDRIVER)
|
||||
return
|
||||
if(!state_open)
|
||||
if(powered())
|
||||
if(default_deconstruction_screwdriver(user, "bsminer-maintenance", "bsminer", I))
|
||||
|
||||
Reference in New Issue
Block a user