Skip to content

Commit

Permalink
Merge pull request #65 from VaingloriousReptile/patch-2
Browse files Browse the repository at this point in the history
[DST] Trail Mix Fix
  • Loading branch information
bluehexagons authored Oct 30, 2024
2 parents 325e701 + 5f71712 commit 94b5230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions html/food.js
Original file line number Diff line number Diff line change
Expand Up @@ -1794,6 +1794,7 @@ export const food = {

acorn_dst: {
name: 'Birchnut',
seed: 1,
perish: perish_preserved,
stack: stack_size_smallitem,
cook: 'acorn_cooked_dst',
Expand Down
2 changes: 1 addition & 1 deletion html/recipes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ export const recipes = {
trailmix_dst: {
name: 'Trail Mix',
test: (cooker, names, tags) => {
return (names.acorn_dst || names.acorn_cooked) && tags.seed && tags.seed >= 1 && (names.berries_dst || names.berries_cooked_dst || names.berries_juicy || names.berries_juicy_cooked) && tags.fruit && tags.fruit >= 1 && !tags.meat && !tags.veggie && !tags.egg && !tags.dairy;
return (names.acorn_dst || names.acorn_cooked_dst) && tags.seed && tags.seed >= 1 && (names.berries_dst || names.berries_cooked_dst || names.berries_juicy || names.berries_juicy_cooked) && tags.fruit && tags.fruit >= 1 && !tags.meat && !tags.veggie && !tags.egg && !tags.dairy;

},
requirements: [NAME('acorn'), TAG('seed', COMPARE('>=', 1)), NAME('berries'), TAG('fruit', COMPARE('>=', 1)), NOT(TAG('meat')), NOT(TAG('veggie')), NOT(TAG('egg')), NOT(TAG('dairy'))],
Expand Down

0 comments on commit 94b5230

Please sign in to comment.