Skip to content

Commit

Permalink
Build: (6238579) Merge pull request #93 from loathers/complete-kiwi
Browse files Browse the repository at this point in the history
create mechanism for "completing" projects
  • Loading branch information
horrible-little-slime committed Jun 20, 2024
1 parent 4688483 commit 4498be6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/excavator/excavator.js
Original file line number Diff line number Diff line change
Expand Up @@ -6874,8 +6874,9 @@ var MINI_KIWI = {
hooks: {
COMBAT_ROUND: spadeKiwi
},
since: 27973
since: 27973,
// mini kiwi familiar equipment added
completed: !0
};

// ../excavator-projects/projects/monsterParts.ts
Expand Down Expand Up @@ -8677,8 +8678,8 @@ function tupleNotNull(value) {
}
function main(event, meta, page) {
projects.filter(function(_ref) {
var hooks = _ref.hooks, _ref$since = _ref.since, since = _ref$since === void 0 ? 0 : _ref$since;
return event in hooks && since <= (0, import_kolmafia24.getRevision)();
var hooks = _ref.hooks, _ref$since = _ref.since, since = _ref$since === void 0 ? 0 : _ref$since, completed = _ref.completed;
return !completed && event in hooks && since <= (0, import_kolmafia24.getRevision)();
}).map(function(_ref2) {
var name = _ref2.name, hooks = _ref2.hooks;
return [name, hooks[event](meta, page)];
Expand Down

0 comments on commit 4498be6

Please sign in to comment.