forked from Mirrorlandia_minetest/minetest
Lua_api.txt: Fix description of node drop behaviour
This commit is contained in:
parent
91f68e7d11
commit
d6865c4d8d
@ -3612,8 +3612,8 @@ Definition tables
|
|||||||
max_items = 1, -- Maximum number of items to drop.
|
max_items = 1, -- Maximum number of items to drop.
|
||||||
items = { -- Choose max_items randomly from this list.
|
items = { -- Choose max_items randomly from this list.
|
||||||
{
|
{
|
||||||
items = {"foo:bar", "baz:frob"}, -- Choose one item randomly from this list.
|
items = {"foo:bar", "baz:frob"}, -- Items to drop.
|
||||||
rarity = 1, -- Probability of getting is 1 / rarity.
|
rarity = 1, -- Probability of dropping is 1 / rarity.
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user