Small Bugfixes (#5915)

When you click the security records console with an ID, it no longer gives you the violent message of you hitting it. You just put the ID in, like a normal person.

You can put your ID directly into the ore processing console (like you can with every other ID console) instead of hitting it with your ID like a spaz and then having to go into the interface and click the "Insert ID" line to put your ID in. (The line is still an option, like with other consoles.)

The RIG module press lets you put your to-be-pressed item inside without having to hit it with the item along the way.
This commit is contained in:
Conspiir
2019-01-07 13:17:18 -06:00
committed by Erki
parent 017f394331
commit 6af3c35a1e
4 changed files with 61 additions and 3 deletions

View File

@@ -34,6 +34,16 @@
add_fingerprint(user)
interact(user)
/obj/machinery/mineral/processing_unit_console/attackby(obj/item/I, mob/user)
if(istype(I,/obj/item/weapon/card/id))
var/obj/item/weapon/card/id/C = user.get_active_hand()
if(istype(C) && !istype(inserted_id))
user.drop_from_inventory(C,src)
inserted_id = C
interact(user)
else
..()
/obj/machinery/mineral/processing_unit_console/interact(mob/user)
if(..())

View File

@@ -20,7 +20,7 @@
if(!pressing)
var/outcome_path
if(istype(W, /obj/item/clothing/glasses/material))
if(istype(W, /obj/item/clothing/glasses/material) || istype (W,/obj/item/clothing/glasses/meson))
outcome_path = /obj/item/rig_module/vision/meson
if(istype(W, /obj/item/weapon/tank/jetpack))
@@ -42,6 +42,7 @@
outcome_path = /obj/item/rig_module/mounted/thermalldrill
if(!outcome_path)
..()
return
user << "<span class='notice'>You start feeding [W] into \the [src]</span>"
@@ -59,4 +60,6 @@
use_power(500)
pressing = 0
update_icon()
..()
else
..()