Update mini documentation in mods/default/init.lua a bit
authorPerttu Ahola <celeron55@gmail.com>
Fri, 9 Mar 2012 23:46:05 +0000 (01:46 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 10 Mar 2012 09:28:14 +0000 (11:28 +0200)
data/mods/default/init.lua

index c909aa31d4b18d43be35a66e05136d95b6eccb83..c37f0e8155507eede4671792827d7769509eb51b 100644 (file)
 --                     if rating not applicable, use 1.
 --                     eg. {wool=1, fluffy=3}
 --                         {soil=2, outerspace=1, crumbly=1}
---                         {hard=3, brittle=3, spikes=2
+--                         {bendy=2, snappy=1},
 --                         {hard=1, metal=1, spikes=1}
 --     inventory_image = "default_tool_steelaxe.png",
 --     wield_image = "",
 --     liquids_pointable = false,
 --     tool_capabilities = {
 --         full_punch_interval = 1.0,
---         basetime = 1.0,
---         dt_weight = 0.5,
---         dt_crackiness = -0.2,
---         dt_crumbliness = 1,
---         dt_cuttability = -0.5,
---         basedurability = 330,
---         dd_weight = 0,
---         dd_crackiness = 0,
---         dd_crumbliness = 0,
---         dd_cuttability = 0,
+--         max_drop_level=0,
+--         groupcaps={
+--             -- For example:
+--             fleshy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1},
+--             snappy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1},
+--             choppy={times={[3]=0.90}, maxwear=0.05, maxlevel=0}
+--         }
 --     }
 --     on_drop = func(item, dropper, pos),
 --     on_place = func(item, placer, pointed_thing),