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,
}
Mortar clone not working - pls help
Re: Mortar clone not working - pls help
nobody tried ? :/
Re: Mortar clone not working - pls help
no idea, sorry
maybe it's just too hard-coded
maybe it's just too hard-coded
Finished Dungeons - complete mods to play
Re: Mortar clone not working - pls help
Sorry for dust off this thread.
I´ve found a way to make a mortar as anvil or something else.
Make a object like:
And a recipe as the following:
Important is the entry " craftingTool = "anvil", ". That is the little thing whereby it works. I´ve tested it a few times.
I´ve found a way to make a mortar as anvil or something else.
Make a object like:
Code: Select all
defineObject{
name = "anvil",
class = "Item",
uiName = "Anvil",
model = "mod_assets/models/items/anvil.fbx",
gfxAtlas = "mod_assets/textures/mod_items.tga",
gfxIndex = 27,
weight = 0.2,
container = true,
containerType = "mortar",
capacity = 7,
}Code: Select all
defineRecipe{
item = "gear_key",
craftingTool = "anvil",
ingredients = {
1, "iron_key",
1, "gear_necklace",
}
}Re: Mortar clone not working - pls help
Hello,maneus wrote:Sorry for dust off this thread.
I´ve found a way to make a mortar as anvil or something else.
Make a object like:
Important is the entry " craftingTool = "anvil", ". That is the little thing whereby it works. I´ve tested it a few times.SpoilerShowAnd a recipe as the following:Code: Select all
defineObject{ name = "anvil", class = "Item", uiName = "Anvil", model = "mod_assets/models/items/anvil.fbx", gfxAtlas = "mod_assets/textures/mod_items.tga", gfxIndex = 27, weight = 0.2, container = true, containerType = "mortar", capacity = 7, }
Code: Select all
defineRecipe{ item = "gear_key", craftingTool = "anvil", ingredients = { 1, "iron_key", 1, "gear_necklace", } }
Thanks for that Maneus!
It is realy helpful!
Re: Mortar clone not working - pls help
No problem Mr. bongobeat. 
