Forged Container

## Overview

Forged Containers are a very useful and capacious storage blocks found in Ruins. They have 3x the capacity of a regular double chest. They display a standard 6x9 grid but have 3 tabs on the left that can be switched with `A``S``D` keys.

## Opening

   They generate with up to 4 lock, some of which may already be randomly broken. Each lock requires player to use a Hammers up to 4 times to break open each lock. When all the locks break, a Claw tool has to be used up to 5 times to pry open the lid. When done so, the UI will open and player will find various tetra and redstone loot in the chest.

## Obtaining

Use a Hammer with Silk Touch to break and acquire the block. If Silk Touch is not used, it will yield Metal Scrap.

## Loot

When opened, containers may generate loot according to the following loot table file:

```
{
   "pools":[
      {
         "name":"forged/container_content_hammer",
         "rolls":1,
         "entries":[
            {
               "type":"item",
               "name":"tetra:vent_plate"
            },
            {
               "type":"item",
               "name":"tetra:lubricant_dispenser"
            },
            {
               "type":"item",
               "name":"tetra:combustion_chamber",
               "weight":2
            },
            {
               "type":"item",
               "name":"tetra:planar_stabilizer",
               "weight":2
            },
            {
               "type":"item",
               "name":"tetra:thermal_cell",
               "functions":[
                  {
                     "function":"set_damage",
                     "damage":{
                        "min":0,
                        "max":1
                     }
                  }
               ]
            }
         ]
      },
      {
         "name":"forged/container_content_good",
         "rolls":1,
         "entries":[
            {
               "type":"item",
               "name":"tetra:stonecutter"
            },
            {
               "type":"item",
               "name":"tetra:earthpiercer"
            },
            {
               "type":"item",
               "name":"tetra:forged_mesh"
            },
            {
               "type":"item",
               "name":"tetra:forged_beam"
            },
            {
               "type":"item",
               "name":"tetra:vent_plate"
            },
            {
               "type":"item",
               "name":"tetra:quick_latch"
            }
         ]
      },
      {
         "name":"forged/container_extractors",
         "rolls":{
            "min":1,
            "max":5
         },
         "entries":[
            {
               "type":"item",
               "name":"tetra:chthonic_extractor"
            }
         ]
      },
      {
         "name":"forged/container_content",
         "rolls":{
            "min":4,
            "max":9
         },
         "entries":[
            {
               "type":"item",
               "name":"tetra:metal_scrap",
               "weight":10,
               "functions":[
                  {
                     "function":"set_count",
                     "count":{
                        "min":10,
                        "max":30
                     }
                  }
               ]
            },
            {
               "type":"item",
               "name":"tetra:forged_bolt",
               "weight":1
            },
            {
               "type":"item",
               "name":"minecraft:diamond",
               "weight":1
            },
            {
               "type":"item",
               "name":"minecraft:emerald",
               "weight":1
            },
            {
               "type":"item",
               "name":"minecraft:redstone",
               "weight":1,
               "functions":[
                  {
                     "function":"set_count",
                     "count":{
                        "min":1,
                        "max":15
                     }
                  }
               ]
            },
            {
               "type":"item",
               "name":"minecraft:piston",
               "weight":1,
               "functions":[
                  {
                     "function":"set_count",
                     "count":{
                        "min":1,
                        "max":2
                     }
                  }
               ]
            },
            {
               "type":"item",
               "name":"minecraft:hopper",
               "weight":1,
               "functions":[
                  {
                     "function":"set_count",
                     "count":{
                        "min":1,
                        "max":2
                     }
                  }
               ]
            },
            {
               "type":"item",
               "name":"minecraft:rail",
               "weight":1,
               "functions":[
                  {
                     "function":"set_count",
                     "count":{
                        "min":1,
                        "max":64
                     }
                  }
               ]
            },
            {
               "type":"item",
               "name":"minecraft:powered_rail",
               "weight":1,
               "functions":[
                  {
                     "function":"set_count",
                     "count":{
                        "min":1,
                        "max":16
                     }
                  }
               ]
            },
            {
               "type":"item",
               "name":"minecraft:detector_rail",
               "weight":1,
               "functions":[
                  {
                     "function":"set_count",
                     "count":{
                        "min":1,
                        "max":8
                     }
                  }
               ]
            },
            {
               "type":"item",
               "name":"minecraft:observer",
               "weight":1
            },
            {
               "type":"item",
               "name":"minecraft:daylight_detector",
               "weight":1
            },
            {
               "type":"item",
               "name":"minecraft:gunpowder",
               "weight":1,
               "functions":[
                  {
                     "function":"set_count",
                     "count":{
                        "min":1,
                        "max":64
                     }
                  }
               ]
            }
         ]
      }
   ]
}

```