# Configuration file

##########################################################################################################
# Impacts
#--------------------------------------------------------------------------------------------------------#
# Action syntax: blockId -> ACTION
# Replacement syntax: blockId -> blockId
# Replacement with copying of all properties: blockId -> blockId:*
# Syntax with a threshold: pollutionThreshold% -> blockId -> ACTION or blockId
# 
# Pollution threshold is the minimum percentage of pollution to trigger the specified effect
# 
# Id is a basic unit (block or item) identifier in <modId:unitName:meta> format.
# ModId can be omitted for vanilla items. Meta can be omitted too if it equals 0.
# UnitName must be lowercase, words separated by '_', words order - from private to common (example: black_iron_ore).
# Use '*' char or '[]' as meta value to specify all possible values (all block states).
# To define multiple block states, you can use block properties. The format is <modId:blockName:[prop1=value1, prop2=value2]>
# Also you may use tags. The format is <#modId:tagPath> (example: #forge:ores/copper).
# 
# Possible actions (case sensitive): BONEMEAL, KILL, POLLUTE
##########################################################################################################

Impacts {

    carbon {
        # Effects spreading through air.
        S:air <
            minecraft:bamboo:* -> BONEMEAL
            minecraft:big_dripleaf:* -> BONEMEAL
            agricraft:crop:* -> BONEMEAL
            minecraft:fern:* -> BONEMEAL
            minecraft:grass:* -> BONEMEAL
            minecraft:kelp:* -> BONEMEAL
            minecraft:seagrass:* -> BONEMEAL
            minecraft:short_grass:* -> BONEMEAL
            #minecraft:crops -> BONEMEAL
            #minecraft:saplings -> BONEMEAL
         >

        # Effects spreading through contact.
        S:contact <
            minecraft:water:* -> POLLUTE
            #minecraft:cave_vines -> BONEMEAL
            #minecraft:leaves -> KILL
         >

        # Effects spreading through rain.
        S:rain <
            minecraft:grass_block:* -> BONEMEAL
            minecraft:moss_block:* -> BONEMEAL
            minecraft:sweet_berry_bush:* -> BONEMEAL
            #minecraft:leaves -> BONEMEAL
            #minecraft:tall_flowers -> BONEMEAL
         >
    }

    sulfur {
        # Effects spreading through air.
        S:air <
            minecraft:cactus:* -> KILL
            minecraft:fern:* -> KILL
            minecraft:grass:* -> KILL
            minecraft:moss_carpet:* -> KILL
            minecraft:short_grass:* -> KILL
            #minecraft:crops -> KILL
            #minecraft:saplings -> KILL
            #minecraft:small_flowers -> KILL
            agricraft:crop:* -> KILL
         >

        # Effects spreading through contact.
        S:contact <
            minecraft:water:* -> POLLUTE
            #minecraft:cave_vines -> KILL
            #minecraft:leaves -> KILL
         >

        # Effects spreading through rain.
        S:rain <
            minecraft:bamboo:* -> KILL
            minecraft:big_dripleaf:* -> KILL
            minecraft:dirt_path:* -> minecraft:podzol
            minecraft:farmland:* -> minecraft:podzol
            minecraft:grass_block:* -> minecraft:podzol
            minecraft:large_fern:* -> KILL
            minecraft:moss_block:* -> minecraft:podzol
            minecraft:rooted_dirt:* -> minecraft:coarse_dirt
            minecraft:sugar_cane:* -> KILL
            minecraft:sweet_berry_bush:* -> KILL
            minecraft:tall_grass:* -> KILL
            minecraft:water:* -> POLLUTE
            #minecraft:leaves -> KILL
            #minecraft:tall_flowers -> KILL
            5% -> minecraft:bee_nest:* -> KILL
            5% -> minecraft:melon:* -> KILL
            5% -> minecraft:pumpkin:* -> KILL
            7% -> minecraft:stone -> minecraft:cobblestone
            10% -> minecraft:hay_block:* -> KILL
            15% -> minecraft:mangrove_roots:* -> KILL
            farmersdelight:rich_soil:* -> minecraft:podzol
            farmersdelight:rich_soil_farmland:* -> minecraft:podzol
         >
    }

    dust {
        # Effects spreading through air.
        S:air <
         >

        # Effects spreading through contact.
        S:contact <
            agricraft:crop:* -> KILL
            minecraft:water:* -> POLLUTE
            minecraft:fern:* -> KILL
            minecraft:grass:* -> KILL
            minecraft:dirt_path:* -> minecraft:coarse_dirt
            minecraft:farmland:* -> minecraft:coarse_dirt
            minecraft:grass_block:* -> minecraft:dirt_path
            minecraft:rooted_dirt:* -> minecraft:coarse_dirt
            minecraft:short_grass:* -> KILL
            #minecraft:crops -> KILL
            #minecraft:saplings -> KILL
            #minecraft:small_flowers -> KILL
            farmersdelight:rich_soil:* -> minecraft:coarse_dirt
            farmersdelight:rich_soil_farmland:* -> minecraft:coarse_dirt
         >

        # Effects spreading through rain.
        S:rain <
            minecraft:coarse_dirt:* -> minecraft:gravel
         >
    }

}


