Color detection (not deco color)

  • Houseinik
    14th September Member 0 Permalink

    So Im programming in Lua and I need to know this: Is there a way to detect the non-deco color of an element? Like detecting the color of WAX witch isnt decoed would result in 0xFFF0F0BB and for BRCK would result in 0xFF808080.

  • LBPHacker
    14th September Developer 0 Permalink
    Not perfectly, no. Elements have a Color property which is their default colour, but this is a lossy representation of the element's visual behaviour, as elements are free to implement complicated graphics functions that change their visuals as a function of particle properties.
    Edited once by LBPHacker. Last: 14th September
  • Houseinik
    14th September Member 0 Permalink

    Oh ok thanks.