BaseType

From EXW Docs
Jump to navigation Jump to search

BaseType

For each type, the table lists each field, type, default value (if applicable), and definition.

Field Type Default Definition
modelName String - Name of the model for this item.
modelLocation String - Location of the Wavefront OBJ file, stemming from "assets/exw/wavefront/<object type>/"

Deprecated: Use modelName to specify the name of your model file.

loadWavefront Boolean false Whether this type should try to load a Wavefront OBJ model from modelLocation.

Deprecated: Use ModelType to determine which type of model this item has.

modelType ModelType ModelType.TOOLBOX Determines which type of model will be loaded.
maxStackSize Integer - The maximum stack size for this item. (If not specified, a default value will be used depending on the type.)
modelSkins SkinType[] - The skins available for this item.
internalName String - The unlocalized name for this item.
displayName String - The display name for this item.
iconName String - The name of the icon for this item.