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

Creep Modules

Open Arcath opened this issue 7 years ago • 1 comments

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 part does the creep have
  • [ ] is-creep-boosted - is the creep boosted. optional param of RESOURCE_* constant for if the creep is boosted with the given boost.
  • [ ] is-creep-boosted-count - how many body parts are boosted. optional param of RESOURCE_* constant for if the creep is boosted with the given boost.
  • [x] is-carrying - is the creep carrying the given resource.
  • [x] is-fatigued - is the creeps fatigue higher than 0

Arcath avatar Jan 15 '18 15:01 Arcath

For the is-creep-boosted an extra feature would be to have the ability to see if a specific bodypart of a creep is boosted with a specific boost?

m-rsmn avatar Jan 18 '18 12:01 m-rsmn