Daedalus Dock - Modules - TypesVar Details - Proc Details

adventure_db_entry

Vars

approvedUnapproved adventures won't be used for exploration sites.
iddb id or null for freshly created adventures
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
timestampTime of last change.
uploaderckey of last change user.
versionjson version

Procs

create_adventureCreates new adventure instance
extract_metadataExtracts fields that are used by adventure browser / generation before instantiating
refreshUpdates this entry from db, if possible.
removeDeletes the local AND db entry.
savePushes this entry changes to DB
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.

id

db id or null for freshly created adventures

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

timestamp

Time of last change.

uploader

ckey of last change user.

version

json version

Proc Details

create_adventure

Creates new adventure instance

extract_metadata

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

refresh

Updates this entry from db, if possible.

remove

Deletes the local AND db entry.

save

Pushes this entry changes to DB

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