Announce messages are like logs: Server language, not localized.

These were malforming IRC and log output messages, so I'm reverting
this.

`(T@boxes)Flerker100E completed box F27E!E`
This commit is contained in:
Auke Kok 2019-09-12 08:47:34 -07:00
parent 6d538955fd
commit 6f82f9a8b8

View File

@ -198,8 +198,8 @@ function boxes.player_success(player)
-- omit check if tutorial is actually required here
if sid == conf.tutorial.series then
player:set_attribute("tutorial_completed", 1)
announce.all(S("@1 completed the tutorial!", name))
announce.admins(S("@1 completed the tutorial!", name))
announce.all(name .. " completed the tutorial!")
announce.admins(name .. " completed the tutorial!")
-- reward: create priv
local privs = minetest.get_player_privs(name)
privs.create = true
@ -267,7 +267,7 @@ minetest.register_globalstep(function(dtime)
else
-- We closed the last door: the player got out!
boxes.player_success(player)
announce.all(S("@1 completed box @2!", playername, info.box_id))
announce.all(playername .. " completed box " .. info.box_id .. "!")
music.start(player, info, "exit")
end
else