1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-22 07:38:48 -05:00

Lua_api.txt: Fix description of node drop behaviour

This commit is contained in:
Duane 2016-07-11 09:46:01 -05:00 committed by paramat
parent 91f68e7d11
commit d6865c4d8d

View File

@ -3612,8 +3612,8 @@ Definition tables
max_items = 1, -- Maximum number of items to drop.
items = { -- Choose max_items randomly from this list.
{
items = {"foo:bar", "baz:frob"}, -- Choose one item randomly from this list.
rarity = 1, -- Probability of getting is 1 / rarity.
items = {"foo:bar", "baz:frob"}, -- Items to drop.
rarity = 1, -- Probability of dropping is 1 / rarity.
},
},
},