class Phampled(Body): """ The lost one """ MATRIX = [ [1, 1], [1, 1] ] COLOR = hex_to_rgb('ff6905ff')
class Orphon(Body): """ The hero """ MATRIX = [ [1, 1], [1, 1] ] COLOR = hex_to_rgb('05ffeeff')
class Cranberry(Tree): MATRIX = [ [None, None, None, None, None], [1.0, None, None, None, None], [1.0, None, None, None, None], [1.0, None, None, None, None], [1.0, None, None, None, None], ] COLOR = hex_to_rgb('770124ff') SHUFFLE = True DENSITY = 30 LAYER = 'berries'
class Bush(Tree): MATRIX = [ [1.0, 1.2, 1.4, 1.6, 1.8], [1.0, 1.2, 1.4, 1.6, 1.8], [1.0, 1.2, 1.4, 1.6, 1.8], [1.0, 1.2, 1.4, 1.6, 1.8], [1.0, 1.2, 1.4, 1.6, 1.8], ] COLOR = hex_to_rgb('00380eff') SHUFFLE = True DENSITY = 40 SURROUNDING = {'Lake': 10} GROWS = ['Cranberry']
class Pine(Tree): MATRIX = [ [None, None, None, None, None, 1, None, None, None, None, None], [None, None, None, None, 1, 1, 1, None, None, None, None], [None, None, None, 1, 1, 2, 1, 1, None, None, None], [None, None, 1, 1, 2, 2, 2, 1, 1, None, None], [None, 1, 1, 2, 2, 3, 2, 2, 1, 1, None], [ 1, 1, 2, 2, 3, 4, 3, 2, 2, 1, 1], [None, 1, 1, 2, 2, 3, 2, 2, 1, 1, None], [None, None, 1, 1, 2, 2, 2, 1, 1, None, None], [None, None, None, 1, 1, 2, 1, 1, None, None, None], [None, None, None, None, 1, 1, 1, None, None, None, None], [None, None, None, None, None, 1, None, None, None, None, None], ] COLOR = hex_to_rgb('001f08ff') DENSITY = 100 SHUFFLE = False
class Lake(Ground): MATRIX = [ [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7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, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], [1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.0, 1.1, 1.2], ] COLOR = hex_to_rgb('241105ff') SHUFFLE = True DENSITY = 100 # Not taken into account anyway: Soil everywhere GROWS = ['Pine', 'Rock', 'Lake', 'Pine', 'Bush'] LAYER = 'soil'