asset_util¶
Source: base/tealdef/scripts/construction/asset_util.d.tl
Notes
Types of /scripts/construction/asset_util.tl (AssetUtil), the table of named asset groups that
addModelsAndGroups picks random models from.
AssetUtil¶
record global base/tealdef/scripts/construction/asset_util.d.tl:3
global record AssetUtil
Load: local asset_util = require "/scripts/construction/asset_util.tl"
Notes
The asset group table returned by ug_require "/scripts/construction/asset_util.tl". Generated data
that names a group gets a random model from assets[name].
Fields
| Name | Type | Description |
|---|---|---|
assets |
{string : ModelList} |
Map of asset group names to list of model file paths used 1× in the base game |
AssetUtil.ModelList¶
record base/tealdef/scripts/construction/asset_util.d.tl:4
record ModelList is {string}
paths pointing to .mdl files