Code: Select all
defineObject{
name = "rusty_key",
components = {
{
class = "Model",
model = "assets/models/items/key_brass.fbx",
},
{
class = "Item",
uiName = "Rusty_Key",
gfxAtlas = "assets/textures/gui/items_atlas.tga",
gfxIndex = 5,
weight = 0.5,
traits = { "key" },
description = "This key has seen better days."
}
}
}
Thanks for all your help, I'm gettin' there...slowly...