mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Inspector - IAA Stare, Alt-Title, and a Station Report (#29487)
* Inspector alt title and gaze * Clipboard * Apply suggestions from code review Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> * Reduces duplicate code --------- Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
co-authored by
Burzah
parent
f967158c0a
commit
e5a08230ee
@@ -1,3 +1,5 @@
|
||||
GLOBAL_VAR(station_report) // Variable to save the station report
|
||||
|
||||
#define PAPERWORK 1
|
||||
#define PHOTO 2
|
||||
|
||||
@@ -157,5 +159,16 @@
|
||||
update_icon()
|
||||
showClipboard(usr)
|
||||
|
||||
/obj/item/clipboard/station_report
|
||||
name = "station report clipboard"
|
||||
desc = "An important clipboard used to make reports on the station status, deliverable to Nanotrasen at the end of the shift. The top paper is the one formally inspected."
|
||||
|
||||
/obj/item/clipboard/station_report/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.station_report = src
|
||||
var/start_paper = new /obj/item/paper(src)
|
||||
toppaper = start_paper
|
||||
update_icon()
|
||||
|
||||
#undef PAPERWORK
|
||||
#undef PHOTO
|
||||
|
||||
Reference in New Issue
Block a user