diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-02-04 02:20:05 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-02-04 02:20:05 +0200 |
commit | 61016962ee147636800e9c9375131b5087801b0c (patch) | |
tree | d7cf5209b4eef78b52bab78b764d5dd897bf39cb /data/mods | |
parent | a1eb2836c0764829ebad1462432bb3c5f32750df (diff) | |
download | minetest-61016962ee147636800e9c9375131b5087801b0c.tar.gz minetest-61016962ee147636800e9c9375131b5087801b0c.tar.bz2 minetest-61016962ee147636800e9c9375131b5087801b0c.zip |
Add groups = {} to item definition
Diffstat (limited to 'data/mods')
-rw-r--r-- | data/mods/default/init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index f0e6b6dc2..d07337379 100644 --- a/data/mods/default/init.lua +++ b/data/mods/default/init.lua @@ -308,6 +308,12 @@ -- Item definition options (register_node, register_craftitem, register_tool) -- { -- description = "Steel Axe", +-- groups = {}, -- key=name, value=rating; rating=1..3. +-- if rating not applicable, use 1. +-- eg. {wool=1, fluffy=3} +-- {soil=2, outerspace=1, crumbly=1} +-- {hard=3, brittle=3, spikes=2 +-- {hard=1, metal=1, spikes=1} -- inventory_image = "default_tool_steelaxe.png", -- wield_image = "", -- wield_scale = {x=1,y=1,z=1}, |