I hereby claim:
- I am nolanfu on github.
- I am nolan_cafferky (https://keybase.io/nolan_cafferky) on keybase.
- I have a public key whose fingerprint is 19F6 6D87 69F9 B40F FC25 9BC6 E862 2C1B 4D65 0309
To claim this, I am signing this object:
// If you want the code below to work, run the following line somewhere within your main loop. Otherwise you won't be able to see the shiny market data. | |
// 1 is the current public segment for this data, but if you want to be a bit more robust, you can read my default public segment to determine which segment to read for market data. | |
// RawMemory.setActiveForeignSegment("Bovius", 1); | |
cowBuy: function(compound, maxAmount, maxPrice, roomName, staleThreshold) { | |
return this.cowDeal("sellers", compound, maxAmount, maxPrice, roomName, staleThreshold); | |
}, | |
cowSell: function(compound, maxAmount, minPrice, roomName, staleThreshold) { | |
return this.cowDeal("buyers", compound, maxAmount, minPrice, roomName, staleThreshold); |
// Performs expensive market calls so you don't have to. | |
// Gets 3 cheapest sellers / 3 most expensive buyers for each of a list of compounds and saves them to a public segment. | |
// Ignores orders if they have less than 10 of the compound remaining. | |
var MerchantFlyer = function() { | |
this.defaultPublicSegment = 0 | |
this.targetSegment = 1 | |
this.version = "v1.0.0" | |
this.maxOrders = 3 | |
this.minAmount = 10 |
I hereby claim:
To claim this, I am signing this object:
This gist documents player alliances known to exist on Screeps as of 2016-09-25 11:00 UTC.
We're in the process of developing a diplomatic dashboard to track alliances and treaties. For more information, check out the #loan
channel on the Screeps Slack.