mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
@@ -12,8 +12,6 @@
|
||||
req_access = list(ACCESS_MINERAL_STOREROOM)
|
||||
layer = BELOW_OBJ_LAYER
|
||||
circuit = /obj/item/circuitboard/machine/ore_redemption
|
||||
ui_x = 440
|
||||
ui_y = 550
|
||||
needs_item_input = TRUE
|
||||
processing_flags = START_PROCESSING_MANUALLY
|
||||
|
||||
@@ -208,10 +206,10 @@
|
||||
register_input_turf() // register the new one
|
||||
return TRUE
|
||||
|
||||
/obj/machinery/mineral/ore_redemption/ui_interact(mob/user, ui_key = "main", datum/tgui/ui = null, force_open = FALSE, datum/tgui/master_ui = null, datum/ui_state/state = GLOB.default_state)
|
||||
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
|
||||
/obj/machinery/mineral/ore_redemption/ui_interact(mob/user, datum/tgui/ui)
|
||||
ui = SStgui.try_update_ui(user, src, ui)
|
||||
if(!ui)
|
||||
ui = new(user, src, ui_key, "OreRedemptionMachine", "Ore Redemption Machine", ui_x, ui_y, master_ui, state)
|
||||
ui = new(user, src, "OreRedemptionMachine")
|
||||
ui.open()
|
||||
|
||||
/obj/machinery/mineral/ore_redemption/ui_data(mob/user)
|
||||
|
||||
Reference in New Issue
Block a user