forked from luanti-org/minetest_game
		
	Sort loot registration into respective mods (#2602)
This commit is contained in:
		| @@ -225,3 +225,16 @@ minetest.register_craft({ | ||||
| 	replacements = {{"bucket:bucket_lava", "bucket:bucket_empty"}}, | ||||
| }) | ||||
|  | ||||
| -- Register buckets as dungeon loot | ||||
| if minetest.global_exists("dungeon_loot") then | ||||
| 	dungeon_loot.register({ | ||||
| 		{name = "bucket:bucket_empty", chance = 0.55}, | ||||
| 		-- water in deserts/ice or above ground, lava otherwise | ||||
| 		{name = "bucket:bucket_water", chance = 0.45, | ||||
| 			types = {"sandstone", "desert", "ice"}}, | ||||
| 		{name = "bucket:bucket_water", chance = 0.45, y = {0, 32768}, | ||||
| 			types = {"normal"}}, | ||||
| 		{name = "bucket:bucket_lava", chance = 0.45, y = {-32768, -1}, | ||||
| 			types = {"normal"}}, | ||||
| 	}) | ||||
| end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user