didn't mean to commit this too
parent
c76129c28b
commit
45825690f3
4
init.lua
4
init.lua
|
@ -1,7 +1,7 @@
|
|||
-- [ most messages are from https://github.com/FozLand/chat_next ] --
|
||||
|
||||
local messages = {}
|
||||
|
||||
local say = {}
|
||||
-- Lava death messages
|
||||
messages.lava = {
|
||||
'%s thought lava was cool.',
|
||||
|
@ -80,7 +80,7 @@ core.register_on_dieplayer(function(player)
|
|||
-- Death by something else
|
||||
else
|
||||
core.chat_send_all(core.colorize(failure, "- ") .. string.format(core.colorize(base, messages.other[math.random(1,#messages.other)]), player_name))
|
||||
minetest.chat_send_all(bridge .. ".say(string.format('*** %s died.', player_name))")
|
||||
bridge.say(string.format('*** %s died.', player_name))
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in New Issue