1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-01-08 06:30:17 +01:00

NS routine as per code review

This commit is contained in:
Imre Péntek 2024-02-27 12:50:26 +01:00
parent 5b35ea553e
commit da3c36ded8

View File

@ -11,7 +11,7 @@ local min_inv_size = 4 * 8 -- display and provide at least this many slots
bones = {}
local function TRANSLATEMEPLEASE(s)
local function NS(s)
return s
end
@ -327,18 +327,18 @@ minetest.register_on_dieplayer(function(player)
if bones_placed then
if drop_bones then
log_message = "Inventory partially dropped"
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and partially dropped their inventory.")
chat_message = NS("@1 died at @2, and partially dropped their inventory.")
else
log_message = "Bones placed"
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and bones were placed.")
chat_message = NS("@1 died at @2, and bones were placed.")
end
else
if drop_bones then
log_message = "Inventory dropped"
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and dropped their inventory.")
chat_message = NS("@1 died at @2, and dropped their inventory.")
else
log_message = "No bones placed"
chat_message = TRANSLATEMEPLEASE("@1 died at @2.")
chat_message = NS("@1 died at @2.")
end
end