Add NanoUI to vending machines

Error messages are now displayed in the NanoUI interface, instead of going to
the text log. Wire UI now consistent with other wire-enabled wire devices
that use NanoUI.
This commit is contained in:
D Anzorge
2015-02-11 10:42:50 -05:00
parent b826e5bb77
commit 9dffc8f922
3 changed files with 141 additions and 76 deletions
-5
View File
@@ -19,11 +19,6 @@ var/const/VENDING_WIRE_IDSCAN = 8
return 1
return 0
/datum/wires/vending/Interact(var/mob/living/user)
if(CanUse(user))
var/obj/machinery/vending/V = holder
V.attack_hand(user)
/datum/wires/vending/GetInteractWindow()
var/obj/machinery/vending/V = holder
. += ..()