![screeps slack screeps slack](https://timothymeadows.com/content/images/2017/09/bodyparts.png)
Move - sudo mv screepsnotify /opt/screepsnotify.Unpack - mkdir screepsnotify tar zxvf screepsnotify.tgz -C.
#Screeps slack download#
![screeps slack screeps slack](https://media.indiedb.com/images/members/4/3606/3605828/profile/world.png)
Sure the group sends a message to all available services). Groups can either be an array of services or the string all (which will make Groups define which services get used when a notification is sent. # Optionally specify an emoji as a user icon icon_emoji: Define Groups If not set the webhook default will be used.
#Screeps slack driver#
# Set driver to SLACK type: slack # Specify a url webhook_url: # Set driver to HTTP type: http # Specify a url url: # Provide an API key for AWS Gateway (optional) api-key: sms_from: '+15555555555 ' # This should be the number you want to receive the texts. Really, a lot of these visualization elements aren’t unique to the Grey Company, so it might make sense to create an npm package to share these.# Set driver to twilio type: sms # Your Account SID from twilio_sid:
#Screeps slack generator#
I’d love to create a chart generator for the metrics we’re tracking in the StatisticsAnalyst too.
#Screeps slack upgrade#
Jakesboy2 from the Screeps Slack shared one of his visualizations which included a chart depicting room upgrade rate. Styling, too, could be improved: there’s no way to set a different style on headers. The Table generator itself has room for improvement: it can be distracting to have the entire table changing length when the content does, so it might make more sense to set the height directly and just let the content adjust itself. We’ll adapt the visualization controller to be a bit more flexible in this regard. The simple toggles above don’t interact with each other, so I have to switch HR off before I switch Task on - otherwise the tables collide. Future ImprovementsĪfter laying out some of the larger tables like HR and task management, I can see it’ll be helpful to have different report views that I can switch between. I already had console table reports for HR and Task Managers, so I just switched those over directly to the RoomVisualTable. We’ll need to do a bit more work to get fully flexible styles, and there’s a lot that can be improved about the display, but this is a good first step towards RoomVisual reports: I’ll create a global control object, we’ll call it v, to switch things on and off: The architecture work (laying out construction sites) all happens in the plan phase, so we’ll use the Run phase for visualization. Since our Architects are extensions of OfficeManager, they have the usual init/plan/run/cleanup phases. I should also be able to switch the planning layout on and off. We can easily enough transform those roads into a poly line. In our case, that translates to Franchises (set up at Sources) and Roads between the Spawn, Sources, and Controller. The first thing I’d like to see is the room planning layout.
![screeps slack screeps slack](https://cdn.cloudflare.steamstatic.com/steam/apps/464350/capsule_616x353.jpg)
I’d like to have a “heads up display” on the map with the most relevant data - perhaps several, to drill down to details of specific subsystems. Others I have to navigate through the object hierarchy, as boardroom. Some of these I’ve set up with a global shortcut function that I can call from the console, as officeReport (). The TaskManager has a different report that lists reports, tasks, and idle minions. For example, there’s a general Office report that lists the status of each subsystem (OFFLINE, MINIMAL, NORMAL, or PRIORITY) and shows scan reports of surrounding territories. I have some rudimentary reports in the console, which generate tables of data. But this poses a problem of its own: how can we see what the Grey Company sees? There are still some issues we need to tune, to make sure the energy is being carted where it needs to go and used effectively. Here’s the GitHub repo if you’d like to follow along.Ĭreeps have successfully left the room and started mining! The Grey Company’s view of the world has expanded beyond its borders. The article below describes the AI in its current state: I’m still expanding and refining my codebase.