this mod replaces the default npc order cronjob

README.md 512B

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.