^Palettes:
    # Base colors    
    FixedColorPalette@LGreen1:
        Base: terrain
        Name: LGreen1
        RemapIndex: 153, 154, 155
        Color: 80b000  
        Ramp: 0.4
    FixedColorPalette@LGreen:
        Base: LGreen1
        Name: LGreen
        RemapIndex: 26, 30
        Color: 204000  
        Ramp: 1  
        
    FixedColorPalette@Yellow1:
        Base: terrain
        Name: Yellow1
        RemapIndex: 153, 154, 155
        Color: e0e000  
        Ramp: 0.4
    FixedColorPalette@Yellow:
        Base: Yellow1
        Name: Yellow
        RemapIndex: 26, 30
        Color: 404000  
        Ramp: 1


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

^ColoredTrees:        
    WithIdleOverlay@Temperat:
		Sequence: idle
        RequiresCondition: Temperat || TemperatLGreen
		Palette: terrain
    WithIdleOverlay@LGreen:
		Sequence: idle
        RequiresCondition: LGreen 
		Palette: LGreen
    WithIdleOverlay@Yellow:
		Sequence: idle
        RequiresCondition: Yellow || LGreenYellow
		Palette: Yellow
        
    WithIdleOverlay@LGreen50:
		Sequence: idle
        RequiresCondition: TemperatLGreen || LGreenYellow
		Palette: LGreen50
     
    ConditionManager:
    GrantRandomCondition@COLORS:
        Conditions: TemperatLGreen, LGreen, LGreenYellow , Yellow
    WithSpriteBody:
		RequiresCondition:  !TemperatLGreen && !LGreen && !LGreenYellow && !Yellow
#        Conditions: Temperat, TemperatLGreen, LGreen, LGreenYellow , Yellow
#		RequiresCondition: !Temperat && !TemperatLGreen && !LGreen && !LGreenYellow # && !Yellow

T03:
	Inherits@COLOR: ^ColoredTrees
T03b:
	Inherits: T03
    -Inherits@COLOR:

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