Academy automated printing press
makes books and pamphlets.
Vars | |
alchemical_symbols | alchemical symbols (because theres a lot of them) |
---|---|
book_amount | how many books to make? |
book_author | who made the book? |
book_cover | what cover design to use? |
book_info | what text will the made books have? |
book_info_raw | raw version of the text, for editing. |
book_name | whats the made book's name? |
books_upgrade | FALSE by default, set to TRUE when custom book covers upgrade is installed |
colorable_flairs | flairs that can be coloured |
colorable_symbols | list of symbols that can be coloured |
colors_upgrade | FALSE by default, set to TRUE when ink colors upgrade is installed |
cover_color | white by default, what colour will our book be? |
cover_designs | list of covers to choose from |
cover_flair | whats the "flair" thing on the book? |
cover_symbol | what symbol is on our front cover? |
flair_color | white by default, whats the color of the flair (if its colorable)? |
flair_colorable | this is a bugfix for non-colourable flairs being coloured |
forbidden_upgrade | FALSE by default, set to TRUE when forbidden covers/symbols/styles upgrade is installed |
headline_len_lim | headlines can be 128 characters max, unlike book titles |
info_len_lim | 64 character titles/author names max |
ink_color | what color is the text written in? |
ink_level | decrements by 2 for each book printed, can be refilled (expensively) |
is_running | TRUE if its working, FALSE when idle/depowered |
newspaper_amount | Amount of newspapers to print |
newspaper_headline | headline of the newspaper. Saved separately to book details. |
newspaper_info | The contents of the article |
newspaper_info_raw | raw version of newspaper_info, for editing |
newspaper_publisher | the name of the newspaper e.g. Nanotrasen Daily. |
newspaper_upgrade | False by default, set to true when newspaper printing upgrade is installed. |
non_writing_icons | just the bible for now. add covers to this list if their icon file isnt icons/obj/writing.dmi |
paper_amt | empty by default, 0 to 70 |
press_modes | the default modes, can be expanded to have "Ink Colors" and "Custom Cover" |
standard_flairs | flairs that can't be coloured |
standard_symbols | symbols that can't be coloured |
symbol_color | white by default, if our symbol is colourable, what colour is it? |
symbol_colorable | this is a bugfix for non-colourable symbols being coloured |
was_paper | workaround for now, need to update icon if paper_amt is 0 to clear overlay |
Procs | |
convert_input | HTML encodes input and converts bbcode to HTML |
trim_input | trim text down to max length for contents |
Var Details
alchemical_symbols
alchemical symbols (because theres a lot of them)
book_amount
how many books to make?
book_author
who made the book?
book_cover
what cover design to use?
book_info
what text will the made books have?
book_info_raw
raw version of the text, for editing.
book_name
whats the made book's name?
books_upgrade
FALSE by default, set to TRUE when custom book covers upgrade is installed
colorable_flairs
flairs that can be coloured
colorable_symbols
list of symbols that can be coloured
colors_upgrade
FALSE by default, set to TRUE when ink colors upgrade is installed
cover_color
white by default, what colour will our book be?
cover_designs
list of covers to choose from
cover_flair
whats the "flair" thing on the book?
cover_symbol
what symbol is on our front cover?
flair_color
white by default, whats the color of the flair (if its colorable)?
flair_colorable
this is a bugfix for non-colourable flairs being coloured
forbidden_upgrade
FALSE by default, set to TRUE when forbidden covers/symbols/styles upgrade is installed
headline_len_lim
headlines can be 128 characters max, unlike book titles
info_len_lim
64 character titles/author names max
ink_color
what color is the text written in?
ink_level
decrements by 2 for each book printed, can be refilled (expensively)
is_running
TRUE if its working, FALSE when idle/depowered
newspaper_amount
Amount of newspapers to print
newspaper_headline
headline of the newspaper. Saved separately to book details.
newspaper_info
The contents of the article
newspaper_info_raw
raw version of newspaper_info, for editing
newspaper_publisher
the name of the newspaper e.g. Nanotrasen Daily.
newspaper_upgrade
False by default, set to true when newspaper printing upgrade is installed.
non_writing_icons
just the bible for now. add covers to this list if their icon file isnt icons/obj/writing.dmi
paper_amt
empty by default, 0 to 70
press_modes
the default modes, can be expanded to have "Ink Colors" and "Custom Cover"
standard_flairs
flairs that can't be coloured
standard_symbols
symbols that can't be coloured
symbol_color
white by default, if our symbol is colourable, what colour is it?
symbol_colorable
this is a bugfix for non-colourable symbols being coloured
was_paper
workaround for now, need to update icon if paper_amt is 0 to clear overlay
Proc Details
convert_input
HTML encodes input and converts bbcode to HTML
trim_input
trim text down to max length for contents