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

adventure_db_entry

Vars

approvedUnapproved adventures won't be used for exploration sites.
filenamefilename of the adventure
nameadventure name
placedWas the adventure used for exploration site this round.
raw_jsonactual adventure json string
required_site_traitsrequired site traits to use this adventure
uploaderwhoever made the json
versionjson version

Procs

create_adventureCreates new adventure instance
extract_metadataExtracts fields that are used by adventure browser / generation before instantiating
try_loading_adventureParses adventure JSON and returns /datum/adventure instance on success
valid_for_useCheck if the adventure usable for given exploration site traits

Var Details

approved

Unapproved adventures won't be used for exploration sites.

filename

filename of the adventure

name

adventure name

placed

Was the adventure used for exploration site this round.

raw_json

actual adventure json string

required_site_traits

required site traits to use this adventure

uploader

whoever made the json

version

json version

Proc Details

create_adventure

Creates new adventure instance

extract_metadata

Extracts fields that are used by adventure browser / generation before instantiating

try_loading_adventure

Parses adventure JSON and returns /datum/adventure instance on success

valid_for_use

Check if the adventure usable for given exploration site traits