Skip to content

Releases: bencbartlett/creep-tasks

creep-tasks 1.3.0

01 Aug 23:08
Compare
Choose a tag to compare

This release adds chaining functionality to tasks! Using Tasks.chain([task1, task2, ...]), you can transform a list of tasks into a single task, with each subsequent task set as the previous task's parent. This release also adds TaskWithdrawAll to accompany TaskTransferAll, adds a nextPos option to prevent creeps from idling for a tick while switching tasks, and fixes various bugs.

creep-tasks 1.2.0

01 Aug 23:04
Compare
Choose a tag to compare

This release fixes a bug in TaskTransfer and adds a oneShot option for tasks which should be completed in a single tick, such as drop / pickup / transfer / withdraw.

creep-tasks 1.1.1

15 May 21:37
Compare
Choose a tag to compare

This release fixes some bugs with TaskDrop and TaskFortify.

creep-tasks 1.1

02 May 02:34
Compare
Choose a tag to compare

This release reorganizes some things to make the npm package easier to work with, and it now includes (functional) typings!

creep-tasks 1.0

30 Apr 00:42
59f684b
Compare
Choose a tag to compare

This is the first release of creep-tasks, representing about a year of development of the tasks system within the Overmind codebase, and finally ported for general-purpose use in Screeps bots!

creep-tasks is a plugin for your Screeps codebase which adds a concise and flexible creep.task property to your creeps. Tasks are persistent objects that generalize the concept of "do action X to thing Y until condition Z is met" and they can save a lot of convoluted and redundant code in creep logic. A Task object contains the necessary logic for traveling to a target, performing an action on the target, and realizing when a task is no longer sensible to continue.