Mortar clone not working - pls help
Posted: Mon Feb 04, 2013 11:45 pm
Iam trying to clone mortar and pestle for anvil type item, which will enable to craft some items (I do not mind that they will be craftable in the original mortar also)
I need help to define such an object. It is possible ? When I am trying to make some mortar clone, it is not working at the end (output item is not spawn)
I tried also to define it as follows, but it is not working as well :/ I am missing something ?
cloneObject{
name = "anvil",
baseObject = "mortar",
uiName = "Anvil",
model = "mod_assets/models/anvil.fbx",
gfxAtlas = "mod_assets/textures/itemy.tga",
gfxIndex = 22,
}
defineObject{
name = "anvil",
class = "Item",
uiName = "Anvil",
weight = 10,
model = "mod_assets/models/anvil.fbx",
gfxAtlas = "mod_assets/textures/itemy.tga",
gfxIndex = 22,
container = true,
containerType = "mortar",
capacity = 7,
}
I need help to define such an object. It is possible ? When I am trying to make some mortar clone, it is not working at the end (output item is not spawn)
I tried also to define it as follows, but it is not working as well :/ I am missing something ?
cloneObject{
name = "anvil",
baseObject = "mortar",
uiName = "Anvil",
model = "mod_assets/models/anvil.fbx",
gfxAtlas = "mod_assets/textures/itemy.tga",
gfxIndex = 22,
}
defineObject{
name = "anvil",
class = "Item",
uiName = "Anvil",
weight = 10,
model = "mod_assets/models/anvil.fbx",
gfxAtlas = "mod_assets/textures/itemy.tga",
gfxIndex = 22,
container = true,
containerType = "mortar",
capacity = 7,
}