1
0
Disbranĉigi 0
Ĉi tiu deponejo arĥiviĝis je 2024-01-28. Vi povas vidi kaj elŝuti dosierojn, sed ne povas puŝi nek raporti problemojn nek tirpeti.
minetest_ocd3/mods/deathmsg/init.lua
2018-03-18 19:18:46 -05:00

24 lines
780 B
Lua

-- deathmsg
-- jadedctrl; GPLv3+
minetest.register_on_dieplayer(function(player)
messages = { "~ has had life torn violently from their grasp.",
"~ swore on their life… too bad it was a bluff.",
"~ was killed by the invisible hand.",
"I guess ~ couldn't take the heat.",
"~ wasn't a supporter of social Darwinsim, obviously.",
"~ wasn't worthy anyway.",
"Oh, hey, side-note: ~'s a bit in the ground.",
"~'s ghost wants to have a word with you.",
"God hate ~'s guts.",
"Don't be upset, but ~'s malfunctioned.",
"~ is broken, but their lifetime warranty doesn't cover death." }
messageno = math.random(1, table.getn(messages))
message = messages[messageno]
message = message:gsub("~", player:get_player_name())
minetest.chat_send_all(message)
end)