modified README

master
ademant 2018-09-10 08:55:21 +02:00
parent 07d25e9cab
commit fe12a4409b
2 changed files with 7 additions and 4 deletions

View File

@ -7,11 +7,15 @@
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)
Dependencies:
none
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/

View File

@ -28,16 +28,15 @@ dofile(minetest.get_modpath("death_messages").."/settings.txt")
-----------------------------------------------------------------------------------------------
local LANG = minetest.settings:get("language")
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 mhbhunger = minetest.get_modpath("hbhunger")
local lstamina = 100
-- check if thirsty is used and death may occured by exhausting
local mthirsty = minetest.get_modpath("thirsty")
local lthirsty = 100
local msunburn = minetest.get_modpath("sunburn")
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
-- default message used when RANDOM_MESSAGES is disabled.