mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
Remove unrequired code
This commit is contained in:
parent
8bbd2e0c46
commit
b1e8416d63
4 changed files with 4 additions and 4 deletions
|
@ -226,7 +226,7 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
-- Register buckets as dungeon loot
|
||||
if minetest.global_exists("dungeon_loot") and dungeon_loot.register then
|
||||
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
|
||||
|
|
|
@ -21,7 +21,7 @@ dofile(carts.modpath.."/rails.lua")
|
|||
dofile(carts.modpath.."/cart_entity.lua")
|
||||
|
||||
-- Register rails as dungeon loot
|
||||
if minetest.global_exists("dungeon_loot") and dungeon_loot.register then
|
||||
if minetest.global_exists("dungeon_loot") then
|
||||
dungeon_loot.register({
|
||||
name = "carts:rail", chance = 0.35, count = {1, 6}
|
||||
})
|
||||
|
|
|
@ -146,7 +146,7 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
-- Register farming items as dungeon loot
|
||||
if minetest.global_exists("dungeon_loot") and dungeon_loot.register then
|
||||
if minetest.global_exists("dungeon_loot") then
|
||||
dungeon_loot.register({
|
||||
{name = "farming:string", chance = 0.5, count = {1, 8}},
|
||||
{name = "farming:wheat", chance = 0.5, count = {2, 5}},
|
||||
|
|
|
@ -230,7 +230,7 @@ minetest.register_craft({
|
|||
})
|
||||
|
||||
-- Register glass fragments as dungeon loot
|
||||
if minetest.global_exists("dungeon_loot") and dungeon_loot.register then
|
||||
if minetest.global_exists("dungeon_loot") then
|
||||
dungeon_loot.register({
|
||||
name = "vessels:glass_fragments", chance = 0.35, count = {1, 4}
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue