--[[

Some information about items we can encounter.
In particular ways to identify and what to craft.

is_placeable => can a turtle place it
is_digable => can the item be obtained by digging it as is
is_comparable => can a turtle compare it to a placed version
will_fall => when placed will it fall

]]--

y = true
n = false
p = 'partial' -- Multiple placed versions possible, but digging converts those to one version
m = 'multiple' -- Multiple versions of this item exist
c = 'conditionally' -- Placing and item like this requires conditions to be met
t = 'transforms' -- Digging this type of item lets you gain a different type
u = 'bucket'
s = 'spam' -- destroying this block may cause item drops
l = 'liquid'

-- name, is_placeable, is_digable, is_comparable, will_fall, fuel 
item_info = {
    {'Oak wood',    y, y, y, n, 18},
    {'Oak planks',  y, y, y, n, 18},
    {'Stick',       n, n, n, n,  6},
    {'Dirt',        y, y, p, n,  n},
    {'Cobble',      y, y, y, n,  n},
    {'Gravel',      y, y, y, y,  n},
    {'Sand',        y, y, y, y,  n},
    {'Iron ore',    y, y, y, n,  n},
    {'Iron ingot',  n, n, n, n,  n},
    {'Gold ore',    y, y, y, n,  n},
    {'Gold ingot',  n, n, n, n,  n},
    {'Coal',        n, n, n, n, 96},
    {'Charcoal',    n, n, n, n, 96},
    {'Oak sapling', y, y, y, n,  6},
    {'Apple',       n, n, n, n,  n},
    {'Glass',       y, n, y, n,  n},
    {'Glass pane',  y, n, y, n,  n},
    {'Redstone',    c, y, y, n,  n}, -- placing will always return true, but may not actually place it
    {'Lapis lazuli', n, n, n, n,  n},
    {'Stone',       y, t, y, n,  n},
    {'Sugar canes', c, y, y, n,  3},
    {'Bucket',      u, n, n, n,  n},
    {'Water bucket', u, n, n, n,  n},
    {'Lava bucket', u, n, n, n, 1200}, -- refuelling will transform lava bucket into bucket
    {'Lava cell',   n, n, n, n, 1200},
    {'Chest',       y, s, y, n, 18},
    {'Torch',       y, y, y, n,  n},
    {'Redstone torch', y, y, y, n,  n},
    {'Diamond',     n, n, n, n,  n},
    
-- FTB items
    
    {'Tin  ore',    y, y, m, n,  n},
    
}

recipes = {


}