Skip to content

Commit d20c1e2

Browse files
committed
NS routine as per code review
1 parent 76dcf72 commit d20c1e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mods/bones/init.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local min_inv_size = 4 * 8 -- display and provide at least this many slots
1111

1212
bones = {}
1313

14-
local function TRANSLATEMEPLEASE(s)
14+
local function NS(s)
1515
return s
1616
end
1717

@@ -359,18 +359,18 @@ minetest.register_on_dieplayer(function(player)
359359
if bones_placed then
360360
if drop_bones then
361361
log_message = "Inventory partially dropped"
362-
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and partially dropped their inventory.")
362+
chat_message = NS("@1 died at @2, and partially dropped their inventory.")
363363
else
364364
log_message = "Bones placed"
365-
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and bones were placed.")
365+
chat_message = NS("@1 died at @2, and bones were placed.")
366366
end
367367
else
368368
if drop_bones then
369369
log_message = "Inventory dropped"
370-
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and dropped their inventory.")
370+
chat_message = NS("@1 died at @2, and dropped their inventory.")
371371
else
372372
log_message = "No bones placed"
373-
chat_message = TRANSLATEMEPLEASE("@1 died at @2.")
373+
chat_message = NS("@1 died at @2.")
374374
end
375375
end
376376

0 commit comments

Comments
 (0)