open-screeps icon indicating copy to clipboard operation
open-screeps copied to clipboard

:construction: reusable and tested building blocks for every screeps code base :construction:

Results 7 open-screeps issues
Sort by recently updated
recently updated
newest added

I was thinking of making a few modules: - [x] `creep-has-bodypart` - does the given creep have the given body part - [x] `creep-count-bodypart` - how many of the body...

I'm repeating myself in a few packages with my stubbings which isn't really necessary. If we create `@open-screeps\tests-stub` it could provide: - All the constants - A selection of creeps...

- [x] The module should calculate the effective power a tower can perform at specified range. This is mostly useful for usage along with `TOWER_POWER_ATTACK`, `TOWER_POWER_HEAL` or `TOWER_POWER_REPAIR`. Optionally create...

new package

The current setup uses [yeoman](https://www.npmjs.com/package/yeoman) to create new files, which works fine for this exact use case. When changes have to be made to every package (such as in [this...

enhancement

In npm the license currently links to `https://github.com/postcrafter/open-screeps/license.md` which results in a 404 error.

bug

The module should return the current screeps time, this basically comes down to creating a function that returns [`Game.time`](http://docs.screeps.com/api/#Game.time). Benefit of using this module is the separation of concern, if...

new package