Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/asset/spritesheet

Vars

load_immediatelyIf this asset should be fully loaded on new Defaults to false so we can process this stuff nicely
to_generateList of arguments to pass into queuedInsert Exists so we can queue icon insertion, mostly for stuff like preferences

Procs

create_spritesheetsOverride this in order to start the creation of the spritehseet. This is where all your Insert, InsertAll, etc calls should be inside.
get_background_urlReturns the URL to put in the background:url of the CSS asset
icon_size_idReturns the size class (ex design32x32) for a given sprite's icon

Var Details

load_immediately

If this asset should be fully loaded on new Defaults to false so we can process this stuff nicely

to_generate

List of arguments to pass into queuedInsert Exists so we can queue icon insertion, mostly for stuff like preferences

Proc Details

create_spritesheets

Override this in order to start the creation of the spritehseet. This is where all your Insert, InsertAll, etc calls should be inside.

get_background_url

Returns the URL to put in the background:url of the CSS asset

icon_size_id

Returns the size class (ex design32x32) for a given sprite's icon

Arguments: