forked from Minetest/dripstone
Increase spike drops for bigger drips
parent
7b230fdd97
commit
f9ff713bb5
18
init.lua
18
init.lua
|
@ -261,7 +261,23 @@ local function make_dripstone(name, desc, longdesc, tiles, size)
|
||||||
, tiles = tiles
|
, tiles = tiles
|
||||||
, groups = { pickaxey=2, material_stone=1, fall_damage_add_percent = math.max(4 - size, 0) / 4 * 100 }
|
, groups = { pickaxey=2, material_stone=1, fall_damage_add_percent = math.max(4 - size, 0) / 4 * 100 }
|
||||||
, is_ground_content = true
|
, is_ground_content = true
|
||||||
, drop = dry_dripstone_spike
|
, drop = {
|
||||||
|
max_items = math.floor((size + 1) / 2),
|
||||||
|
items = {
|
||||||
|
{ rarity = 1
|
||||||
|
, items = { dry_dripstone_spike }
|
||||||
|
},
|
||||||
|
{ rarity = 2
|
||||||
|
, items = { dry_dripstone_spike }
|
||||||
|
},
|
||||||
|
{ rarity = 4
|
||||||
|
, items = { dry_dripstone_spike }
|
||||||
|
},
|
||||||
|
{ rarity = 4
|
||||||
|
, items = { dry_dripstone_spike }
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
, sounds = dripstone_sounds
|
, sounds = dripstone_sounds
|
||||||
, drawtype = "nodebox"
|
, drawtype = "nodebox"
|
||||||
, paramtype = "light"
|
, paramtype = "light"
|
||||||
|
|
Loading…
Reference in New Issue