^Palettes:
    # Base colors    
    FixedColorPalette@Red3:
        Base: terrain
        Name: Red3
        RemapIndex: 153, 154, 155
        Color: d40000  
    FixedColorPalette@Red2:
        Base: Red3
        Name: Red2
        RemapIndex: 150
        Color: d00000  
    FixedColorPalette@Red1:
        Base: Red2
        Name: Red1
        RemapIndex: 152
        Color: b00000  
    FixedColorPalette@Red:
        Base: Red1
        Name: Red
        RemapIndex: 26, 30
        Color: 300000  
        
    FixedColorPalette@Orange3:
        Base: terrain
        Name: Orange3
        RemapIndex: 153, 154, 155
        Color: d48000  
    FixedColorPalette@Orange2:
        Base: Orange3
        Name: Orange2
        RemapIndex: 150
        Color: d08000  
    FixedColorPalette@Orange1:
        Base: Orange2
        Name: Orange1
        RemapIndex: 152
        Color: b08000  
    FixedColorPalette@Orange:
        Base: Orange1
        Name: Orange
        RemapIndex: 26, 30
        Color: 302000  

        
    FixedColorPalette@Yellow3:
        Base: terrain
        Name: Yellow3
        RemapIndex: 153, 154, 155
        Color: d4d400  
    FixedColorPalette@Yellow2:
        Base: Yellow3
        Name: Yellow2
        RemapIndex: 150
        Color: d0d000  
    FixedColorPalette@Yellow1:
        Base: Yellow2
        Name: Yellow1
        RemapIndex: 152
        Color: b0b000  
    FixedColorPalette@Yellow:
        Base: Yellow1
        Name: Yellow
        RemapIndex: 26, 30
        Color: 303000  

        
    FixedColorPalette@LGreen3:
        Base: terrain
        Name: LGreen3
        RemapIndex: 153, 154, 155
        Color: 80d400  
    FixedColorPalette@LGreen2:
        Base: LGreen3
        Name: LGreen2
        RemapIndex: 150
        Color: 80d000  
    FixedColorPalette@LGreen1:
        Base: LGreen2
        Name: LGreen1
        RemapIndex: 152
        Color: 80b000  
    FixedColorPalette@LGreen:
        Base: LGreen1
        Name: LGreen
        RemapIndex: 26, 30
        Color: 203000  

        
    # Shades	
    PaletteFromPaletteWithAlpha@Orange50:
        Name: Orange50
        BasePalette: Orange
        Alpha: 0.50	
    # Shades	
    PaletteFromPaletteWithAlpha@LGreen50:
        Name: LGreen50
        BasePalette: LGreen
        Alpha: 0.50	

^ColoredTrees:        
    WithIdleOverlay@Red:
		Sequence: idle
        RequiresCondition: Red || RedOrange
		Palette: Red
    WithIdleOverlay@Orange:
		Sequence: idle
        RequiresCondition: Orange 
		Palette: Orange
    WithIdleOverlay@Yellow:
		Sequence: idle
        RequiresCondition: OrangeYellow || Yellow || YellowLGreen50
		Palette: Yellow
    WithIdleOverlay@Temperat:
		Sequence: idle
        RequiresCondition: LGreenTemperat || Temperat
		Palette: terrain
       
    WithIdleOverlay@Orange50:
		Sequence: idle
        RequiresCondition: RedOrange || OrangeYellow
		Palette: Orange50
    WithIdleOverlay@LGreen50:
		Sequence: idle
        RequiresCondition: YellowLGreen || LGreenTemperat
		Palette: LGreen50
     
    ConditionManager:
    GrantRandomCondition@COLORS:
        Conditions: Red, Red, Red, RedOrange, Orange, RedOrange, Orange, OrangeYellow, Yellow, YellowLGreen, LGreenTemperat, Temperat
        #Conditions: Red, RedOrange, Orange, OrangeYellow, Yellow, YellowLGreen, LGreenTemperat, Temperat
    WithSpriteBody:
        RequiresCondition: !Red && !Red && !Red && !RedOrange && !Orange && !RedOrange && !Orange && !OrangeYellow && !Yellow && !YellowLGreen && !LGreenTemperat && !Temperat
        #RequiresCondition: !Red && !RedOrange && !Orange && !OrangeYellow && !Yellow && !YellowLGreen && !LGreenTemperat && !Temperat


        
T03:
	Inherits@COLOR: ^ColoredTrees
T10:
	Inherits@COLOR: ^ColoredTrees
T11:
	Inherits@COLOR: ^ColoredTrees
T12:
	Inherits@COLOR: ^ColoredTrees
T13:
	Inherits@COLOR: ^ColoredTrees
T14:
	Inherits@COLOR: ^ColoredTrees
T15:
	Inherits@COLOR: ^ColoredTrees
T17:
	Inherits@COLOR: ^ColoredTrees
TC02:
	Inherits@COLOR: ^ColoredTrees
TC05:
	Inherits@COLOR: ^ColoredTrees