Module libr35.utils.custom_assets
Utility functions to handle loading Custom UI Assets
Functions
add_custom_asset (t, name, url) | Adds a Tabletop Simulator Custom UI Asset if it doesn't exist already |
has_custom_asset (name, url) | Checks to see if a Custom UI Asset exists |
Functions
- add_custom_asset (t, name, url)
-
Adds a Tabletop Simulator Custom UI Asset if it doesn't exist already
Parameters:
- t table
- name string
- url string
Returns:
-
table (list of name and urls)
- has_custom_asset (name, url)
-
Checks to see if a Custom UI Asset exists
Parameters:
- name string
- url string
Returns:
-
boolean