this mod replaces the default npc order cronjob
scitor cee3baf1b7
license
1 year ago
LICENSE.txt license 1 year ago
README.md more notes 1 year ago
index.js higher starting sell amount 1 year ago
package.json into vcs 1 year ago

README.md

Better NPC orders

this mod is used to replace the default npc order cronjob on the screeps.space server

terminals

each terminal:

  • buys always buys power
  • buys or sells (50:50) energy/hydrogen/oxygen
  • buys one of the other base minerals with 50% chance
  • sells one of the other base minerals

the amount is 400k for O,H and energy and 100k for the other minerals.

for every terminal it checks the history. if there were transactions for this mineral, it tries to take the same again, or a random one.