loathers / grimoire

Apache License 2.0
3 stars 9 forks source link

Proposal for partial tasks to be bundled with grimoire #41

Open pstalcup opened 2 years ago

pstalcup commented 2 years ago

Here is roughly how I imagine this being used:

import { merge } from "grimoire-kolmafia/partials"
import { ProtonGhost, VoidMonser } from "grimoire-kolmafia/partials/wanderers"
import { BowlingBall } from "grimoire-kolmafia/partials/freerun"

const farmingQuest = {
  name: "Farming",
  tasks: [
    ProtonGhost,
    extend(VoidMonster, {
      do: $location`Seecrit Farming Zone`,
    }),
    extend(BowlingBall, {
      do: $location`Seecrit Delay Zone`,
      combat: new CombatStrategy().macro(BowlingBall.macro)
    })
    {
      name: "Farm",
      do: $location`Seecrit Farming Zone`,
      combat: new CombatStrategy.macro(Macro.attack().repeat())
    }
  ]
}