# Hand tools (design 5.1). Read at startup by the game and the server (src/model/items/Items.cpp).
#
# [tool KEY]     a tool by its item key (its name in lower case with '_' for spaces).
#   mine speed   what the tool divides break time by: rock, ice and metal for pickaxes and the
#                drill, wood for axes. Bare hands are 1.
#   power        suit power a powered tool takes each time it's used (the drill: each pass)
#   hard ore     yes: it breaks hard ore (cobalt, from metal-rich asteroids). Nothing else does
#   reach        m: how far a tractor beam grabs from
#
# [laser KEY]    a laser that heats as it fires, by its item key (the handheld mining laser).
#   heat per shot   what one shot adds; at 1 it overheats and stops firing
#   cooling         what it sheds each second
#   cooled          once overheated, it fires again when back down to this
#
# [pack KEY]     a backpack by its item key. Suit power (design 5.1) is kept on the worn pack.
#   power        how much it holds
#   oxygen       seconds of air it holds for a sealed suit (design 3, "Oxygen")
#
# [suit-power Charging]   where suit power comes from (the server charges it)
#   ship              per second while aboard a ship
#   fabricator        per second within `fabricator reach` metres of a fabricator, the base charger
#   power cell        what one power cell puts back (using one takes it)
#
# [oxygen Tanks]  carried oxygen tanks (design 3, "Oxygen"). The server keeps each tank's air on the
#                 item and fills them; a full one used from the quickbar tops up the suit.
#   tank          seconds of suit air in a full tank
#   fill          seconds of air a tank takes in each second it fills, one tank at a time, in
#                 breathable air, a cockpit or a ship's life support
#   stack         tanks in one slot

[tool stone_pickaxe]
mine speed = 3.5

# Between stone and iron: a first metal pick for worlds where copper turns up before iron.
[tool copper_pickaxe]
mine speed = 4.5

[tool iron_pickaxe]
mine speed = 5

[tool titanium_pickaxe]
mine speed = 7
hard ore = yes

[tool stone_axe]
mine speed = 2.5

[tool iron_axe]
mine speed = 4

# Powered tools draw suit power.
[tool mining_drill]
mine speed = 10
power = 2
hard ore = yes

# Tractor beams (game/player/Tractor.cpp, server/build/ServerTractor.cpp): hold LMB on a container
# or a placed block to lift it, what it holds and all; let go where its ghost shows. Suit power each
# second it holds something. The heavy beam also tows a fighter that nobody flies.
[tool tractor_beam]
power = 0.5
reach = 8

[tool heavy_tractor_beam]
power = 1.5
reach = 14

# The handheld mining laser: about five seconds held down overheats it, and it takes about two to
# cool enough to fire again.
[laser handheld_mining_laser]
heat per shot = 0.07
cooling = 0.35
cooled = 0.3

# About 5, 12 and 30 minutes of air.
[pack scout_oxygen_pack]
power = 100
oxygen = 300

[pack pioneer_oxygen_pack]
power = 200
oxygen = 720

[pack vanguard_oxygen_pack]
power = 400
oxygen = 1800

[suit-power Charging]
ship = 10
fabricator = 5
fabricator reach = 4
power cell = 100

# A full tank is three minutes of air and fills in half a minute.
[oxygen Tanks]
tank = 180
fill = 6
stack = 4
