fix latest changes

This commit is contained in:
2023-12-17 00:06:11 +00:00
parent e4addd54cf
commit a87959327c
11 changed files with 246 additions and 289 deletions

18
.vscode/settings.json vendored
View File

@@ -3,14 +3,10 @@
"editor.guides.bracketPairs": true, "editor.guides.bracketPairs": true,
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": [ "editor.codeActionsOnSave": ["source.fixAll.eslint"],
"source.fixAll.eslint" "eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"],
], "typescript.tsdk": "node_modules/typescript/lib",
"eslint.validate": [ "[typescript]": {
"javascript", "editor.defaultFormatter": "esbenp.prettier-vscode"
"javascriptreact", }
"typescript", }
"vue"
],
"typescript.tsdk": "node_modules/typescript/lib"
}

Binary file not shown.

View File

@@ -64,7 +64,7 @@ initialiseMermaid();
const expansionInfoItem = ref({ const expansionInfoItem = ref({
title: 'Base Game', title: 'Base Game',
icon: icons.siteLogoIcon, icon: icons.siteLogoIcon,
text: 'All chains for Base Game (including ratios, fuel, electricity and building materials)' text: 'All chains for Base Game consumer goods.'
}); });
</script> </script>
@@ -88,7 +88,7 @@ $column: 3;
} }
.masonry-container { .masonry-container {
height: 4400px; height: 3790px;
.masonry-col { .masonry-col {
width: 1000px; width: 1000px;

View File

@@ -64,7 +64,7 @@ initialiseMermaid();
const expansionInfoItem = ref({ const expansionInfoItem = ref({
title: 'ratios | fuel | materials', title: 'ratios | fuel | materials',
icon: icons.siteLogoIcon, icon: icons.siteLogoIcon,
text: 'All chains for Base Game (including ratios, fuel, electricity and building materials)' text: 'All chains for building materials, electricity, field and ratios.'
}); });
</script> </script>
@@ -88,7 +88,7 @@ $column: 3;
} }
.masonry-container { .masonry-container {
height: 4510px; height: 4610px;
.masonry-col { .masonry-col {
width: 1000px; width: 1000px;

View File

@@ -66,7 +66,7 @@ initialiseMermaid();
const expansionInfoItem = ref({ const expansionInfoItem = ref({
title: 'Season 1', title: 'Season 1',
icon: icons.passageIcon, icon: icons.passageIcon,
text: 'All chains for Season 1 (Sunken Treasures, Botanica & The Passage).' text: 'All chains for Season 1 (Sunken Treasures, Botanica & The Passage) consumer goods.'
}); });
</script> </script>

View File

@@ -67,7 +67,7 @@ initialiseMermaid();
const expansionInfoItem = ref({ const expansionInfoItem = ref({
title: 'Season 2', title: 'Season 2',
icon: icons.landOfLionsIcon, icon: icons.landOfLionsIcon,
text: 'All chains for Season 2 (Seat of Power, Bright Harvest & Land of Lions).' text: 'All chains for Season 2 (Seat of Power, Bright Harvest & Land of Lions) consumer goods.'
}); });
</script> </script>

View File

@@ -68,7 +68,7 @@ initialiseMermaid();
const expansionInfoItem = ref({ const expansionInfoItem = ref({
title: 'Season 3', title: 'Season 3',
icon: icons.highLifeIcon, icon: icons.highLifeIcon,
text: 'All chains for Season 3 (Docklands, Tourist Season & The High Life).' text: 'All chains for Season 3 (Docklands, Tourist Season & The High Life) consumer goods.'
}); });
</script> </script>
@@ -92,7 +92,7 @@ $column: 4;
} }
.masonry-container { .masonry-container {
height: 8250px; height: 8240px;
.masonry-col { .masonry-col {
width: 1000px; width: 1000px;

View File

@@ -67,7 +67,7 @@ initialiseMermaid();
const expansionInfoItem = ref({ const expansionInfoItem = ref({
title: 'Season 4', title: 'Season 4',
icon: icons.newWorldRisingIcon, icon: icons.newWorldRisingIcon,
text: 'All chains for Season 4 (Seeds of Change, Empire of the Skies & New World Rising).' text: 'All chains for Season 4 (Seeds of Change, Empire of the Skies & New World Rising) consumer goods.'
}); });
</script> </script>

View File

@@ -2,86 +2,24 @@ import * as icons from './icons';
import fullChainMultiplierIcon from 'assets/productionChainMultiplier.svg'; import fullChainMultiplierIcon from 'assets/productionChainMultiplier.svg';
import { InfoCardItem, InfoCardItemWorldIcon } from './models'; import { InfoCardItem, InfoCardItemWorldIcon } from './models';
// Common items
// export const commonItemData: InfoCardItem[] = [
// {
// id: 'charcoal',
// icon: icons.charcoalKilnIcon,
// text: '2 Charcoal Kilns can be replaced with 1 Coal Mine.'
// },
// {
// id: 'airship',
// icon: icons.airshipIcon,
// text: 'Airship drop chain ratios are the same for Old World & New World.'
// },
// {
// id: 'electricity',
// icon: icons.electricityIcon,
// text: 'Building requires electricity.'
// },
// {
// id: 'fullChain',
// icon: fullChainMultiplierIcon,
// text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ',
// additionalText: ' number of buildings × efficiency % × multiplier'
// }
// ];
// const commonWorldItemData: InfoCardItemWorldIcon[] = [
// {
// id: 'gold',
// icon: icons.goldOreIcon,
// textPre: 'Gold mines use New World',
// textPost: 'production rates.',
// worldIcon: icons.newWorldIcon
// },
// {
// id: 'hacienda',
// icon: icons.haciendaIcon,
// textPre: 'Hacienda chains use New World',
// textPost: 'buildings.',
// worldIcon: icons.newWorldIcon
// }
// ];
// export const itemDataBase: InfoCardItem[] = [...commonItemData];
// export const worldItemDataBase: InfoCardItemWorldIcon[] = [
// ...commonWorldItemData,
// {
// id: 'furs',
// icon: icons.fursIcon,
// textPre: 'Furs use Old World',
// textPost: 'production rates.',
// worldIcon: icons.oldWorldIcon
// },
// {
// id: 'clay',
// icon: icons.clayIcon,
// textPre: 'Enbesa',
// textPost: ' production chains use Clay Collectors.',
// worldIcon: icons.enbesaIcon
// }
// ];
// Base // Base
export const baseItemData: InfoCardItem[] = [ export const baseItemData: InfoCardItem[] = [
{ {
id: 'charcoal', id: 'charcoal',
icon: icons.charcoalKilnIcon, icon: icons.charcoalKilnIcon,
text: '2 Charcoal Kilns can be replaced with 1 Coal Mine.' text: '2 Charcoal Kilns can be replaced with 1 Coal Mine (or vice versa).',
}, },
{ {
id: 'electricity', id: 'electricity',
icon: icons.electricityIcon, icon: icons.electricityIcon,
text: 'Building requires electricity.' text: 'Building requires electricity.',
}, },
{ {
id: 'fullChain', id: 'fullChain',
icon: fullChainMultiplierIcon, icon: fullChainMultiplierIcon,
text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ', text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ',
additionalText: ' number of buildings × efficiency % × multiplier' additionalText: ' number of buildings × efficiency % × multiplier',
} },
]; ];
export const baseItemWorldData: InfoCardItemWorldIcon[] = [ export const baseItemWorldData: InfoCardItemWorldIcon[] = [
@@ -90,30 +28,35 @@ export const baseItemWorldData: InfoCardItemWorldIcon[] = [
icon: icons.fursIcon, icon: icons.fursIcon,
textPre: 'Furs use Old World', textPre: 'Furs use Old World',
textPost: 'production rates.', textPost: 'production rates.',
worldIcon: icons.oldWorldIcon worldIcon: icons.oldWorldIcon,
}, },
{ {
id: 'gold', id: 'gold',
icon: icons.goldOreIcon, icon: icons.goldOreIcon,
textPre: 'Gold mines use New World', textPre: 'Gold mines use New World',
textPost: 'production rates.', textPost: 'production rates.',
worldIcon: icons.newWorldIcon worldIcon: icons.newWorldIcon,
} },
]; ];
// Misc // Misc
export const miscItemData: InfoCardItem[] = [ export const miscItemData: InfoCardItem[] = [
{
id: 'charcoal',
icon: icons.charcoalKilnIcon,
text: '2 Charcoal Kilns can be replaced with 1 Coal Mine (or vice versa).',
},
{ {
id: 'electricity', id: 'electricity',
icon: icons.electricityIcon, icon: icons.electricityIcon,
text: 'Building requires electricity.' text: 'Building requires electricity.',
}, },
{ {
id: 'fullChain', id: 'fullChain',
icon: fullChainMultiplierIcon, icon: fullChainMultiplierIcon,
text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ', text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ',
additionalText: ' number of buildings × efficiency % × multiplier' additionalText: ' number of buildings × efficiency % × multiplier',
} },
]; ];
export const miscItemWorldData: InfoCardItemWorldIcon[] = [ export const miscItemWorldData: InfoCardItemWorldIcon[] = [
{ {
@@ -121,8 +64,8 @@ export const miscItemWorldData: InfoCardItemWorldIcon[] = [
icon: icons.clayIcon, icon: icons.clayIcon,
textPre: 'Enbesa', textPre: 'Enbesa',
textPost: ' production chains use Clay Collectors.', textPost: ' production chains use Clay Collectors.',
worldIcon: icons.enbesaIcon worldIcon: icons.enbesaIcon,
} },
]; ];
// S1 // S1
@@ -131,24 +74,29 @@ export const season1ItemData: InfoCardItem[] = [
id: 'fullChain', id: 'fullChain',
icon: fullChainMultiplierIcon, icon: fullChainMultiplierIcon,
text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ', text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ',
additionalText: ' number of buildings × efficiency % × multiplier' additionalText: ' number of buildings × efficiency % × multiplier',
} },
]; ];
export const season1ItemWorldData: InfoCardItemWorldIcon[] = []; export const season1ItemWorldData: InfoCardItemWorldIcon[] = [];
// S2 // S2
export const season2ItemData: InfoCardItem[] = [ export const season2ItemData: InfoCardItem[] = [
{
id: 'charcoal',
icon: icons.charcoalKilnIcon,
text: '2 Charcoal Kilns can be replaced with 1 Coal Mine (or vice versa).',
},
{ {
id: 'electricity', id: 'electricity',
icon: icons.electricityIcon, icon: icons.electricityIcon,
text: 'Building requires electricity.' text: 'Building requires electricity.',
}, },
{ {
id: 'fullChain', id: 'fullChain',
icon: fullChainMultiplierIcon, icon: fullChainMultiplierIcon,
text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ', text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ',
additionalText: ' number of buildings × efficiency % × multiplier' additionalText: ' number of buildings × efficiency % × multiplier',
} },
]; ];
export const season2ItemWorldData: InfoCardItemWorldIcon[] = [ export const season2ItemWorldData: InfoCardItemWorldIcon[] = [
{ {
@@ -156,49 +104,62 @@ export const season2ItemWorldData: InfoCardItemWorldIcon[] = [
icon: icons.clayIcon, icon: icons.clayIcon,
textPre: 'Enbesa', textPre: 'Enbesa',
textPost: ' production chains use Clay Collectors.', textPost: ' production chains use Clay Collectors.',
worldIcon: icons.enbesaIcon worldIcon: icons.enbesaIcon,
} },
]; ];
// S3 // S3
export const season3ItemData: InfoCardItem[] = [ export const season3ItemData: InfoCardItem[] = [
{
id: 'charcoal',
icon: icons.charcoalKilnIcon,
text: '2 Charcoal Kilns can be replaced with 1 Coal Mine (or vice versa).',
},
{ {
id: 'electricity', id: 'electricity',
icon: icons.electricityIcon, icon: icons.electricityIcon,
text: 'Building requires electricity.' text: 'Building requires electricity.',
}, },
{ {
id: 'fullChain', id: 'fullChain',
icon: fullChainMultiplierIcon, icon: fullChainMultiplierIcon,
text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ', text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ',
additionalText: ' number of buildings × efficiency % × multiplier' additionalText: ' number of buildings × efficiency % × multiplier',
} },
];
export const season3ItemWorldData: InfoCardItemWorldIcon[] = [
{
id: 'gold',
icon: icons.goldOreIcon,
textPre: 'Gold mines use New World',
textPost: 'production rates.',
worldIcon: icons.newWorldIcon,
},
]; ];
export const season3ItemWorldData: InfoCardItemWorldIcon[] = [];
// S4 // S4
export const season4ItemData: InfoCardItem[] = [ export const season4ItemData: InfoCardItem[] = [
{ {
id: 'airship', id: 'airship',
icon: icons.airshipIcon, icon: icons.airshipIcon,
text: 'Airship drop chain ratios are the same for Old World & New World.' text: 'Airship drop chain ratios are the same for Old World & New World.',
}, },
{ {
id: 'charcoal', id: 'charcoal',
icon: icons.charcoalKilnIcon, icon: icons.charcoalKilnIcon,
text: '2 Charcoal Kilns can be replaced with 1 Coal Mine.' text: '2 Charcoal Kilns can be replaced with 1 Coal Mine (or vice versa).',
}, },
{ {
id: 'electricity', id: 'electricity',
icon: icons.electricityIcon, icon: icons.electricityIcon,
text: 'Building requires electricity.' text: 'Building requires electricity.',
}, },
{ {
id: 'fullChain', id: 'fullChain',
icon: fullChainMultiplierIcon, icon: fullChainMultiplierIcon,
text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ', text: 'The multiplier for a full chain. To scale chain to 100% multiply together (for every item in the chain): ',
additionalText: ' number of buildings × efficiency % × multiplier' additionalText: ' number of buildings × efficiency % × multiplier',
} },
]; ];
export const season4ItemWorldData: InfoCardItemWorldIcon[] = [ export const season4ItemWorldData: InfoCardItemWorldIcon[] = [
{ {
@@ -206,6 +167,6 @@ export const season4ItemWorldData: InfoCardItemWorldIcon[] = [
icon: icons.haciendaIcon, icon: icons.haciendaIcon,
textPre: 'Hacienda chains use New World', textPre: 'Hacienda chains use New World',
textPost: 'buildings.', textPost: 'buildings.',
worldIcon: icons.newWorldIcon worldIcon: icons.newWorldIcon,
} },
]; ];

View File

@@ -15,7 +15,7 @@ export const productionChainsBase: TieredProductionChain[] = [
Wool(<img src='${icons.woolIcon}' class='icon-size' /><span class='ratio-count'>1</span>) Wool(<img src='${icons.woolIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
WorkClothes(<img src='${icons.workClothesIcon}' class='icon-size' /><span class='ratio-count'>1</span>) WorkClothes(<img src='${icons.workClothesIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Wool --> WorkClothes Wool --> WorkClothes
` `,
}, },
{ {
productionChain: 'schnapps', productionChain: 'schnapps',
@@ -24,7 +24,7 @@ export const productionChainsBase: TieredProductionChain[] = [
Potato(<img src='${icons.potatoIcon}' class='icon-size' /><span class='ratio-count'>1</span>) Potato(<img src='${icons.potatoIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Schnapps(<img src='${icons.schnappsIcon}' class='icon-size' /><span class='ratio-count'>1</span>) Schnapps(<img src='${icons.schnappsIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Potato --> Schnapps Potato --> Schnapps
` `,
}, },
{ {
productionChain: 'sausages', productionChain: 'sausages',
@@ -33,7 +33,7 @@ export const productionChainsBase: TieredProductionChain[] = [
Pig(<img src='${icons.pigsIcon}' class='icon-size' /><span class='ratio-count'>1</span>) Pig(<img src='${icons.pigsIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Sausages(<img src='${icons.sausageIcon}' class='icon-size' /><span class='ratio-count'>1</span>) Sausages(<img src='${icons.sausageIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Pig --> Sausages Pig --> Sausages
` `,
}, },
{ {
productionChain: 'bread', productionChain: 'bread',
@@ -44,7 +44,7 @@ export const productionChainsBase: TieredProductionChain[] = [
Flour(<span class='icon-flex-row'><img src='${icons.flourIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>) Flour(<span class='icon-flex-row'><img src='${icons.flourIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Bread(<img src='${icons.breadIcon}' class='icon-size' /><span class='ratio-count'>1</span>) Bread(<img src='${icons.breadIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Grain --> Flour --> Bread Grain --> Flour --> Bread
` `,
}, },
{ {
productionChain: 'soap', productionChain: 'soap',
@@ -54,7 +54,7 @@ export const productionChainsBase: TieredProductionChain[] = [
Tallow(<img src='${icons.tallowIcon}' class='icon-size' /><span class='ratio-count'>2</span>) Tallow(<img src='${icons.tallowIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Soap(<img src='${icons.soapIcon}' class='icon-size' /><span class='ratio-count'>1</span>) Soap(<img src='${icons.soapIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Pigs --> Tallow --> Soap Pigs --> Tallow --> Soap
` `,
}, },
{ {
productionChain: 'beer', productionChain: 'beer',
@@ -67,9 +67,9 @@ export const productionChainsBase: TieredProductionChain[] = [
HopFarm(<span class='icon-flex-row'><img src='${icons.hopFarmIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>75%</span><span class='ratio-count'>2</span></span></span>) HopFarm(<span class='icon-flex-row'><img src='${icons.hopFarmIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>75%</span><span class='ratio-count'>2</span></span></span>)
Grain --> Malthouse --> Brewery Grain --> Malthouse --> Brewery
HopFarm --> Brewery HopFarm --> Brewery
` `,
} },
] ],
}, },
{ {
colBreak: false, colBreak: false,
@@ -87,7 +87,7 @@ export const productionChainsBase: TieredProductionChain[] = [
Iron(<span class='icon-flex-row'><img src='${icons.ironIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>16.67%</span><span class='ratio-count'>1</span></span></span>) Iron(<span class='icon-flex-row'><img src='${icons.ironIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>16.67%</span><span class='ratio-count'>1</span></span></span>)
Beef & RedPepper --> ArtisnalKitchen --> Cannery Beef & RedPepper --> ArtisnalKitchen --> Cannery
Iron --> Cannery Iron --> Cannery
` `,
}, },
{ {
productionChain: 'sewingMachines', productionChain: 'sewingMachines',
@@ -101,7 +101,7 @@ export const productionChainsBase: TieredProductionChain[] = [
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>) Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Charcoal & Iron --> Steel --> SewingMachines Charcoal & Iron --> Steel --> SewingMachines
Wood --> SewingMachines Wood --> SewingMachines
` `,
}, },
{ {
productionChain: 'furs', productionChain: 'furs',
@@ -113,9 +113,166 @@ export const productionChainsBase: TieredProductionChain[] = [
Furs(<img src='${icons.fursIcon}' class='icon-size' /><span class='ratio-count'>2</span>) Furs(<img src='${icons.fursIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Cotton --> CottonMill --> FurCoats Cotton --> CottonMill --> FurCoats
Furs --> FurCoats Furs --> FurCoats
` `,
} },
] ],
},
{
colBreak: false,
tierName: 'Jornaleros | Obreros',
productionChains: [
{
productionChain: 'rum',
chainMultiplier: '2',
mermaidDefinition: endent`
flowchart LR
SugarCane(<img src='${icons.sugarCaneIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Rum(<img src='${icons.rumIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
SugarCane & Wood --> Rum
`,
},
{
productionChain: 'plantains',
mermaidDefinition: endent`
flowchart LR
PlantainPlantation(<img src='${icons.plantainPlantationIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
FishOil(<img src='${icons.fishOilIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
FriedPlantains(<img src='${icons.friedPlantainsIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
PlantainPlantation & FishOil --> FriedPlantains
`,
},
{
productionChain: 'ponchos',
mermaidDefinition: endent`
flowchart LR
AlpacaWool(<img src='${icons.alpacaWoolIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Ponchos(<img src='${icons.ponchosIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
AlpacaWool --> Ponchos
`,
},
{
productionChain: 'tortillas',
mermaidDefinition: endent`
flowchart LR
Beef(<img src='${icons.beefIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Corn(<img src='${icons.cornIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Tortillas(<img src='${icons.tortillasIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Beef & Corn --> Tortillas
`,
},
{
productionChain: 'coffee',
mermaidDefinition: endent`
flowchart LR
CoffeeBeans(<img src='${icons.coffeeBeansIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Coffee(<img src='${icons.coffeeIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
CoffeeBeans --> Coffee
`,
},
{
productionChain: 'bowlerHats',
mermaidDefinition: endent`
flowchart LR
Cotton(<img src='${icons.cottonIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
CottonMill(<img src='${icons.cottonMillIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
BowlerHats(<img src='${icons.bowlerHatsIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
AlpacaWool(<img src='${icons.alpacaWoolIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Felt(<img src='${icons.feltIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Cotton --> CottonMill --> BowlerHats
AlpacaWool --> Felt --> BowlerHats
`,
},
{
productionChain: 'cigars',
chainMultiplier: '2',
mermaidDefinition: endent`
flowchart LR
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Marquetry(<img src='${icons.marquetryIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Cigars(<img src='${icons.cigarIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Tobacco(<img src='${icons.tobaccoIcon}' class='icon-size' /><span class='ratio-count'>4</span>)
Wood --> Marquetry --> Cigars
Tobacco --> Cigars
`,
},
{
productionChain: 'chocolate',
mermaidDefinition: endent`
flowchart LR
SugarCane(<img src='${icons.sugarCaneIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Sugar(<img src='${icons.sugarIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Chocolate(<img src='${icons.chocolateIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Cocoa(<img src='${icons.cocoaIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
SugarCane --> Sugar --> Chocolate
Cocoa --> Chocolate
`,
},
],
},
{
colBreak: false,
tierName: 'Investors',
productionChains: [
{
productionChain: 'champagne',
mermaidDefinition: endent`
flowchart LR
Sand(<img src='${icons.sandIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Glass(<img src='${icons.glassIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Champagne(<img src='${icons.champagneIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Grapes(<img src='${icons.grapesIcon}' class='icon-size' /><span class='ratio-count'>4</span>)
Sand --> Glass --> Champagne
Grapes --> Champagne
`,
},
{
productionChain: 'steamCarriages',
chainMultiplier: '2',
mermaidDefinition: endent`
flowchart LR
SteamMotors(<span class='icon-flex-row'><img src='${icons.steamMotorsIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>150%</span><span class='ratio-count'>2</span></span></span>); style SteamMotors stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;
SteamCarriages(<img src='${icons.steamCarriagesIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Caoutchouc(<img src='${icons.caoutchoucIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Coaches(<img src='${icons.coachMakersIcon}' class='icon-size' /><span class='ratio-count'>4</span>)
SteamCarriages
style SteamMotors stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7
style SteamCarriages stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7
SteamMotors --> SteamCarriages
Wood & Caoutchouc --> Coaches --> SteamCarriages
`,
},
{
productionChain: 'jewelry',
mermaidDefinition: endent`
flowchart LR
Charcoal(<img src='${icons.charcoalKilnIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
GoldOre(<img src='${icons.goldOreIcon}' class='icon-size' /><span class='ratio-count'>5</span>)
Gold(<img src='${icons.goldIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Jewelry(<img src='${icons.jewelryIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Pearls(<img src='${icons.pearlsIcon}' class='icon-size' /><span class='ratio-count'>3</span>)
Charcoal & GoldOre --> Gold --> Jewelry
Pearls --> Jewelry
`,
},
{
productionChain: 'gramophone',
chainMultiplier: '4',
mermaidDefinition: endent`
flowchart LR
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>25%</span><span class='ratio-count'>1</span></span></span>)
Marquetry(<img src='${icons.marquetryIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Gramophone(<img src='${icons.gramophoneIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Copper(<span class='icon-flex-row'><img src='${icons.copperIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Zinc(<span class='icon-flex-row'><img src='${icons.zincIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Brass(<img src='${icons.brassIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
style Gramophone stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7
Wood --> Marquetry --> Gramophone
Copper & Zinc --> Brass --> Gramophone
`,
},
],
}, },
{ {
colBreak: false, colBreak: false,
@@ -133,7 +290,7 @@ export const productionChainsBase: TieredProductionChain[] = [
style HighWheeler stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7; style HighWheeler stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;
Coal & Iron --> Steel --> HighWheeler Coal & Iron --> Steel --> HighWheeler
Caoutchouc --> HighWheeler Caoutchouc --> HighWheeler
` `,
}, },
{ {
productionChain: 'glasses', productionChain: 'glasses',
@@ -148,7 +305,7 @@ export const productionChainsBase: TieredProductionChain[] = [
Brass(<span class='icon-flex-row'><img src='${icons.brassIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>66.67%</span><span class='ratio-count'>1</span></span></span>) Brass(<span class='icon-flex-row'><img src='${icons.brassIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>66.67%</span><span class='ratio-count'>1</span></span></span>)
Sand --> Glass --> Glasses Sand --> Glass --> Glasses
Copper & Zinc --> Brass --> Glasses Copper & Zinc --> Brass --> Glasses
` `,
}, },
{ {
productionChain: 'pocketWatches', productionChain: 'pocketWatches',
@@ -164,7 +321,7 @@ export const productionChainsBase: TieredProductionChain[] = [
style PocketWatches stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7; style PocketWatches stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;
GoldOre & Coal --> Gold --> PocketWatches GoldOre & Coal --> Gold --> PocketWatches
Sand --> Glass --> PocketWatches Sand --> Glass --> PocketWatches
` `,
}, },
{ {
productionChain: 'lightBulb', productionChain: 'lightBulb',
@@ -178,165 +335,8 @@ export const productionChainsBase: TieredProductionChain[] = [
Glass(<span class='icon-flex-row'><img src='${icons.glassIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>) Glass(<span class='icon-flex-row'><img src='${icons.glassIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Charcoal --> Filament --> LightBulb Charcoal --> Filament --> LightBulb
Sand --> Glass --> LightBulb Sand --> Glass --> LightBulb
` `,
} },
] ],
}, },
{
colBreak: false,
tierName: 'Investors',
productionChains: [
{
productionChain: 'champagne',
mermaidDefinition: endent`
flowchart LR
Sand(<img src='${icons.sandIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Glass(<img src='${icons.glassIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Champagne(<img src='${icons.champagneIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Grapes(<img src='${icons.grapesIcon}' class='icon-size' /><span class='ratio-count'>4</span>)
Sand --> Glass --> Champagne
Grapes --> Champagne
`
},
{
productionChain: 'steamCarriages',
chainMultiplier: '2',
mermaidDefinition: endent`
flowchart LR
SteamMotors(<span class='icon-flex-row'><img src='${icons.steamMotorsIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>150%</span><span class='ratio-count'>2</span></span></span>); style SteamMotors stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;
SteamCarriages(<img src='${icons.steamCarriagesIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Caoutchouc(<img src='${icons.caoutchoucIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Coaches(<img src='${icons.coachMakersIcon}' class='icon-size' /><span class='ratio-count'>4</span>)
SteamCarriages
style SteamMotors stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7
style SteamCarriages stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7
SteamMotors --> SteamCarriages
Wood & Caoutchouc --> Coaches --> SteamCarriages
`
},
{
productionChain: 'jewelry',
mermaidDefinition: endent`
flowchart LR
Charcoal(<img src='${icons.charcoalKilnIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
GoldOre(<img src='${icons.goldOreIcon}' class='icon-size' /><span class='ratio-count'>5</span>)
Gold(<img src='${icons.goldIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Jewelry(<img src='${icons.jewelryIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Pearls(<img src='${icons.pearlsIcon}' class='icon-size' /><span class='ratio-count'>3</span>)
Charcoal & GoldOre --> Gold --> Jewelry
Pearls --> Jewelry
`
},
{
productionChain: 'gramophone',
chainMultiplier: '4',
mermaidDefinition: endent`
flowchart LR
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>25%</span><span class='ratio-count'>1</span></span></span>)
Marquetry(<img src='${icons.marquetryIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Gramophone(<img src='${icons.gramophoneIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Copper(<span class='icon-flex-row'><img src='${icons.copperIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Zinc(<span class='icon-flex-row'><img src='${icons.zincIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Brass(<img src='${icons.brassIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
style Gramophone stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7
Wood --> Marquetry --> Gramophone
Copper & Zinc --> Brass --> Gramophone
`
}
]
},
{
colBreak: false,
tierName: 'Jornaleros | Obreros',
productionChains: [
{
productionChain: 'rum',
chainMultiplier: '2',
mermaidDefinition: endent`
flowchart LR
SugarCane(<img src='${icons.sugarCaneIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Rum(<img src='${icons.rumIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
SugarCane & Wood --> Rum
`
},
{
productionChain: 'plantains',
mermaidDefinition: endent`
flowchart LR
PlantainPlantation(<img src='${icons.plantainPlantationIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
FishOil(<img src='${icons.fishOilIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
FriedPlantains(<img src='${icons.friedPlantainsIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
PlantainPlantation & FishOil --> FriedPlantains
`
},
{
productionChain: 'ponchos',
mermaidDefinition: endent`
flowchart LR
AlpacaWool(<img src='${icons.alpacaWoolIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Ponchos(<img src='${icons.ponchosIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
AlpacaWool --> Ponchos
`
},
{
productionChain: 'tortillas',
mermaidDefinition: endent`
flowchart LR
Beef(<img src='${icons.beefIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Corn(<img src='${icons.cornIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Tortillas(<img src='${icons.tortillasIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Beef & Corn --> Tortillas
`
},
{
productionChain: 'coffee',
mermaidDefinition: endent`
flowchart LR
CoffeeBeans(<img src='${icons.coffeeBeansIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Coffee(<img src='${icons.coffeeIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
CoffeeBeans --> Coffee
`
},
{
productionChain: 'bowlerHats',
mermaidDefinition: endent`
flowchart LR
Cotton(<img src='${icons.cottonIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
CottonMill(<img src='${icons.cottonMillIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
BowlerHats(<img src='${icons.bowlerHatsIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
AlpacaWool(<img src='${icons.alpacaWoolIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Felt(<img src='${icons.feltIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Cotton --> CottonMill --> BowlerHats
AlpacaWool --> Felt --> BowlerHats
`
},
{
productionChain: 'cigars',
chainMultiplier: '2',
mermaidDefinition: endent`
flowchart LR
Wood(<span class='icon-flex-row'><img src='${icons.woodIcon}' class='icon-size' /><span class='icon-flex-col q-pl-sm'><span class='efficiency-perc'>50%</span><span class='ratio-count'>1</span></span></span>)
Marquetry(<img src='${icons.marquetryIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
Cigars(<img src='${icons.cigarIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Tobacco(<img src='${icons.tobaccoIcon}' class='icon-size' /><span class='ratio-count'>4</span>)
Wood --> Marquetry --> Cigars
Tobacco --> Cigars
`
},
{
productionChain: 'chocolate',
mermaidDefinition: endent`
flowchart LR
SugarCane(<img src='${icons.sugarCaneIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Sugar(<img src='${icons.sugarIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Chocolate(<img src='${icons.chocolateIcon}' class='icon-size' /><span class='ratio-count'>1</span>)
Cocoa(<img src='${icons.cocoaIcon}' class='icon-size' /><span class='ratio-count'>2</span>)
SugarCane --> Sugar --> Chocolate
Cocoa --> Chocolate
`
}
]
}
]; ];

View File

@@ -279,7 +279,7 @@ export const productionChainsMisc: TieredProductionChain[] = [
}, },
{ {
productionChain: 'heavyWeapons', productionChain: 'heavyWeapons',
chainMultiplier: '2', chainMultiplier: '4',
mermaidDefinition: endent` mermaidDefinition: endent`
flowchart LR flowchart LR
Saltpeter(<img src='${icons.saltpeterIcon}' class='icon-size' /><span class='ratio-count'>2</span>) Saltpeter(<img src='${icons.saltpeterIcon}' class='icon-size' /><span class='ratio-count'>2</span>)