Color

From PotionEmpire Wiki
Revision as of 13:01, 27 May 2014 by Royal Alchemist (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[size=150][b]Colors System[/b][/size] Here are all the information about how to mix colors and how to obtain the desired color when making a potion. The parser check all the cobinations for the used colors and returns the resulting color using the following rules:

[b]GENERAL RULES[/b] [list]If at least 1/3 of the ingredients used has a [b]black[/b] extract the result will be [b]black[/b]. If more then 4 ingredients has an extract of a [b]different color[/b] the result will be [b]black[/b]. When mixing more then 2 ingredients, the most recurring color result will be taken as valid[/list]

[b]MIXING RULES[/b]

[b]Black[/b] +anything = black

[b]Red[/b] +white = red +blue = purple +yellow = orange +purple = red +orange = red +green = green

[b]Blue[/b] +white = blue +yellow = green +purple = blue +orange = purple +green = blue

[b]Yellow[/b] +white = yellow +purple = orange +orange = orange +green = green

[b]Purple[/b] +white = purple +orange = red +green = green

[b]Orange[/b] +white = orange +green = green

[b]Green[/b] +white = green

[b]EXAMPLE[/b] Lets say we are mixing 4 ingredients and their extract is respectively blue, yellow, orange and white. The parser will do the following operations:

blue+yellow = [i]green[/i] blue+orange= [i]purple[/i] blue+ white = [i]blue[/i] yellow+orange= [i]orange[/i] yellow+white= [i]yellow[/i] orange+white= [i]orange[/i]

We have the following occurrences: green= [i]1[/i] purple= [i]1[/i] blue= [i]1[/i] yellow= [i]1[/i] [u]orange= [i]2[/i][/u]

The most recurrent is [b]orange[/b] so this will be the final result.