mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-30 13:50:23 +02:00
Support for icesheet dungeons in dungeon_loot
This commit is contained in:
@ -276,7 +276,7 @@ The mod that places chests with loot in dungeons provides an API to register add
|
||||
name = "item:name",
|
||||
chance = 0.5,
|
||||
-- ^ chance value from 0.0 to 1.0 that the item will appear in the chest when chosen
|
||||
-- due to an extra step in the selection process, 0.5 does not(!) mean that
|
||||
-- Due to an extra step in the selection process, 0.5 does not(!) mean that
|
||||
-- on average every second chest will have this item
|
||||
count = {1, 4},
|
||||
-- ^ table with minimum and maximum amounts of this item
|
||||
@ -286,7 +286,8 @@ The mod that places chests with loot in dungeons provides an API to register add
|
||||
-- optional, defaults to no height restrictions
|
||||
types = {"desert"},
|
||||
-- ^ table with types of dungeons this item can be found in
|
||||
-- supported types: "normal" (the cobble/mossycobble one), "sandstone", "desert"
|
||||
-- supported types: "normal" (the cobble/mossycobble one), "sandstone"
|
||||
-- "desert" and "ice"
|
||||
-- optional, defaults to no type restrictions
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user