1
0
Fork 0

fix documentation

This commit is contained in:
AFCMS 2021-07-14 15:22:27 +02:00
parent 8fff20eec9
commit 873a1e73dc
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ Accept folowing params:
* string: name of the node to place * string: name of the node to place
* function(pos): will returns name of the node to place with pos being the placement position * function(pos): will returns name of the node to place with pos being the placement position
* source_take: table of liquid source node names to take * source_take: table of liquid source node names to take
* itemname: itemstring of the new bucket item (or nil if liquid is not takeable) * bucketname: itemstring of the new bucket item
* inventory_image: texture of the new bucket item (ignored if itemname == nil) * inventory_image: texture of the new bucket item (ignored if itemname == nil)
* name: user-visible bucket description * name: user-visible bucket description
* longdesc: long explanatory description (for help) * longdesc: long explanatory description (for help)
@ -22,7 +22,7 @@ Accept folowing params:
**Usage exemple:** **Usage exemple:**
```lua ```lua
mcl_buckets.register_liquid({ mcl_buckets.register_liquid({
itemname = "dummy:bucket_dummy", bucketname = "dummy:bucket_dummy",
--source_place = "dummy:dummy_source", --source_place = "dummy:dummy_source",
source_place = function(pos) source_place = function(pos)
if condition then if condition then