//priority: 1001
// Registry of soils for use in botany pots
const soilRegistry = [
   {
      block: 'minecraft:coarse_dirt',
      categories: [ 'dirt', 'coarse_dirt' ],
      growthModifier: 0.05
   },
   {
      block: 'minecraft:crimson_nylium',
      categories: [ 'dirt', 'crimson_nylium', 'nylium', 'mushroom' ],
      growthModifier: 0.05
   },
   {
      block: 'minecraft:farmland',
      categories: [ 'dirt', 'farmland' ],
      growthModifier: 0.15
   },
   {
      block: 'farmingforblockheads:fertilized_farmland_rich',
      categories: [ 'dirt', 'farmland' ],
      growthModifier: 0.25
   },
   {
      block: 'farmingforblockheads:fertilized_farmland_healthy',
      categories: [ 'dirt', 'farmland' ],
      growthModifier: 0.25
   },
   {
      block: 'farmingforblockheads:fertilized_farmland_stable',
      categories: [ 'dirt', 'farmland' ],
      growthModifier: 0.15
   },
   {
      block: 'farmingforblockheads:fertilized_farmland_rich_stable',
      categories: [ 'dirt', 'farmland' ],
      growthModifier: 0.25
   },
   {
      block: 'farmingforblockheads:fertilized_farmland_healthy_stable',
      categories: [ 'dirt', 'farmland' ],
      growthModifier: 0.25
   },
   {
      block: 'quark:glowcelium',
      categories: [ 'dirt', 'glowcelium', 'mushroom' ],
      growthModifier: 0.05
   },
   {
      block: 'minecraft:podzol',
      categories: [ 'dirt', 'grass', 'podzol', 'mushroom' ],
      growthModifier: 0.05
   },
   {
      block: 'minecraft:grass_block',
      categories: [ 'dirt', 'grass' ],
      growthModifier: 0.15
   },
   {
      block: 'minecraft:mycelium',
      categories: [ 'dirt', 'mushroom' ],
      growthModifier: 0.05
   },
   {
      block: 'minecraft:warped_nylium',
      categories: [ 'dirt', 'warped_nylium', 'nylium', 'mushroom' ],
      growthModifier: 0.05
   },
   {
      block: 'minecraft:dirt',
      categories: [ 'dirt' ],
      growthModifier: 0
   },
   {
      block: 'minecraft:end_stone',
      categories: [ 'end_stone' ],
      growthModifier: 0
   },
   {
      block: 'minecraft:lava_bucket',
      categories: [ 'fluid', 'liquid', 'lava' ],
      growthModifier: 0
   },
   {
      block: 'minecraft:water_bucket',
      categories: [ 'fluid', 'liquid', 'water' ],
      growthModifier: 0
   },
   {
      block: 'minecraft:netherrack',
      categories: [ 'nether', 'netherrack' ],
      growthModifier: 0
   },
   {
      block: 'minecraft:red_sand',
      categories: [ 'sand', 'red_sand' ],
      growthModifier: 0
   },
   {
      block: 'minecraft:sand',
      categories: [ 'sand', 'red_sand' ],
      growthModifier: 0
   },
   {
      block: 'minecraft:soul_sand',
      categories: [ 'soul_sand', 'nether' ],
      growthModifier: -0.3
   },
   {
      block: 'minecraft:soul_soil',
      categories: [ 'soul_sand', 'nether', 'soul_soil' ],
      growthModifier: 0
   },
   {
      block: 'minecraft:basalt',
      categories: [ 'basalt', 'nether' ],
      growthModifier: 0
   },
];

const dirt_types = [ 'blood', 'earth', 'ender', 'sky' ];
const grass_types = [ 'earth', 'ender', 'ichor', 'sky', 'vanilla' ];

dirt_types.forEach(dirt_type => {
   if (dirt_type != 'blood') {
      soilRegistry.push({
         block: `tconstruct:${dirt_type}_slime_dirt`,
         categories: [ 'slimy_dirt' ],
         growthModifier: 0.0
      });
   }

   grass_types.forEach(grass_type => {
      soilRegistry.push({
         block: `tconstruct:${dirt_type}_${grass_type}_slime_grass`,
         categories: [ 'slimy_dirt' ],
         growthModifier: 0.2
      });
   });
});
