mirror of
https://github.com/4Evergreen4/death_messages.git
synced 2025-02-19 01:20:18 +01:00
Added player killed player message and death coordinates
This commit is contained in:
parent
91a625d9d4
commit
ced8f91250
8
init.lua
8
init.lua
@ -24,14 +24,7 @@ local mname = "death_messages"
|
|||||||
dofile(minetest.get_modpath("death_messages").."/settings.txt")
|
dofile(minetest.get_modpath("death_messages").."/settings.txt")
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
--[[
|
|
||||||
Disabled standard death messages until chat-spam
|
|
||||||
as a result of taking damage after death
|
|
||||||
(f.ex. from lava) is fixed.
|
|
||||||
]]--
|
|
||||||
|
|
||||||
|
|
||||||
--[[
|
|
||||||
-- A table of quips for death messages. The first item in each sub table is the
|
-- A table of quips for death messages. The first item in each sub table is the
|
||||||
-- default message used when RANDOM_MESSAGES is disabled.
|
-- default message used when RANDOM_MESSAGES is disabled.
|
||||||
local messages = {}
|
local messages = {}
|
||||||
@ -103,7 +96,6 @@ minetest.register_on_dieplayer(function(player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
end)
|
end)
|
||||||
]]--
|
|
||||||
|
|
||||||
-- PM from server with death coordinates
|
-- PM from server with death coordinates
|
||||||
minetest.register_on_dieplayer(function(player)
|
minetest.register_on_dieplayer(function(player)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user