Skip to content

Commit

Permalink
feat(experience): [#460] grant experience for selling stones
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyckahn committed Oct 13, 2023
1 parent 460621c commit df76490
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game-logic/reducers/sellItem.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { testItem } from '../../test-utils'
import { LOAN_PAYOFF } from '../../templates'
import { carrot } from '../../data/crops'
import { bronzeOre, coal, milk1 } from '../../data/items'
import { bronzeOre, coal, milk1, saltRock } from '../../data/items'
import { carrotSoup } from '../../data/recipes'

import { sellItem } from './sellItem'
Expand Down Expand Up @@ -236,6 +236,7 @@ describe('sellItem', () => {
coal,
carrotSoup,
bronzeOre,
saltRock,
].map(item => [item.type, item])

test.each(experienceTestArgs)(
Expand Down
1 change: 1 addition & 0 deletions src/utils/isItemAFarmProduct.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const FARM_PRODUCT_TYPES = [
itemType.FUEL,
itemType.MILK,
itemType.ORE,
itemType.STONE,
]

/**
Expand Down

0 comments on commit df76490

Please sign in to comment.