diff --git a/MCGalaxy/Commands/CPE/CustomBlockCommand.cs b/MCGalaxy/Commands/CPE/CustomBlockCommand.cs index 1fb6fa5f2..6df9d8ea3 100644 --- a/MCGalaxy/Commands/CPE/CustomBlockCommand.cs +++ b/MCGalaxy/Commands/CPE/CustomBlockCommand.cs @@ -274,7 +274,7 @@ static void DoInfo(Player p, BlockDefinitionsArgs args, BlockID block) { p.Message(" Order: " + def.InventoryOrder); } if (def.Brightness > 0) { - string word = def.UseLampBrightness ? "LampBrightness" : "LavaBrightness"; + string word = def.UseLampBrightness ? "LampLight" : "LavaLight"; p.Message(" {0}: {1}", word, def.Brightness); } } @@ -556,17 +556,17 @@ static bool DoEdit(Player p, string[] parts, BlockDefinitionsArgs args, BlockID order == def.RawID ? "default" : order.ToString()); return true; - case "lavabrightness": + case "lavalight": int brightness = 0; - if (!CommandParser.GetInt(p, value, "lavabrightness", ref brightness, 0, 15)) { + if (!CommandParser.GetInt(p, value, "lava light", ref brightness, 0, 15)) { SendEditHelp(p, arg); return false; } def.SetBrightness(brightness, false); break; - case "lampbrightness": + case "lamplight": int sunBrightness = 0; - if (!CommandParser.GetInt(p, value, "lampbrightness", ref sunBrightness, 0, 15)) { + if (!CommandParser.GetInt(p, value, "lamp light", ref sunBrightness, 0, 15)) { SendEditHelp(p, arg); return false; } def.SetBrightness(sunBrightness, true); @@ -883,11 +883,11 @@ static string MapPropertyName(string prop) { "The default position of a block is its ID.", "A position of 0 hides the block from the inventory." } }, - { "lavabrightness", new string[] { "Type a number (0-15) for the lava brightness of the block.", + { "lavalight", new string[] { "Type a number (0-15) for the lava brightness of the block.", "You need Fancy Lighting to see differences between 1 and 15.", "The block will glow using the \"lavalight\" env color" } }, - { "lampbrightness", new string[] { "Type a number (0-15) for the lamp brightness of the block.", + { "lamplight", new string[] { "Type a number (0-15) for the lamp brightness of the block.", "You need Fancy Lighting to see differences between 1 and 15.", "The block will glow using the \"lamplight\" env color" } }, diff --git a/MCGalaxy/Commands/Information/CmdMapInfo.cs b/MCGalaxy/Commands/Information/CmdMapInfo.cs index 224540f90..eae5d6c1e 100644 --- a/MCGalaxy/Commands/Information/CmdMapInfo.cs +++ b/MCGalaxy/Commands/Information/CmdMapInfo.cs @@ -154,7 +154,11 @@ void ShowEnv(Player p, MapInfo data, LevelConfig cfg) { p.Message("Colors: &eFog {0}, &eSky {1}, &eClouds {2}, &eSunlight {3}, &eShadowlight {4}", Color(cfg.FogColor), Color(cfg.SkyColor), - Color(cfg.CloudColor), Color(cfg.LightColor), Color(cfg.ShadowColor)); + Color(cfg.CloudColor), Color(cfg.LightColor), Color(cfg.ShadowColor)); + if (cfg.LavaLightColor != "" || cfg.LampLightColor != "") { + p.Message("Fancy colors: &eLavaLight {0}, &eLampLight {1}", + Color(cfg.LavaLightColor), Color(cfg.LampLightColor)); + } p.Message("Water level: &b{0}&S, Bedrock offset: &b{1}&S, Clouds height: &b{2}&S, Max fog distance: &b{3}", data.Get(EnvProp.EdgeLevel), data.Get(EnvProp.SidesOffset), data.Get(EnvProp.CloudsLevel), data.Get(EnvProp.MaxFog));