public LightingGlobal(ScriptContext context) : base(context) { flashPaletteEffects = context.World.WorldActor.TraitsImplementing<FlashPaletteEffect>(); lighting = context.World.WorldActor.TraitOrDefault<GlobalLightingPaletteEffect>(); hasLighting = lighting != null; }
public EffectGlobal(ScriptContext context) : base(context) { fpes = context.World.WorldActor.TraitsImplementing<FlashPaletteEffect>(); lighting = context.World.WorldActor.TraitOrDefault<GlobalLightingPaletteEffect>(); }