this mod replaces the default npc order cronjob
scitor cee3baf1b7
license
2 years ago
LICENSE.txt license 2 years ago
README.md more notes 2 years ago
index.js higher starting sell amount 2 years ago
package.json into vcs 2 years 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.