include "items.txt"

# Floors
ig_big = Random(
       i_axe : 30,
       i_hammer : 25,
       [i_dagger,Random(1,1,Random(d3+1,d4+1,d5+1))] : 20,
       i_bear_trap : 20,
       i_crossbow : 15,
       i_staff : 10,
       i_poison_trap : 4,
       i_blade_trap : 4,
       [i_bolts,d4] : 4,
       i_potion : 4,
       i_scroll : 4
)

# Chests
ig_pot = Random(
       i_poison_trap : 1,
       i_blade_trap : 1,
       ig_trap : 5,
       i_potion : 5,
       i_scroll : 4
)

# Barrels
ig_trap = Random(
        i_poison_trap : 6,
        i_blade_trap : 6,
        [i_bolts,d4] : 6,
        i_potion : 1,
        [i_dagger,Random(d3+1,d4+1,d5+1)]  : 6
)

# (Large) Tables
ig_table = Random(
         ig_big:1,
         ig_pot:2,
         ig_trap:1
)

# small skull or small table chance = 75
# small skull or small table generator = Random(ig_pot:2, ig_table:1)

# Random respawning of items:
ig_respawn = Random(
           i_potion:3,
           i_scroll:3,
           i_blade_trap:1,
           i_poison_trap:1,
           [i_bolts,d4]:1,
           i_lockpicks:3
)
