modified README
parent
07d25e9cab
commit
fe12a4409b
|
@ -7,11 +7,15 @@
|
||||||
|
|
||||||
A Minetest mod which sends a chat message when a player dies.
|
A Minetest mod which sends a chat message when a player dies.
|
||||||
|
|
||||||
Version: 0.1.3
|
Version: 0.1.4
|
||||||
License: GPL v3 (see LICENSE.txt)
|
License: GPL v3 (see LICENSE.txt)
|
||||||
|
|
||||||
Dependencies:
|
Dependencies:
|
||||||
none
|
none
|
||||||
|
|
||||||
|
|
||||||
Please report bugs at the github issue tracker:
|
Please report bugs at the github issue tracker:
|
||||||
|
https://notabug.org/ademant/death_messages/issues/
|
||||||
|
|
||||||
|
This is a fork of
|
||||||
https://github.com/4Evergreen4/death_messages/issues/
|
https://github.com/4Evergreen4/death_messages/issues/
|
||||||
|
|
5
init.lua
5
init.lua
|
@ -28,16 +28,15 @@ dofile(minetest.get_modpath("death_messages").."/settings.txt")
|
||||||
-----------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------
|
||||||
local LANG = minetest.settings:get("language")
|
local LANG = minetest.settings:get("language")
|
||||||
if not (LANG and (LANG ~= "")) then LANG = "en" end
|
if not (LANG and (LANG ~= "")) then LANG = "en" end
|
||||||
-- check if stamina is used and death may occured by exhausting
|
-- check if stamina and/or hbhunger is used and death may occured by exhausting
|
||||||
local mstamina = minetest.get_modpath("stamina")
|
local mstamina = minetest.get_modpath("stamina")
|
||||||
|
local mhbhunger = minetest.get_modpath("hbhunger")
|
||||||
local lstamina = 100
|
local lstamina = 100
|
||||||
-- check if thirsty is used and death may occured by exhausting
|
-- check if thirsty is used and death may occured by exhausting
|
||||||
local mthirsty = minetest.get_modpath("thirsty")
|
local mthirsty = minetest.get_modpath("thirsty")
|
||||||
local lthirsty = 100
|
local lthirsty = 100
|
||||||
local msunburn = minetest.get_modpath("sunburn")
|
local msunburn = minetest.get_modpath("sunburn")
|
||||||
local lsunburn = 0
|
local lsunburn = 0
|
||||||
local mhbhunger = minetest.get_modpath("hbhunger")
|
|
||||||
local lhbhunger = 100
|
|
||||||
|
|
||||||
-- 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.
|
||||||
|
|
Loading…
Reference in New Issue