mirror of
https://github.com/paradizelost/screeps.git
synced 2024-11-25 02:14:44 -06:00
14 lines
414 B
JavaScript
14 lines
414 B
JavaScript
|
/*
|
||
|
Create order for energy and set price, store order id in room
|
||
|
if terminal has more than X in it, extend the sell order
|
||
|
if energy cost is below X buy it, and resell it at higher price
|
||
|
|
||
|
Game.market.createOrder(ORDER_SELL,RESOURCE_ENERGY,PRICE,AMOUNT,ROOM)
|
||
|
Game.market.createOrder(ORDER_SELL,RESOURCE_ENERGY,.03,10000,'W53N52')
|
||
|
Game.market.extendOrder('5953e604f605574924e58ec0',10000)
|
||
|
|
||
|
*/
|
||
|
|
||
|
module.exports = {
|
||
|
|
||
|
};
|