From 37e72e333b8322778f91609983952dec92125e3a Mon Sep 17 00:00:00 2001 From: rudzik8 Date: Sun, 15 May 2022 16:15:55 +0700 Subject: [PATCH] Improve /seed command (now it looks like in modern MC) and update RU locale --- mods/MISC/mcl_commands/locale/mcl_commands.ru.tr | 6 +++--- mods/MISC/mcl_commands/mod.conf | 1 + mods/MISC/mcl_commands/seed.lua | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mods/MISC/mcl_commands/locale/mcl_commands.ru.tr b/mods/MISC/mcl_commands/locale/mcl_commands.ru.tr index 686c8067c..fb700cfab 100644 --- a/mods/MISC/mcl_commands/locale/mcl_commands.ru.tr +++ b/mods/MISC/mcl_commands/locale/mcl_commands.ru.tr @@ -11,9 +11,9 @@ Can use /say=Можно использовать /say =<сообщение> Send a message to every player=Отправляет сообщение всем игрокам Invalid usage, see /help say.=Недопустимое использование, см. /help say. -,, =,, <СтрокаУзла> -Set node at given position=Устанавливает узел в заданной позиции -Invalid node=Неправильный узел +,, =,, <ИмяБлока> +Set node at given position=Устанавливает блок в заданной позиции +Invalid node=Неправильный блок @1 spawned.=@1 возродился(ась). Invalid parameters (see /help setblock)=Недопустимые параметры (см. /help setblock) List bans=Список банов diff --git a/mods/MISC/mcl_commands/mod.conf b/mods/MISC/mcl_commands/mod.conf index 00d707098..dba130564 100644 --- a/mods/MISC/mcl_commands/mod.conf +++ b/mods/MISC/mcl_commands/mod.conf @@ -1,3 +1,4 @@ name = mcl_commands author = Wuzzy description = MCL2 commands +depends = mcl_colors diff --git a/mods/MISC/mcl_commands/seed.lua b/mods/MISC/mcl_commands/seed.lua index 6a99d53cb..2ebb04474 100644 --- a/mods/MISC/mcl_commands/seed.lua +++ b/mods/MISC/mcl_commands/seed.lua @@ -5,6 +5,6 @@ minetest.register_chatcommand("seed", { params = "", privs = {}, func = function(name) - minetest.chat_send_player(name, "Seed: "..minetest.get_mapgen_setting("seed")) + minetest.chat_send_player(name, "Seed: ["..minetest.colorize(mcl_colors.GREEN, ""..minetest.get_mapgen_setting("seed")).."]") end }) \ No newline at end of file