Skip to content

Commit

Permalink
add limit to low (#21)
Browse files Browse the repository at this point in the history
Co-authored-by: Tokoeka <[email protected]>
  • Loading branch information
Tokoeka and Tokoeka authored Jan 31, 2024
1 parent 9fd47e3 commit c7173a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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
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

0 comments on commit c7173a8

Please sign in to comment.