painting ![code/modules/art/paintings.dm 526](git.png)
Vars | |
accepted_canvas_types | The list of canvas types accepted by this frame |
---|---|
current_canvas | Canvas we're currently displaying. |
desc_with_canvas | Description set when canvas is added. |
wallframe_type | the type of wallframe it 'disassembles' into |
Procs | |
load_persistent | Loads a painting from SSpersistence. Called globally by said subsystem when it inits |
Var Details
accepted_canvas_types ![code/modules/art/paintings.dm 541](git.png)
The list of canvas types accepted by this frame
current_canvas ![code/modules/art/paintings.dm 536](git.png)
Canvas we're currently displaying.
desc_with_canvas ![code/modules/art/paintings.dm 538](git.png)
Description set when canvas is added.
wallframe_type ![code/modules/art/paintings.dm 549](git.png)
the type of wallframe it 'disassembles' into
Proc Details
load_persistent
Loads a painting from SSpersistence. Called globally by said subsystem when it inits
Deleting paintings leaves their json, so this proc will remove the json and try again if it finds one of those.