using Robust.Shared.Console;
using Robust.Shared.GameStates;
using Robust.Shared.Map;
+using System.Linq;
namespace Content.Server.Weather;
return CompletionResult.FromHintOptions(CompletionHelper.MapIds(EntityManager), "Map Id");
var a = CompletionHelper.PrototypeIDs<WeatherPrototype>(true, ProtoMan);
- return CompletionResult.FromHintOptions(a, Loc.GetString("cmd-weather-hint"));
+ var b = a.Concat(new[] { new CompletionOption("null", Loc.GetString("cmd-weather-null")) });
+ return CompletionResult.FromHintOptions(b, Loc.GetString("cmd-weather-hint"));
}
}
cmd-weather-desc = Sets the weather for the current map.
cmd-weather-help = weather <mapId> <prototype / null>
cmd-weather-hint = Weather prototype
+cmd-weather-null = Clears the weather
cmd-weather-error-no-arguments = Not enough arguments!
cmd-weather-error-unknown-proto = Unknown Weather prototype!