mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 19:02:26 +01:00
Proper archievement chat messages
This commit is contained in:
parent
ba1e42a638
commit
68ac84da83
@ -214,7 +214,7 @@ function awards.unlock(name, award)
|
||||
|
||||
-- Get award
|
||||
minetest.log("action", name.." has gotten award "..award)
|
||||
minetest.chat_send_all("<"..name.."> "..S("Achievement gotten: @1", award))
|
||||
minetest.chat_send_all(name .. " has made the archievement " .. minetest.colorize("#51EF4E", "[" .. (awdef.title or award) .. "]"))
|
||||
data.unlocked[award] = award
|
||||
awards.save()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user