diff --git a/Commands/building/CmdCuboid.cs b/Commands/building/CmdCuboid.cs index 7aaec4845..5458fca2a 100644 --- a/Commands/building/CmdCuboid.cs +++ b/Commands/building/CmdCuboid.cs @@ -77,7 +77,7 @@ namespace MCGalaxy.Commands Player.SendMessage(p, "%T/cuboid [brush args] "); Player.SendMessage(p, "%HDraws a cuboid between two points."); Player.SendMessage(p, " %HFor help about brushes, type %T/help brush%H."); - Player.SendMessage(p, " %HMode can be: solid/hollow/walls/holes/wire/random"); + Player.SendMessage(p, " %HModes: &fsolid/hollow/walls/holes/wire/random"); } } } diff --git a/Commands/building/CmdDraw.cs b/Commands/building/CmdDraw.cs index 235bceffe..c56db12cd 100644 --- a/Commands/building/CmdDraw.cs +++ b/Commands/building/CmdDraw.cs @@ -1,7 +1,7 @@ /* Copyright 2010 MCSharp team (Modified for use with MCZall/MCLawl/MCGalaxy) - Dual-licensed under the Educational Community License, Version 2.0 and + Dual-licensed under the Educational Community License, Version 2.0 and the GNU General Public License, Version 3 (the "Licenses"); you may not use this file except in compliance with the Licenses. You may obtain a copy of the Licenses at @@ -24,11 +24,7 @@ namespace MCGalaxy.Commands { public sealed class CmdDraw : DrawCmd { public override string name { get { return "draw"; } } - public override string shortcut { get { return ""; } } - public override string type { get { return CommandTypes.Building; } } - public override bool museumUsable { get { return false; } } - public override LevelPermission defaultRank { get { return LevelPermission.Builder; } } - + public override string shortcut { get { return ""; } } protected override string PlaceMessage { get { return "Place a block to determine the origin."; } } protected override DrawMode ParseMode(string msg) { @@ -110,8 +106,14 @@ namespace MCGalaxy.Commands { } public override void Help(Player p) { - Player.SendMessage(p, "/draw - Draw an object in game- " + - "Valid Types cones, spheres, and pyramids, hspheres (hollow sphere), and hpyramids (hollow pyramid)"); + Player.SendMessage(p, "%T/draw [brush args] "); + Player.SendMessage(p, "%T/draw [brush args] "); + Player.SendMessage(p, "%HDraws an object at the specified point."); + Player.SendMessage(p, " %HFor help about brushes, type %T/help brush%H."); + Player.SendMessage(p, " %HObjects: &fcone/hcone/icone/hicone"); + Player.SendMessage(p, " &fpyramid/hpyramid/ipyramid/hipyramid/volcano"); + Player.SendMessage(p, " %HObjects with only radius: &fsphere/hsphere"); + Player.SendMessage(p, " %HNote 'h' means hollow, 'i' means inverse"); } } } diff --git a/Commands/building/CmdFill.cs b/Commands/building/CmdFill.cs index b08539941..6230776af 100644 --- a/Commands/building/CmdFill.cs +++ b/Commands/building/CmdFill.cs @@ -27,9 +27,11 @@ namespace MCGalaxy.Commands { public override string name { get { return "fill"; } } public override string shortcut { get { return "f"; } } public override LevelPermission defaultRank { get { return LevelPermission.AdvBuilder; } } + protected override string PlaceMessage { get { return "Destroy the block you wish to fill."; } } protected override DrawMode ParseMode(string msg) { - if (msg == "up") return DrawMode.up; + if (msg == "normal") return DrawMode.solid; + else if (msg == "up") return DrawMode.up; else if (msg == "down") return DrawMode.down; else if (msg == "layer") return DrawMode.layer; else if (msg == "vertical_x") return DrawMode.verticalX; @@ -37,10 +39,6 @@ namespace MCGalaxy.Commands { return DrawMode.normal; } - protected override string PlaceMessage { - get { return "Destroy the block you wish to fill."; } - } - protected override void Blockchange1(Player p, ushort x, ushort y, ushort z, byte type, byte extType) { p.ClearBlockchange(); CatchPos cpos = (CatchPos)p.blockchangeObject; @@ -132,10 +130,10 @@ namespace MCGalaxy.Commands { } public override void Help(Player p) { - Player.SendMessage(p, "%T/fill [brush args] "); + Player.SendMessage(p, "%T/fill [brush args] "); Player.SendMessage(p, "%HFills the area specified with the output of the current brush."); Player.SendMessage(p, " %HFor help about brushes, type %T/help brush%H."); - Player.SendMessage(p, " %HMode can be: up/down/layer/vertical_x/vertical_z"); + Player.SendMessage(p, " %HModes: &fnormal/up/down/layer/vertical_x/vertical_z"); } } } diff --git a/Commands/building/CmdLine.cs b/Commands/building/CmdLine.cs index de102000c..236dacf4c 100644 --- a/Commands/building/CmdLine.cs +++ b/Commands/building/CmdLine.cs @@ -90,7 +90,7 @@ namespace MCGalaxy.Commands { Player.SendMessage(p, "%T/line [brush args] "); Player.SendMessage(p, "%HCreates a line between two points."); Player.SendMessage(p, " %HFor help about brushes, type %T/help brush%H."); - Player.SendMessage(p, " %HMode can be: normal/walls/straight"); + Player.SendMessage(p, " %HModes: &fnormal/walls/straight"); Player.SendMessage(p, " %HLength specifies the max number of blocks in the line."); } } diff --git a/Commands/building/CmdPyramid.cs b/Commands/building/CmdPyramid.cs index e4a0e4372..85ee05edb 100644 --- a/Commands/building/CmdPyramid.cs +++ b/Commands/building/CmdPyramid.cs @@ -68,7 +68,7 @@ namespace MCGalaxy.Commands Player.SendMessage(p, "%T/pyramid [brush args] "); Player.SendMessage(p, "%HDraws a square pyramid, using two points for the base."); Player.SendMessage(p, " %HFor help about brushes, type %T/help brush%H."); - Player.SendMessage(p, " %HMode can be: solid/hollow/reverse"); + Player.SendMessage(p, " %HModes: &fsolid/hollow/reverse"); } } } diff --git a/Commands/building/CmdSpheroid.cs b/Commands/building/CmdSpheroid.cs index 939dbadde..c11697d32 100644 --- a/Commands/building/CmdSpheroid.cs +++ b/Commands/building/CmdSpheroid.cs @@ -63,7 +63,7 @@ namespace MCGalaxy.Commands { Player.SendMessage(p, "%T/spheroid [brush args] "); Player.SendMessage(p, "%HDraws a spheroid between two points."); Player.SendMessage(p, " %HFor help about brushes, type %T/help brush%H."); - Player.SendMessage(p, " %HMode can be: solid/hollow/vertical(a vertical tube)"); + Player.SendMessage(p, " %HModes: &fsolid/hollow/vertical(a vertical tube)"); } } }