diff --git a/backend/sql/rebalance_product_certificates.sql b/backend/sql/rebalance_product_certificates.sql index c57cdf6..704a609 100644 --- a/backend/sql/rebalance_product_certificates.sql +++ b/backend/sql/rebalance_product_certificates.sql @@ -2,17 +2,17 @@ BEGIN; UPDATE falukant_type.product SET sell_cost = CASE label_tr - WHEN 'wheat' THEN 7 - WHEN 'grain' THEN 7 - WHEN 'carrot' THEN 4 - WHEN 'fish' THEN 7 - WHEN 'meat' THEN 7 - WHEN 'leather' THEN 7 - WHEN 'wood' THEN 7 - WHEN 'stone' THEN 7 - WHEN 'milk' THEN 5 - WHEN 'cheese' THEN 5 - WHEN 'bread' THEN 5 + WHEN 'wheat' THEN 11 + WHEN 'grain' THEN 11 + WHEN 'carrot' THEN 8 + WHEN 'fish' THEN 11 + WHEN 'meat' THEN 11 + WHEN 'leather' THEN 11 + WHEN 'wood' THEN 11 + WHEN 'stone' THEN 11 + WHEN 'milk' THEN 11 + WHEN 'cheese' THEN 11 + WHEN 'bread' THEN 11 WHEN 'beer' THEN 22 WHEN 'iron' THEN 24 WHEN 'copper' THEN 24 diff --git a/backend/utils/falukant/initializeFalukantPredefines.js b/backend/utils/falukant/initializeFalukantPredefines.js index 1ffc40a..614fd19 100644 --- a/backend/utils/falukant/initializeFalukantPredefines.js +++ b/backend/utils/falukant/initializeFalukantPredefines.js @@ -248,17 +248,17 @@ async function initializeFalukantProducts() { const factorMax = (maxTax >= 100) ? 1 : (1 / (1 - maxTax / 100)); const baseProducts = [ - { labelTr: 'wheat', category: 1, productionTime: 2, sellCost: 7 }, - { labelTr: 'grain', category: 1, productionTime: 2, sellCost: 7 }, - { labelTr: 'carrot', category: 1, productionTime: 2, sellCost: 4 }, - { labelTr: 'fish', category: 1, productionTime: 2, sellCost: 7 }, - { labelTr: 'meat', category: 1, productionTime: 2, sellCost: 7 }, - { labelTr: 'leather', category: 1, productionTime: 2, sellCost: 7 }, - { labelTr: 'wood', category: 1, productionTime: 2, sellCost: 7 }, - { labelTr: 'stone', category: 1, productionTime: 2, sellCost: 7 }, - { labelTr: 'milk', category: 1, productionTime: 1, sellCost: 5 }, - { labelTr: 'cheese', category: 1, productionTime: 1, sellCost: 5 }, - { labelTr: 'bread', category: 1, productionTime: 1, sellCost: 5 }, + { labelTr: 'wheat', category: 1, productionTime: 2, sellCost: 11 }, + { labelTr: 'grain', category: 1, productionTime: 2, sellCost: 11 }, + { labelTr: 'carrot', category: 1, productionTime: 2, sellCost: 8 }, + { labelTr: 'fish', category: 1, productionTime: 2, sellCost: 11 }, + { labelTr: 'meat', category: 1, productionTime: 2, sellCost: 11 }, + { labelTr: 'leather', category: 1, productionTime: 2, sellCost: 11 }, + { labelTr: 'wood', category: 1, productionTime: 2, sellCost: 11 }, + { labelTr: 'stone', category: 1, productionTime: 2, sellCost: 11 }, + { labelTr: 'milk', category: 1, productionTime: 1, sellCost: 11 }, + { labelTr: 'cheese', category: 1, productionTime: 1, sellCost: 11 }, + { labelTr: 'bread', category: 1, productionTime: 1, sellCost: 11 }, { labelTr: 'beer', category: 2, productionTime: 3, sellCost: 22 }, { labelTr: 'iron', category: 2, productionTime: 4, sellCost: 24 }, { labelTr: 'copper', category: 2, productionTime: 4, sellCost: 24 },