mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
[MIRROR] Arconomy Adjacent Content: Newscaster Refactor Omega [MDB IGNORE] (#12304)
* Arconomy Adjacent Content: Newscaster Refactor Omega * Fixed all of the issues that resulted from the repathing * Fixed our modularized priority_announce.dm * Deleted newscaster.dm because it was still there due to two comments that weren't overly important * Fixed merge conflicts for delta * Fixed a bunch of skyrat maps so they compile :) * I forgor a few more maps * Add newscaster_bounty for our newscaster sprite (#12344) Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com> Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
co-authored by
ArcaneMusic
GoldenAlpharex
Tastyfish
parent
6ff7ebaeb4
commit
cf7583a785
@@ -6,7 +6,7 @@
|
||||
extended_desc = "A multi-platform network for placing requests across the station, with payment across the network being possible.."
|
||||
requires_ntnet = TRUE
|
||||
size = 10
|
||||
tgui_id = "NtosRequestKiosk"
|
||||
tgui_id = "NtosBountyBoard"
|
||||
///Reference to the currently logged in user.
|
||||
var/datum/bank_account/current_user
|
||||
///The station request datum being affected by UI actions.
|
||||
@@ -23,6 +23,20 @@
|
||||
var/list/formatted_requests = list()
|
||||
var/list/formatted_applicants = list()
|
||||
var/obj/item/computer_hardware/card_slot/card_slot = computer.all_components[MC_CARD]
|
||||
if(current_user)
|
||||
data["user"] = list()
|
||||
data["user"]["name"] = current_user.account_holder
|
||||
if(current_user.account_job)
|
||||
data["user"]["job"] = current_user.account_job.title
|
||||
data["user"]["department"] = current_user.account_job.paycheck_department
|
||||
else
|
||||
data["user"]["job"] = "No Job"
|
||||
data["user"]["department"] = "No Department"
|
||||
else
|
||||
data["user"] = list()
|
||||
data["user"]["name"] = user.name
|
||||
data["user"]["job"] = "N/A"
|
||||
data["user"]["department"] = "N/A"
|
||||
if(!networked)
|
||||
GLOB.allbountyboards += computer
|
||||
networked = TRUE
|
||||
@@ -92,6 +106,7 @@
|
||||
return
|
||||
request_target.transfer_money(current_user, active_request.value)
|
||||
computer.say("Paid out [active_request.value] credits.")
|
||||
GLOB.request_list.Remove(active_request)
|
||||
return TRUE
|
||||
if("clear")
|
||||
if(current_user)
|
||||
|
||||
Reference in New Issue
Block a user