Files
Bubberstation/code/modules/modular_computers/file_system/programs/newscasterapp.dm
John Willard 05efe0b872 Curators now have D-notice newscaster access, Officers can issue warrants (#74269)
## About The Pull Request

Newscasters now have Library access for handing out D-Notices, and
Security access for Wanted issues, instead of both being tied to Armory
access.

Also allows Ntos Newscaster to work if ran by someone without Library
access, so Curator can download the app for others if they want.

## Why It's Good For The Game

- Newscasters have turned into one of the Curator's largest gameplay
aspects and it would be nice if they were able to moderate it as well,
instead of being the Warden who has absolutely no interest in
Newscasters.
- Allowing Officers to send out Wanted issues is more just in hopes it
will result in it being used more, though it seems like a very similar
feature to the wanted posters, maybe we can merge these two together one
day.
- The Ntos Newscaster access change is more of an oversight, I like it
when people can download apps for eachother as it gives a reason to seek
others and lend them your PDA for an application you want, blocking the
person from using the app after getting a Curator to download it for
them kinda sucks in-game.

## Changelog

🆑
balance: Curators/HoP can now manage Newscaster D-Notices (previously
was Warden/HoS).
balance: Security Officers/Detectives can now issue Wanted notices on
Newscasters.
balance: Ntos Newscaster now requires Library access only to download,
not to run.
/🆑
2023-03-28 12:12:48 +01:00

38 lines
1.1 KiB
Plaintext

/datum/computer_file/program/newscaster
filename = "newscasterapp"
filedesc = "Newscaster"
transfer_access = list(ACCESS_LIBRARY)
category = PROGRAM_CATEGORY_CREW
program_icon_state = "bountyboard"
extended_desc = "This program allows any user to access the Newscaster network from anywhere."
size = 2
requires_ntnet = TRUE
available_on_ntnet = TRUE
tgui_id = "NtosNewscaster"
program_icon = "newspaper"
///The UI we use for the newscaster
var/obj/machinery/newscaster/newscaster_ui
/datum/computer_file/program/newscaster/New()
newscaster_ui = new()
return ..()
/datum/computer_file/program/newscaster/Destroy()
QDEL_NULL(newscaster_ui)
return ..()
/datum/computer_file/program/newscaster/ui_data(mob/user)
var/list/data = list()
data += newscaster_ui.ui_data(user)
return data
/datum/computer_file/program/newscaster/ui_static_data(mob/user)
var/list/data = newscaster_ui.ui_static_data(user)
return data
/datum/computer_file/program/newscaster/ui_act(action, params, datum/tgui/ui)
. = ..()
if(.)
return
return newscaster_ui.ui_act(action, params, ui)