Shiptest 13 - Modules - TypesVar Details - Proc Details

custom_icon

Fetches an external dmi and applies to the target object

Vars

first_match_onlyWill inject into all fitting the criteria if false, otherwise first found.
icon_urlThis should return raw dmi in response to http get request. For example: "https://github.com/tgstation/SS13-sprites/raw/master/mob/medu.dmi"
target_nameWill inject into atoms with this name.
target_typeWill inject into atoms of this type.
target_variableThis is the var tha will be set with the fetched icon. In case you want to set some secondary icon sheets like inhands and such.

Procs

fetch_iconTODO put this injector stuff under common root

Var Details

first_match_only

Will inject into all fitting the criteria if false, otherwise first found.

icon_url

This should return raw dmi in response to http get request. For example: "https://github.com/tgstation/SS13-sprites/raw/master/mob/medu.dmi"

target_name

Will inject into atoms with this name.

target_type

Will inject into atoms of this type.

target_variable

This is the var tha will be set with the fetched icon. In case you want to set some secondary icon sheets like inhands and such.

Proc Details

fetch_icon

TODO put this injector stuff under common root