Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/loathers/keeping-tabs into …
Browse files Browse the repository at this point in the history
…hulk
  • Loading branch information
Tokoeka committed Feb 1, 2024
2 parents bd3db1c + c7173a8 commit f344576
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ All options are supported in all tabs, unless specified. They are white space se
* `stockN`
* (only supported by `mall`, `display`, and `closet`). Ensures `N` copies of the item are stocked in the relevant locations, keeps the rest in your inventory
* `limitN`
* (only supported by `mall` and `sell`) Sets a mall limit of `N` copies per person per day
* (only supported by `mall`, `sell`, and `low`) Sets a mall limit of `N` copies per person per day
* `priceN`
* (only supported by `mall` and `sell`) Sets the price for selling in the mall.
* `<N`
Expand Down Expand Up @@ -147,7 +147,7 @@ keeping-tabs-coinmaster: coinid1=itemid1
keeping-tabs-coinmaster: coinid2=itemid2
```

It is recommended that you run `keeping-tabs debug coinmaster` after adding a collection to verify it is registered and is the item you expect.
It is recommended that you run `keeping-tabs debug coinmasters` after adding a collection to verify it is registered and is the item you expect.

## Running

Expand Down
2 changes: 1 addition & 1 deletion src/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const actions: {
low: (options) => {
return {
action: (item) => {
putShop(mallPrice(item), 0, amount(item, options), item);
putShop(mallPrice(item), options.limit ?? 0, amount(item, options), item);
},
};
},
Expand Down
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ function help(mode: "execute" | "debug") {
print(`keeping-tabs debug [command]`, HIGHLIGHT);
print(`alias - print all parsed aliases from notes`);
print(`collections - print all item target collections from notes`);
print(
`coinmasters - print all coinmaster items, target items (and best option based on mall price) from notes`
);
break;
}
}
Expand Down

0 comments on commit f344576

Please sign in to comment.