When i register a tool it can dig anything..

User avatar
Chinchow
Member
 
Posts: 683
Joined: Tue Sep 18, 2012 21:37

When i register a tool it can dig anything..

by Chinchow » Sat Feb 09, 2013 02:25

minetest.register_tool("fantasyores:taron_slasher", {
description = "Taron Slasher",
inventory_image = "taron_sword.png",
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=0,
groupcaps={
fleshy={times={[1]=2.00, [2]=2.00, [3]=2.01}, uses=60, maxlevel=1}
}
},
})


theres the code am i doing something wrong?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11

by Aqua » Sat Feb 09, 2013 02:34

1. Do you mean can or can't dig anything?
2. If can't its because you put fleshy. You have to put snappy or cracky for it to dig things like cobble.
3. Post in modding questions topic.
Hi there ^.~
 

User avatar
Chinchow
Member
 
Posts: 683
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Sat Feb 09, 2013 03:45

1.I will next time
2.it can dig anything and I don't want it to
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 5 guests

cron