Skip to content

TARS is a bot that will play Wayward by itself, doing tasks such as gathering resources, setting up a camp, hunting, getting food/water, and more!

License

Notifications You must be signed in to change notification settings

WaywardGame/tars

Repository files navigation

TARS

Let TARS play the game for you. Good thing there are no black holes in Wayward.

TARS is a bot that will play Wayward by itself, doing tasks such as gathering resources, setting up a camp, hunting, getting food/water, and more! It's named after the robot from Interstellar.

By default, press T to open the TARS dialog or press Shift + T to immediately enable / disable TARS.

Steam Workshop

Subscribe to the mod on the Steam Workshop to use it.

https://steamcommunity.com/sharedfiles/filedetails/?id=1218286592

Overview

TARS is a practical application of AI planning. This means that when TARS wants to "Acquire a Copper Sword", it will gather every item & prerequisite in order to do so - it will build a kiln, furnace, acquire copper ore, smelt bars, etc.

Here is a brief list of objectives TARS will complete as it's running:

  1. Acquire an item that it can use to gather with
  2. Build a campfire
  3. Acquire an item that can start fires
  4. Acquire kindling
  5. Acquire tinder
  6. Acquire a shovel
  7. Acquire a knife
  8. Acquire a sword
  9. Acquire an axe
  10. Replace tattered shirt with a bark tunic
  11. Replace tattered pants with bark leggings
  12. Acquire an wooden shield
  13. Build a water still
  14. Build wooden chests near the campfire / base when running out of room
  15. Acquire a pick axe
  16. Acquire a hammer
  17. Acquire tongs
  18. Start desalinating water in the water still when near the base
  19. Plant seeds from the inventory when near the base
  20. Build a kiln
  21. Acquire an item to heal with, which will be held in the inventory for later use
  22. Acquire / upgrade a full set of leather equipment
  23. Build a well if an unlimited water source is available near the base
  24. Build a furnace
  25. Build an anvil
  26. Acquire an extra water container
  27. Build another water still
  28. Acquire food to hold in inventory for later use
  29. Acquire a bandage to hold in inventory for later use
  30. Fill extra water container to hold in inventory for later use
  31. Pickup items on the ground around the base and place them into chests
  32. Reinforce weapons / armor that have low durabiltiy
  33. Upgrade existing sword, shield, leather armor, and gathering equipment to better items
  34. Stock up on food & water, build a sailboat, and move to another island

In between running objectives, it may pause to process an interrupt. Here are a few of the interrupts:

  1. Defend against nearby creatures by choosing the best available weapon to use against it.
  2. Run away from creatures if we may die from it
  3. Check for and carve nearby creature corpses
  4. Acquire & build healing items when health is low
  5. Drink from water sources / use water stills when thristy
  6. Acquire food & eat when hungry
  7. Repair items that are running low on durability
  8. Return to the base to put items into chests if theres too many items in the inventory

Cloning/Setup:

git clone https://github.com/WaywardGame/tars.git
cd tars
On Windows: path/to/wayward/install/wayward.cmd +mod update .
On macOS: path/to/wayward/install/Wayward.app/Contents/MacOS/Electron +mod update .
On Linux: path/to/wayward/install/wayward +mod update .p

Building:

Open the folder in Visual Studio Code and build with Ctrl+Shift+B.

Screenshots

TARS

Screenshot #1

Screenshot #2

Screenshot #3

Screenshot #4

Screenshot #5

References

About

TARS is a bot that will play Wayward by itself, doing tasks such as gathering resources, setting up a camp, hunting, getting food/water, and more!

Resources

License

Stars

Watchers

Forks

Packages

No packages published