Whitelist lighting and weather traits.
This commit is contained in:
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
|||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Used for day/night effects.")]
|
[Desc("Used for day/night effects.")]
|
||||||
class GlobalLightingPaletteEffectInfo : ITraitInfo
|
class GlobalLightingPaletteEffectInfo : ITraitInfo, ILobbyCustomRulesIgnore
|
||||||
{
|
{
|
||||||
[Desc("Do not modify graphics that use any palette in this list.")]
|
[Desc("Do not modify graphics that use any palette in this list.")]
|
||||||
public readonly HashSet<string> ExcludePalettes = new HashSet<string> { "cursor", "chrome", "colorpicker", "fog", "shroud", "alpha" };
|
public readonly HashSet<string> ExcludePalettes = new HashSet<string> { "cursor", "chrome", "colorpicker", "fog", "shroud", "alpha" };
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
|||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Adds a particle-based overlay.")]
|
[Desc("Adds a particle-based overlay.")]
|
||||||
public class WeatherOverlayInfo : ITraitInfo
|
public class WeatherOverlayInfo : ITraitInfo, ILobbyCustomRulesIgnore
|
||||||
{
|
{
|
||||||
[Desc("Factor for particle density. As higher as more particles will get spawned.")]
|
[Desc("Factor for particle density. As higher as more particles will get spawned.")]
|
||||||
public readonly float ParticleDensityFactor = 0.0007625f;
|
public readonly float ParticleDensityFactor = 0.0007625f;
|
||||||
|
|||||||
Reference in New Issue
Block a user