custom_icon ![code/modules/mapping/mapping_helpers.dm 780](git.png)
Fetches an external dmi and applies to the target object
Vars | |
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. |
Var Details
icon_file ![code/modules/mapping/mapping_helpers.dm 790](git.png)
The icon file we fetched from the http get request.
icon_url ![code/modules/mapping/mapping_helpers.dm 786](git.png)
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 ![code/modules/mapping/mapping_helpers.dm 784](git.png)
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.