Update mini documentation in mods/default/init.lua a bit

master
Perttu Ahola 2012-03-10 01:46:05 +02:00
parent f9da2c9507
commit 1ae9e0afa1
1 changed files with 8 additions and 11 deletions

View File

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