This is my own attempt of building a modular library/script for the geeky game Screeps.
To use this script follow the instructions.
If you want to alter this, RTFM... Saves a lot of time...
-
- Make sure your spawn is called
Spawn1
- Make sure you have a flag called
Rally1
, this is the rally-point for attackers/defenders - Set your room-name in memory. Documentation
- You don't need any creeps to start with, this script runs from the very start of a world.
- Make sure your spawn is called
Copy all the contents to your local folder.
Note that the folder ScreepsAutocomplete
is only needed if you want autocomplete to work for some editors. (See https://github.com/Garethp/ScreepsAutocomplete/ for more info)
Special thanks to thPion's tutorial-scripts and his helpful videos