SS1984 - Modules - TypesVar Details - Proc Details

bookcase

Vars

allowed_booksTypecache of the things allowed in the bookcase. Populated in [/proc/generate_allowed_books()] on Initialize.
books_to_loadHow many random books to generate.
load_random_booksWhen enabled, books_to_load number of random books will be generated for this bookcase when first interacted with.
random_categoryThe category of books to pick from when populating random books.

Procs

generate_allowed_booksPopulates typecache with the things allowed to store
take_contentsThis is called on Initialize to add contents on the tile

Var Details

allowed_books

Typecache of the things allowed in the bookcase. Populated in [/proc/generate_allowed_books()] on Initialize.

books_to_load

How many random books to generate.

load_random_books

When enabled, books_to_load number of random books will be generated for this bookcase when first interacted with.

random_category

The category of books to pick from when populating random books.

Proc Details

generate_allowed_books

Populates typecache with the things allowed to store

take_contents

This is called on Initialize to add contents on the tile