Daedalus Dock - Modules - TypesVar Details - Proc Details

persistent_paintings

Vars

admin_painting_dataA list of paintings' data for paintings that are currently stored in the library, with admin metadata
cached_painting_dataA list of paintings' data for paintings that are currently stored in the library.
deleted_paintings_md5sHashes of paintings deleted this round
frame_types_by_patronage_tierThe list of available frame reskins (they are purely cosmetic) and the associated patronage amount required for them.
painting_framesA list of painting frames that this controls
paintingsA list of /datum/paintings saved or ready to be saved this round.

Procs

get_available_framesreturns a list of cosmetic frames which patronage tier values are are within credit_value. If only_current_tier is TRUE, the list will be populated only by the ones from the highest tier.
get_paintings_with_tagReturns paintings with given tag.
painting_ui_dataGenerates painting data ready to be consumed by ui. Args:
save_paintingsSaves all persistent paintings
save_to_fileSaves all currently tracked painting data to file
update_formatUpdates paintings data format to latest if necessary

Var Details

admin_painting_data

A list of paintings' data for paintings that are currently stored in the library, with admin metadata

cached_painting_data

A list of paintings' data for paintings that are currently stored in the library.

deleted_paintings_md5s

Hashes of paintings deleted this round

frame_types_by_patronage_tier

The list of available frame reskins (they are purely cosmetic) and the associated patronage amount required for them.

painting_frames

A list of painting frames that this controls

paintings

A list of /datum/paintings saved or ready to be saved this round.

Proc Details

get_available_frames

returns a list of cosmetic frames which patronage tier values are are within credit_value. If only_current_tier is TRUE, the list will be populated only by the ones from the highest tier.

get_paintings_with_tag

Returns paintings with given tag.

painting_ui_data

Generates painting data ready to be consumed by ui. Args:

save_paintings

Saves all persistent paintings

save_to_file

Saves all currently tracked painting data to file

update_format

Updates paintings data format to latest if necessary