screeps icon indicating copy to clipboard operation
screeps copied to clipboard

Scripts for my Screeps MMO colonies (JS; ongoing).

Results 21 screeps issues
Sort by recently updated
recently updated
newest added

When non-combat creeps are fleeing enemies, use RoomPosition.isWalkable(true) to look ahead and make sure they aren't walking into a wall!

When a remote mining room is under attack (e.g. Invaders), carriers end up stacked on edge tiles, blocking the way of soldiers advancing to the room. Implement travelSwap in this...

optimization

Soldiers attack Keepers instead of passing by them.

https://www.reddit.com/r/screeps/comments/cm5o0w/so_is_everyone_just_using_overmind_now/ > frankster Asymmetric warfare against overminds gives good results if you force them to over-respond. So send into one of their remotes a little attacking creep with 1 attack,...

to implement

Double check if pinging into Safe Mode is implemented properly. That it goes into safe mode if: Enemy gets to core structure? (e.g. Tower spawn extension storage etc)

needs testing

A log to quickly see all custom populations and wall targets

to implement

Delay placement of walls (rcl 3) until after extensions/tower built.

enhancement

If 1 link is within range of multiple targets (controller, source), will make erroneous definitions.

bug

If multiple spawns in 1 room start spawning at the same tick, only 1 console.log() reaches output

bug

When sequentially calling _.sortBy ... figure out how to combine sorting conditions into 1 statement... potentially using tertiaries or multipliers?? Because more _sortBy's * longer arrays to sort == CPU...

optimization