Skip to content

cwpearson/beavertails

Repository files navigation

B.E.A.V.E.R.T.A.I.L.S.

(Beaver Engineering And Village Expansion Resource Transport Allocation Integer Linear Systems)

An unofficial, unaffiliated, third-party resource planning assistant for Mechanistry's Timberborn video game.

beavertails 0.2.6 on macOS

Binary Releases

Prebuilt binaries are available on the releases page for

  • macOS 11
  • Ubuntu 20.04
  • Windows 2019

If you are using an older operating system the binary releases may not work and you'll need to download the source and run it yourself.

Using the binary release on Windows

  1. Download the beavertails_win2019.zip from the releases page and extract.
  2. Double-click
  3. A warning along the lines of insecure app will pop up. That's because I don't know (or care) how to sign a Windows app.
  4. Click through the warning and the app will run in a terminal window.

Using the binary release on macOS

  1. Download the beavertails_macOS.zip from the releases page and extract.
  2. Right-click on beavertails and click Open
  3. A warning about "a Unix app downloaded from the Internet" will pop up. That's because I don't care to create an Apple developer account and sign the binary.
  4. Click through the warning and the app will run in a terminal window.

Using the binary release on Ubuntu

  1. Download the beavertails_ubu2004.zip from the releases page and extract.
  2. Navigate to the extracted file in your terminal and run it.

Running from Source

Clone the repository

pip install -r requirements.txt
python -m beavertails.tui

Acknowledgements

Building for macOS

pyinstaller beavertails/tui.py \
  --add-data beavertails/static:./beavertails/static \
  --add-data beavertails/beavertails.tcss:. \
  --collect-all pulp \
  --onefile \
  --name beavertails_macOS

Building for Ubuntu

pyinstaller beavertails/tui.py \
  --add-data beavertails/static:./beavertails/static \
  --add-data beavertails/beavertails.tcss:. \
  --collect-all pulp \
  --onefile --nowindow --noconfirm \
  --name beavertails_ubu2004

Building for Windows

pyinstaller beavertails/tui.py --add-data "beavertails/static;./beavertails/static" --add-data "beavertails/beavertails.tcss;." --collect-all pulp --onefile --nowindow --noconfirm --name beavertails_win2019.exe

Roadmap

  • TUI using textual
  • include recipe utilization in the model
  • configurable workday length
  • configurable other parameters
  • Beavers eat multiple foods
  • global efficiency
    • individual recipe efficiencies
  • enable/disable recipes
  • injuries
  • well-being
  • use .spec for pyInstaller