/tg/ Station 13 - Modules - TypesVar Details

admin_book_viewer

Weaps around a book's sql data, feeds it into a ui that allows us to at base view the contents of the book

Vars

authorThe display name for the book, taken from the player's character
author_ckeyThe ckey of the user who triggered the upload request
categoryCategory the book falls into, see SSlibrary.search_categories
contentThe full text of the book, stored raw
creation_roundThe round id the book was uploaded in
creation_timeThe time of day at which the book was uploaded
deletedBoolean, flips to true to "hide" a book from public viewing. Defaults to null
historyRepresents the full admin record of this book, as of the view request. Datumized to make it easier to deal with.
idThe book id. Incremental, goes up over time
owner_refWeakref to the /obj/machinery/computer/libraryconsole/admin_only_do_not_map_in_you_fucker that spawned us
titleTitle of the book
view_rawIf we're displaying raw data or rendered markdown

Var Details

author

The display name for the book, taken from the player's character

author_ckey

The ckey of the user who triggered the upload request

category

Category the book falls into, see SSlibrary.search_categories

content

The full text of the book, stored raw

creation_round

The round id the book was uploaded in

creation_time

The time of day at which the book was uploaded

deleted

Boolean, flips to true to "hide" a book from public viewing. Defaults to null

history

Represents the full admin record of this book, as of the view request. Datumized to make it easier to deal with.

id

The book id. Incremental, goes up over time

owner_ref

Weakref to the /obj/machinery/computer/libraryconsole/admin_only_do_not_map_in_you_fucker that spawned us

title

Title of the book

view_raw

If we're displaying raw data or rendered markdown