shop: add Pounder #87

Merged
sb10q merged 2 commits from esavkin/web2019:42-pounder into master 2023-08-10 12:27:06 +08:00
3 changed files with 24 additions and 1 deletions
Showing only changes of commit aff57d7991 - Show all commits

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -2183,7 +2183,7 @@ class Shop extends React.PureComponent {
} }
// check for number of recommanded EEM connectors // check for number of recommended EEM connectors
['novo', 'urukul', 'koster'].map(_type => { ['novo', 'urukul', 'koster'].map(_type => {
if (itemsCloned.find(elem => elem.type === _type)) { if (itemsCloned.find(elem => elem.type === _type)) {
rules[this.state.items[_type].rules.connectors.type] = {...this.state.items[_type].rules.connectors}; rules[this.state.items[_type].rules.connectors.type] = {...this.state.items[_type].rules.connectors};

View File

@ -867,6 +867,27 @@ const shop_data = {
nbrClockMax: 0, nbrClockMax: 0,
slotOccupied: 1, slotOccupied: 1,
clockOccupied: 0 clockOccupied: 0
},
'pounder': {
id: 'pounder',
name: 'PDH lock generator',
name_number: '4459',
name_codename: 'Stabilizer + Pounder',
price: 4460,
image: '/shop/graphic-03_Pounder.svg',
specs: [
'2 channel Pound Drever Hall (PDH) lock generator for Stabilizer.',
'AD9959 DDS (500MSPS, 10-bit).',
'1-200 MHz.'
],
size: 'big',
type: null,
hp: 8,
nbrSlotMin: 0,
nbrSlotMax: 0,
nbrClockMax: 0,
slotOccupied: 1,
clockOccupied: 1,
} }
}, },
@ -913,6 +934,7 @@ const shop_data = {
itemIds: [ itemIds: [
'koster', 'koster',
'stabilizer', 'stabilizer',
'pounder',
Review

Arguably a RF card.

Arguably a RF card.
Review

Can it be listed in both places?

Can it be listed in both places?
Review

Yes, but requires some refactoring

Yes, but requires some refactoring
Review

Should I do it?

Should I do it?
Review

Yes

Yes
'thermostat-eem']} 'thermostat-eem']}
], ],
}, },