but a lot of dropped items cause lag when viewing them and items disappear after 900s, I think.Krock wrote:Drops the stuff. Solved.Code: Select all
minetest.register_abm({ nodenames = {"bones:bones"}, interval = 1, chance = 1, action = function(pos, node) local meta = minetest.get_meta(pos) local inv = meta:get_inventory() for i = 1, inv:get_size("main") do local stack = inv:get_stack("main", i) if not stack:is_empty() then minetest.add_item(pos, stk) end end minetest.remove_node(pos) end })
How do you disable the bones mod in minetest 4.7?
- Hybrid Dog
- Member
- Posts: 2836
- Joined: Thu Nov 01, 2012 12:46
- GitHub: HybridDog
Re: How do you disable the bones mod in minetest 4.7?
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: How do you disable the bones mod in minetest 4.7?
If you just drop it then you end up with all kinds of entities laying around. Why not just leave it in the bones?
- Hybrid Dog
- Member
- Posts: 2836
- Joined: Thu Nov 01, 2012 12:46
- GitHub: HybridDog
Re: How do you disable the bones mod in minetest 4.7?
the bones become removedcornernote wrote:Why not just leave it in the bones?
-
- Member
- Posts: 844
- Joined: Wed Jul 11, 2012 15:02
Re: How do you disable the bones mod in minetest 4.7?
Let me rephrase... If you are putting the items on the ground, then why remove the bones? I would think its a lot tidier to leave the items in the bones than on the ground.
- Hybrid Dog
- Member
- Posts: 2836
- Joined: Thu Nov 01, 2012 12:46
- GitHub: HybridDog
Re: How do you disable the bones mod in minetest 4.7?
Yes, but the bones wouldn't be disabled.cornernote wrote:Let me rephrase... If you are putting the items on the ground, then why remove the bones? I would think its a lot tidier to leave the items in the bones than on the ground.
Who is online
Users browsing this forum: No registered users and 18 guests