Difference between revisions of "Color"

From PotionEmpire Wiki
Jump to: navigation, search
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
The [[ingredients]], and therefore the [[potions]] you can make, can have 8 colors: https://www.potionempire.illimitron.com/ico/colori/black.png'''black''', https://www.potionempire.illimitron.com/ico/colori/white.png'''white''', https://www.potionempire.illimitron.com/ico/colori/red.png'''red''', https://www.potionempire.illimitron.com/ico/colori/blue.png'''blue''', https://www.potionempire.illimitron.com/ico/colori/yellow.png'''yellow''', https://www.potionempire.illimitron.com/ico/colori/orange.png'''orange''', https://www.potionempire.illimitron.com/ico/colori/green.png'''green''' and https://www.potionempire.illimitron.com/ico/colori/purple.png'''purple'''. When mixing two or more different colors, you must keep in mind that:
 
The [[ingredients]], and therefore the [[potions]] you can make, can have 8 colors: https://www.potionempire.illimitron.com/ico/colori/black.png'''black''', https://www.potionempire.illimitron.com/ico/colori/white.png'''white''', https://www.potionempire.illimitron.com/ico/colori/red.png'''red''', https://www.potionempire.illimitron.com/ico/colori/blue.png'''blue''', https://www.potionempire.illimitron.com/ico/colori/yellow.png'''yellow''', https://www.potionempire.illimitron.com/ico/colori/orange.png'''orange''', https://www.potionempire.illimitron.com/ico/colori/green.png'''green''' and https://www.potionempire.illimitron.com/ico/colori/purple.png'''purple'''. When mixing two or more different colors, you must keep in mind that:
  
* If at least 1/3 of the ingredients used has a '''black''' extract, the result will be '''black'''.
 
 
* If more than '''4''' ingredients in the mix has an extract of '''different colors''' the result will be '''black'''.
 
* If more than '''4''' ingredients in the mix has an extract of '''different colors''' the result will be '''black'''.
* The white color is ignored, unless you mix 2 or more colors with white extract; in that case, if the majority of the combination results are white the potion will be white
+
* When mixing more than 2 ingredients, the most recurring combination result will be taken as valid. If there is no most recurring combination, the results will be combined again.
* When mixing more then 2 ingredients, the most recurring combination result will be taken as valid. If there is no most recurring combination, the potion will take the color of the first combination.
+
  
 
== Combination results ==
 
== Combination results ==
 
'''Black'''
 
'''Black'''
* +  anything   = black
+
* +  any color   = black
  
 
'''Red'''
 
'''Red'''
Line 44: Line 42:
  
 
'''White'''
 
'''White'''
* +  white      = white
+
* +  white      = white
 +
* + any color    =      that color
  
 
== Example ==
 
== Example ==
Line 51: Line 50:
 
* blue + yellow = green
 
* blue + yellow = green
 
* blue + orange = purple
 
* blue + orange = purple
 +
* blue + white = blue
 
* yellow + orange = orange
 
* yellow + orange = orange
 +
* yellow + white = yellow
 +
* orange + white = orange
  
We have the following occurrences:
+
The most recurrent combination is '''orange''', so that will be the resulting color of the potion.
* green = 1
+
* purple = 1
+
* orange = 1
+
 
+
Since there is not a most recurring combination, the potion will have the color of the first combination, in this case '''green'''.
+

Latest revision as of 10:44, 3 June 2021

The ingredients, and therefore the potions you can make, can have 8 colors: black.pngblack, white.pngwhite, red.pngred, blue.pngblue, yellow.pngyellow, orange.pngorange, green.pnggreen and purple.pngpurple. When mixing two or more different colors, you must keep in mind that:

  • If more than 4 ingredients in the mix has an extract of different colors the result will be black.
  • When mixing more than 2 ingredients, the most recurring combination result will be taken as valid. If there is no most recurring combination, the results will be combined again.

Combination results

Black

  • + any color = black

Red

  • + red = red
  • + blue = purple
  • + yellow = orange
  • + purple = red
  • + orange = red
  • + green = green

Blue

  • + blue = blue
  • + yellow = green
  • + purple = blue
  • + orange = purple
  • + green = blue

Yellow

  • + yellow = yellow
  • + purple = orange
  • + orange = orange
  • + green = green

Purple

  • + purple = purple
  • + orange = red
  • + green = green

Orange

  • + orange = orange
  • + green = green

Green

  • + green = green

White

  • + white = white
  • + any color = that color

Example

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 = green
  • blue + orange = purple
  • blue + white = blue
  • yellow + orange = orange
  • yellow + white = yellow
  • orange + white = orange

The most recurrent combination is orange, so that will be the resulting color of the potion.