From 1ae9e0afa12f8a8db62b8f1501dfca459b752739 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 10 Mar 2012 01:46:05 +0200 Subject: [PATCH] Update mini documentation in mods/default/init.lua a bit --- data/mods/default/init.lua | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/data/mods/default/init.lua b/data/mods/default/init.lua index c909aa31..c37f0e81 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), -- 2.30.2