A resource calculator for Foxhole facility production. Calculate the total basic resources (Salvage, Coal, Sulfur, Rare Metals) needed to build vehicles and structures. Main aim is to estimate 'worst case scenario' so the conversion rates are fixed for materials.
Requires Python 3.9+
python main.py- Choose whether to display facility material costs (type
1) or skip - Select products by name (case-insensitive)
- Enter the quantity for each product
- Type
doneto calculate totals
Warden: Chieftain, Thornfall, Outlaw, Blinder, RAC, Skycaller, King Jester, MG BT, Flame BT, Stain SPG, Frigate, Warden Submarine, Firebrand, Cullen Predator, Callahan, Mercy
Colonial: Ares, Titan, Trident, Conqueror, Poseidon
Faction Neutral: RSC, Storm Cannon, Underground Fortress, Intel Center, Bowhead, Longhook, Bluefin
poetry install- pytest - Unit testing
- mypy - Static type checking
poetry run pytestpoetry run mypy .- current calculation is based off worst case scenario (i.e. worst coal to coke conversion rates, PCmats made only using material beams recipe, etc.), at the moment switching between states is not being considerate