Skip to content

Commit

Permalink
fix: split back skin trade rule from belly/hornback skin rule
Browse files Browse the repository at this point in the history
  • Loading branch information
pdl committed Sep 30, 2024
1 parent 085e9bc commit 1ce25b5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/data/trade_mapping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -500,12 +500,19 @@ rules:
output:
unit: 'NULL'
standardise_terms_and_units:
- rule_name: 'Belly skins, back skins, hornback skins each count as half a skin'
- rule_name: 'Back skins count as half a skin'
input:
terms: ['SKI', 'SKP']
units: ['BSK', 'BAK', 'HRN']
units: ['BAK']
output:
term: 'SKI'
unit: 'NULL'
quantity_modifier: '/'
modifier_value: 2
- rule_name: 'Belly skins, hornback skins each count as one whole skin'
input:
terms: ['SKI', 'SKP']
units: ['BSK', 'HRN']
output:
term: 'SKI'
unit: 'NULL'

0 comments on commit 1ce25b5

Please sign in to comment.