mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-03 14:04:41 +00:00
Fixed ore processing machines not updating properly
This commit is contained in:
@@ -18,7 +18,15 @@
|
|||||||
else
|
else
|
||||||
del(src)
|
del(src)
|
||||||
|
|
||||||
/obj/machinery/mineral/processing_unit_console/attack_hand(user as mob)
|
/obj/machinery/mineral/processing_unit_console/process()
|
||||||
|
updateDialog()
|
||||||
|
|
||||||
|
/obj/machinery/mineral/processing_unit_console/attack_hand(mob/user)
|
||||||
|
add_fingerprint(user)
|
||||||
|
interact(user)
|
||||||
|
|
||||||
|
/obj/machinery/mineral/processing_unit_console/interact(mob/user)
|
||||||
|
user.set_machine(src)
|
||||||
|
|
||||||
var/dat = "<b>Smelter control console</b><br><br>"
|
var/dat = "<b>Smelter control console</b><br><br>"
|
||||||
//iron
|
//iron
|
||||||
@@ -114,7 +122,7 @@
|
|||||||
|
|
||||||
|
|
||||||
user << browse("[dat]", "window=console_processing_unit")
|
user << browse("[dat]", "window=console_processing_unit")
|
||||||
|
onclose(user, "console_processing_unit")
|
||||||
|
|
||||||
|
|
||||||
/obj/machinery/mineral/processing_unit_console/Topic(href, href_list)
|
/obj/machinery/mineral/processing_unit_console/Topic(href, href_list)
|
||||||
|
|||||||
@@ -18,7 +18,15 @@
|
|||||||
else
|
else
|
||||||
del(src)
|
del(src)
|
||||||
|
|
||||||
/obj/machinery/mineral/stacking_unit_console/attack_hand(user as mob)
|
/obj/machinery/mineral/stacking_unit_console/process()
|
||||||
|
updateDialog()
|
||||||
|
|
||||||
|
/obj/machinery/mineral/stacking_unit_console/attack_hand(mob/user)
|
||||||
|
add_fingerprint(user)
|
||||||
|
interact(user)
|
||||||
|
|
||||||
|
/obj/machinery/mineral/stacking_unit_console/interact(mob/user)
|
||||||
|
user.set_machine(src)
|
||||||
|
|
||||||
var/dat
|
var/dat
|
||||||
|
|
||||||
@@ -60,6 +68,7 @@
|
|||||||
dat += text("<br>Stacking: [machine.stack_amt]<br><br>")
|
dat += text("<br>Stacking: [machine.stack_amt]<br><br>")
|
||||||
|
|
||||||
user << browse("[dat]", "window=console_stacking_machine")
|
user << browse("[dat]", "window=console_stacking_machine")
|
||||||
|
onclose(user, "console_stacking_machine")
|
||||||
|
|
||||||
/obj/machinery/mineral/stacking_unit_console/Topic(href, href_list)
|
/obj/machinery/mineral/stacking_unit_console/Topic(href, href_list)
|
||||||
if(..())
|
if(..())
|
||||||
|
|||||||
Reference in New Issue
Block a user