Coffin dance
This commit is contained in:
parent
ae81495424
commit
20c73d99e0
|
@ -15,6 +15,9 @@ mcl_death_drop.register_dropped_list("PLAYER", "craft", true)
|
||||||
mcl_death_drop.register_dropped_list("PLAYER", "armor", true)
|
mcl_death_drop.register_dropped_list("PLAYER", "armor", true)
|
||||||
|
|
||||||
minetest.register_on_dieplayer(function(player)
|
minetest.register_on_dieplayer(function(player)
|
||||||
|
-- The beat dropped harder than your items
|
||||||
|
minetest.sound_play("mcl_death_beat_drop", {to_player = player:get_player_name()})
|
||||||
|
|
||||||
local keep = minetest.settings:get_bool("mcl_keepInventory", false)
|
local keep = minetest.settings:get_bool("mcl_keepInventory", false)
|
||||||
if keep == false then
|
if keep == false then
|
||||||
-- Drop inventory, crafting grid and armor
|
-- Drop inventory, crafting grid and armor
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue