mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Updated Farmer bot command description and translated untranslated strings.
This commit is contained in:
parent
e9f227ca5b
commit
7993d347d8
2 changed files with 5 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ namespace MinecraftClient.ChatBots
|
||||||
private bool allowTeleport = false;
|
private bool allowTeleport = false;
|
||||||
private bool debugEnabled = false;
|
private bool debugEnabled = false;
|
||||||
|
|
||||||
private const string commandDescription = "farmer <start <crop type> [radius:<radius = 30>|unsafe:<true/false>|teleport:<true/false>|debug:<true/false>]|stop>";
|
private const string commandDescription = "farmer <start <crop type> [radius:<radius = 30>] [unsafe:<true/false>] [teleport:<true/false>] [debug:<true/false>]|stop>";
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
|
|
@ -71,13 +71,13 @@ namespace MinecraftClient.ChatBots
|
||||||
|
|
||||||
if (!GetTerrainEnabled())
|
if (!GetTerrainEnabled())
|
||||||
{
|
{
|
||||||
LogToConsole("Terrain handling needed!");
|
LogToConsole(Translations.TryGet("bot.farmer.needs_terrain"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!GetInventoryEnabled())
|
if (!GetInventoryEnabled())
|
||||||
{
|
{
|
||||||
LogToConsole("Inventory handling needed!");
|
LogToConsole(Translations.TryGet("bot.farmer.needs_inventory"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -689,6 +689,8 @@ bot.farmer.warining_allow_teleport=You have enabled teleporting, this might get
|
||||||
bot.farmer.started=Started farming!
|
bot.farmer.started=Started farming!
|
||||||
bot.farmer.crop_type=Crop type
|
bot.farmer.crop_type=Crop type
|
||||||
bot.farmer.radius=Radius
|
bot.farmer.radius=Radius
|
||||||
|
bot.farmer.needs_terrain=The Farmer bot needs Terrain Handling in order to work, please enable it!
|
||||||
|
bot.farmer.needs_inventory=The Farmer bot needs Inventory Handling in order to work, please enable it!
|
||||||
|
|
||||||
# Follow player
|
# Follow player
|
||||||
cmd.follow.desc=Makes the bot follow a specified player
|
cmd.follow.desc=Makes the bot follow a specified player
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue