/tg/ Station 13 - Modules - TypesVar Details

custom_icon

Fetches an external dmi and applies to the target object

Vars

icon_fileThe icon file we fetched from the http get request.
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?raw=true"
target_variableThis is the var that will be set with the fetched icon. In case you want to set some secondary icon sheets like inhands and such.

Var Details

icon_file

The icon file we fetched from the http get request.

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?raw=true"

target_variable

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