aboutsummaryrefslogtreecommitdiff
path: root/data/mods/default
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-10 01:46:05 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-10 11:28:14 +0200
commit1ae9e0afa12f8a8db62b8f1501dfca459b752739 (patch)
treef522851000f06628ca6033d2a8e151a8c597331e /data/mods/default
parentf9da2c9507f10a9193c9bd94d69cc85e53b58ba2 (diff)
downloadminetest-1ae9e0afa12f8a8db62b8f1501dfca459b752739.tar.gz
minetest-1ae9e0afa12f8a8db62b8f1501dfca459b752739.tar.bz2
minetest-1ae9e0afa12f8a8db62b8f1501dfca459b752739.zip
Update mini documentation in mods/default/init.lua a bit
Diffstat (limited to 'data/mods/default')
-rw-r--r--data/mods/default/init.lua19
1 files changed, 8 insertions, 11 deletions
diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua
index c909aa31d..c37f0e815 100644
--- a/data/mods/default/init.lua
+++ b/data/mods/default/init.lua
@@ -316,7 +316,7 @@
-- 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 = "",
@@ -325,16 +325,13 @@
-- 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),