bark wrote:I want to make/see created a mod that adds a "treasure-chest" that can only be emptied once per player.
When placed, the chest must be configured with which items it is to contain. Once configured, the chest can be opened and emptied by any player, but only once per player.
Can someone can point me in a direction as to how I can achieve this?
bark wrote:I want to make/see created a mod that adds a "treasure-chest" that can only be emptied once per player.
When placed, the chest must be configured with which items it is to contain. Once configured, the chest can be opened and emptied by any player, but only once per player.
Can someone can point me in a direction as to how I can achieve this?
Girl123 wrote:I don't know if this was said before, but could it be able to make a duplication chest? Like the Chicken Chest in MC. You put an item in and it clones it.
bark wrote:I want to make/see created a mod that adds a "treasure-chest" that can only be emptied once per player.
When placed, the chest must be configured with which items it is to contain. Once configured, the chest can be opened and emptied by any player, but only once per player.
Can someone can point me in a direction as to how I can achieve this?
Nathan.S wrote:Is it possible to create a craft that yields something that already has damage. I'm trying to add boiling water to the thirsty mod and want the canteen to loose water when it gets cooked, I know I can spawn things with damage, and initial_give can do damaged objects, but I can't seem to find a way to make a craft recipe that makes something with damage. I'll be cooking if it makes any difference.
minetest.register_on_craft(function(itemstack)
if itemstack:get_name() == "default:pick_mese" then
itemstack:set_wear(25000)
return itemstack
end
end)
Nathan.S wrote:My last post I made shortly before going to bed, and I just got up, so I didn't have a chance to try anything out, but I certainly will now. :)
Update:
Well it works as expected when crafting, but cooking things doesn't seem to trigger this. >.<
IT DOESN'T WORK FOR FURNACE COOKING RECIPES!
bark wrote:That sounds like a nice approach! But your mod seems to have old and broken / unavailable dependencies. I can't get it to work.
Users browsing this forum: No registered users and 0 guests