forked from Minetest/dripstone
Add extra fall damage to sharp dripstone
parent
05f093b0ce
commit
c908311c48
2
init.lua
2
init.lua
|
@ -259,7 +259,7 @@ local function make_dripstone(name, desc, longdesc, tiles, size)
|
|||
{ description = desc
|
||||
, _doc_items_longdesc = longdesc
|
||||
, tiles = tiles
|
||||
, groups = { pickaxey=2, material_stone=1 }
|
||||
, groups = { pickaxey=2, material_stone=1, fall_damage_add_percent = math.max(4 - size, 0) / 4 * 100 }
|
||||
, is_ground_content = true
|
||||
, drop = dry_dripstone_spike
|
||||
, sounds = dripstone_sounds
|
||||
|
|
Loading…
Reference in New Issue