# 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 particular to general (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: #c:ores/copper).
# 
# Possible actions (case sensitive): BONEMEAL, KILL, POLLUTE
##########################################################################################################

Impacts {

    sulfur {
        # Effects spreading through air.
        S:air <
            minecraft:fern:* -> KILL
            minecraft:grass:* -> KILL
            minecraft:moss_carpet:* -> KILL
            minecraft:short_grass:* -> KILL
            #minecraft:crops -> KILL
            #minecraft:saplings -> KILL
            #minecraft:small_flowers -> KILL
            10% -> minecraft:bee_nest:* -> KILL
            20% -> minecraft:big_dripleaf:* -> KILL
            20% -> minecraft:large_fern:* -> KILL
            20% -> minecraft:leaf_litter:* -> KILL
            20% -> minecraft:tall_grass:* -> KILL
            20% -> #minecraft:tall_flowers -> KILL
            30% -> #minecraft:leaves -> KILL
            30% -> minecraft:sweet_berry_bush:* -> KILL
            40% -> minecraft:cactus:* -> KILL
            40% -> minecraft:melon:* -> KILL
            40% -> minecraft:pumpkin:* -> KILL
            40% -> minecraft:sugar_cane:* -> KILL
            50% -> minecraft:grass_block:* -> minecraft:podzol
            50% -> minecraft:moss_block:* -> minecraft:podzol
            agricraft:crop:* -> KILL
         >

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

        # Effects spreading through rain.
        S:rain <
            minecraft:bamboo:* -> KILL
            minecraft:bee_nest:* -> KILL
            minecraft:big_dripleaf:* -> KILL
            minecraft:dirt_path:* -> minecraft:podzol
            minecraft:farmland:* -> minecraft:podzol
            minecraft:grass_block:* -> minecraft:podzol
            minecraft:large_fern:* -> KILL
            minecraft:leaf_litter:* -> 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
            10% -> minecraft:melon:* -> KILL
            10% -> minecraft:pumpkin:* -> KILL
            15% -> minecraft:stone -> minecraft:cobblestone
            20% -> minecraft:hay_block:* -> KILL
            30% -> minecraft:mangrove_roots:* -> KILL
            farmersdelight:rich_soil:* -> minecraft:podzol
            farmersdelight:rich_soil_farmland:* -> minecraft:podzol
         >
    }

    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
         >
    }

    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
         >
    }

}


