[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:
SkyratBot
2022-03-28 23:30:28 +01:00
committed by GitHub
co-authored by ArcaneMusic GoldenAlpharex Tastyfish
parent 6ff7ebaeb4
commit cf7583a785
52 changed files with 43051 additions and 42458 deletions
@@ -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)