mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 05:51:05 +01:00
Added sweet berries death messages.
This commit is contained in:
parent
17e02aec3c
commit
5e969ba928
2 changed files with 6 additions and 1 deletions
|
@ -149,6 +149,11 @@ mcl_death_messages = {
|
||||||
plain = "@1 went off with a bang",
|
plain = "@1 went off with a bang",
|
||||||
item = "@1 went off with a bang due to a firework fired from @3 by @2", -- order is intentional
|
item = "@1 went off with a bang due to a firework fired from @3 by @2", -- order is intentional
|
||||||
},
|
},
|
||||||
|
sweet_berry = {
|
||||||
|
_translator = S,
|
||||||
|
plain = "@1 died a sweet death",
|
||||||
|
assist = "@1 was poked to death by a sweet berry bush whilst trying to escape @2",
|
||||||
|
},
|
||||||
-- Missing snowballs: The Minecraft wiki mentions them but the MC source code does not.
|
-- Missing snowballs: The Minecraft wiki mentions them but the MC source code does not.
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ for i=0, 3 do
|
||||||
minetest.record_protection_violation(pos, pn)
|
minetest.record_protection_violation(pos, pn)
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
if 3 ~= i and mcl_dye and
|
if 3 ~= i and mcl_dye and
|
||||||
clicker:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then
|
clicker:get_wielded_item():get_name() == "mcl_bone_meal:bone_meal" then
|
||||||
mcl_dye.apply_bone_meal({under=pos},clicker)
|
mcl_dye.apply_bone_meal({under=pos},clicker)
|
||||||
if not minetest.is_creative_enabled(pn) then
|
if not minetest.is_creative_enabled(pn) then
|
||||||
|
|
Loading…
Reference in a new issue