EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

fx

A visual effect drawn by an engine primitive: glow, particles and an optional point light.

Signature

{ color_rgb: {ColorChannel}, duration_ticks: PositiveTicks, glow_rgb: {ColorChannel}, id: ContentId, kind: "fx", light: (LightId)?, particles: Count, primitive: FxPrimitive, size_mm: PositiveDistance, sound: (AudioCueId)? }

Fields

NameTypeMeaning
color_rgb{ColorChannel}Core color, red, green and blue.
Items: 3…3
duration_ticksPositiveTicksHow long it shows; an orb shows while its body flies.
Range: 1…2147483647; Unit: tick
glow_rgb{ColorChannel}Glow and particle color, red, green and blue.
Items: 3…3
idContentIdPackage-qualified identity; unique within its declaring namespace.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
kind"fx"Discriminant
lightLightIdPoint light it casts while it shows.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: light
particlesCountParticles it throws.
Range: 0…2147483647; Unit: count
primitiveFxPrimitiveEngine primitive drawing the effect.
size_mmPositiveDistanceSize: the radius of an orb, the final radius of a burst, ring or nova.
Range: 1…2147483647; Unit: mm
soundAudioCueIdSound it plays where it appears.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: audio_cue

Validated example

{
  "color_rgb": [
    240,
    225,
    255
  ],
  "duration_ticks": 1,
  "glow_rgb": [
    150,
    90,
    255
  ],
  "id": "core:bolt_look",
  "kind": "fx",
  "light": "core:arcane_glow",
  "particles": 16,
  "primitive": "orb",
  "size_mm": 220,
  "sound": "core:sound_bow_release"
}