Replaces modular computer card eject verbs with UI buttons (#52489)

* Replaces mod-CPU card eject verbs with UI buttons

* ?
This commit is contained in:
zxaber
2020-07-31 04:18:35 +03:00
committed by GitHub
parent fd669303ff
commit 215ef5c6f3
10 changed files with 94 additions and 128 deletions
@@ -74,30 +74,6 @@
add_overlay("bsod")
add_overlay("broken")
// Eject ID card from computer, if it has ID slot with card inside.
/obj/machinery/modular_computer/proc/eject_id()
set name = "Eject ID"
set category = "Object"
if(cpu)
cpu.eject_id()
// Eject ID card from computer, if it has ID slot with card inside.
/obj/machinery/modular_computer/proc/eject_disk()
set name = "Eject Data Disk"
set category = "Object"
if(cpu)
cpu.eject_disk()
/obj/machinery/modular_computer/proc/eject_card()
set name = "Eject Intellicard"
set category = "Object"
set src in view(1)
if(cpu)
cpu.eject_card()
/obj/machinery/modular_computer/AltClick(mob/user)
if(cpu)
cpu.AltClick(user)