1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00: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.
},
},
},