mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-10 23:47:08 +01:00
A large set of ops program fixes + elevator ghost sound fix (#22278)
- bugfix: "Fixed the operations status display screens not showing the elevator status." - bugfix: "Fixed the cargo delivery program not displaying the account that was used to pay for an order with." - bugfix: "Fixed the cargo delivery program not displaying shipped orders regardless of payment status." - bugfix: "Fixed the ghostly ambience on the operations lift and the lift near security." - bugfix: "The operations program now displays the elevator time in seconds instead of minutes, given the minutes would always show 0."
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
if(shuttle)
|
||||
data["shuttle_available"] = 1
|
||||
data["shuttle_has_arrive_time"] = shuttle.has_arrive_time()
|
||||
data["shuttle_eta_minutes"] = shuttle.eta_minutes()
|
||||
data["shuttle_eta_seconds"] = shuttle.eta_seconds()
|
||||
data["shuttle_can_launch"] = shuttle.can_launch()
|
||||
data["shuttle_can_cancel"] = shuttle.can_cancel()
|
||||
data["shuttle_can_force"] = shuttle.can_force()
|
||||
|
||||
@@ -36,7 +36,9 @@
|
||||
data["id_name"] = id_card ? id_card.name : "-----"
|
||||
|
||||
//Pass the shipped orders
|
||||
data["order_list"] = SScargo.get_orders_by_status("shipped",1) + SScargo.get_orders_by_status("approved",1)
|
||||
var/list/order_list = SScargo.get_orders_by_status("shipped", TRUE) + SScargo.get_orders_by_status("approved", TRUE) + SScargo.get_orders_by_status("Unpaid", TRUE, list("shipped", "approved"))
|
||||
|
||||
data["order_list"] = order_list
|
||||
|
||||
//Pass along the order details
|
||||
data["order_details"] = order_details
|
||||
@@ -137,7 +139,7 @@
|
||||
charge_card.worth -= transaction_amount
|
||||
|
||||
playsound(computer, 'sound/machines/chime.ogg', 50, TRUE)
|
||||
status_message = co.set_paid(GetNameAndAssignmentFromId(id_card), usr.character_id)
|
||||
status_message = co.set_paid(GetNameAndAssignmentFromId(id_card), usr.character_id, destinationact)
|
||||
order_details = co.get_list()
|
||||
else
|
||||
status_message = "Unable to process - Network Card or Card Reader Missing"
|
||||
|
||||
Reference in New Issue
Block a user