Coffin dance

This commit is contained in:
Lizzy Fleckenstein 2022-01-27 19:29:57 +01:00
parent ae81495424
commit 20c73d99e0
Signed by untrusted user: LizzyFleckenstein03
GPG Key ID: 06927A5199D6C9B2
2 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ mcl_death_drop.register_dropped_list("PLAYER", "craft", true)
mcl_death_drop.register_dropped_list("PLAYER", "armor", true)
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)
if keep == false then
-- Drop inventory, crafting grid and armor