/tg/ Station 13 - Modules - TypesVar Details - Proc Details

bookmanagement

Vars

can_spawn_loreCan spawn secret lore item
checkout_pageThe current page we're on in the checkout listing
checkout_page_countThe current max amount of checkout pages allowed
checkoutsList of checked out books, /datum/borrowbook
dynamic_inv_loadShould we load our inventory from the bookselves in our area?
inventoryList of book info datums to display to the user as our "inventory"
inventory_pageThe current page we're on in the inventory
inventory_page_countThe current max amount of inventory pages allowed
newscaster_cooldownOur cooldown on publishing books to the newscaster's "book club" channel
printer_cooldownOur cooldown on using the printer
scannerBook scanner that will be used when uploading books to the Archive
screen_stateThe screen we're currently on, sent to the ui
show_dropdownShould we show the buttons required for changing screens?

Procs

attempt_printCall this proc to attempt a print. It will return false if the print failed, true otherwise, longside some ux Accepts a callback to call when the print "finishes"

Var Details

can_spawn_lore

Can spawn secret lore item

checkout_page

The current page we're on in the checkout listing

checkout_page_count

The current max amount of checkout pages allowed

checkouts

List of checked out books, /datum/borrowbook

dynamic_inv_load

Should we load our inventory from the bookselves in our area?

inventory

List of book info datums to display to the user as our "inventory"

inventory_page

The current page we're on in the inventory

inventory_page_count

The current max amount of inventory pages allowed

newscaster_cooldown

Our cooldown on publishing books to the newscaster's "book club" channel

printer_cooldown

Our cooldown on using the printer

scanner

Book scanner that will be used when uploading books to the Archive

screen_state

The screen we're currently on, sent to the ui

show_dropdown

Should we show the buttons required for changing screens?

Proc Details

attempt_print

Call this proc to attempt a print. It will return false if the print failed, true otherwise, longside some ux Accepts a callback to call when the print "finishes"