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:
- Acquire an item that it can use to gather with
- Build a campfire
- Acquire an item that can start fires
- Acquire kindling
- Acquire tinder
- Acquire a shovel
- Acquire a knife
- Acquire a sword
- Acquire an axe
- Replace tattered shirt with a bark tunic
- Replace tattered pants with bark leggings
- Acquire an wooden shield
- Build a water still
- Build wooden chests near the campfire / base when running out of room
- Acquire a pick axe
- Acquire a hammer
- Acquire tongs
- Start desalinating water in the water still when near the base
- Plant seeds from the inventory when near the base
- Build a kiln
- Acquire an item to heal with, which will be held in the inventory for later use
- Acquire / upgrade a full set of leather equipment
- Build a well if an unlimited water source is available near the base
- Build a furnace
- Build an anvil
- Acquire an extra water container
- Build another water still
- Acquire food to hold in inventory for later use
- Acquire a bandage to hold in inventory for later use
- Fill extra water container to hold in inventory for later use
- Pickup items on the ground around the base and place them into chests
- Reinforce weapons / armor that have low durabiltiy
- Upgrade existing sword, shield, leather armor, and gathering equipment to better items
- 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:
- Defend against nearby creatures by choosing the best available weapon to use against it.
- Run away from creatures if we may die from it
- Check for and carve nearby creature corpses
- Acquire & build healing items when health is low
- Drink from water sources / use water stills when thristy
- Acquire food & eat when hungry
- Repair items that are running low on durability
- 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
References