diff --git a/docs/boilerplate_production_chains.md b/docs/boilerplate_production_chains.md index 56db70f..a4204f2 100644 --- a/docs/boilerplate_production_chains.md +++ b/docs/boilerplate_production_chains.md @@ -33,3 +33,9 @@ Name(66%1); style Name stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7; ``` + +## chain with world icon + +``` +NAME(1) +``` diff --git a/src/components/ChainTiers.vue b/src/components/ChainTiers.vue index 0784165..cadedbd 100644 --- a/src/components/ChainTiers.vue +++ b/src/components/ChainTiers.vue @@ -11,13 +11,17 @@ calculateColBreak() ]" > - -
- {{ title }} -
-
+
+ +
+ {{ title }} +
+
- + +
diff --git a/src/components/production-chains.ts b/src/components/production-chains.ts index b6b8eaa..6b2237a 100644 --- a/src/components/production-chains.ts +++ b/src/components/production-chains.ts @@ -222,20 +222,6 @@ export const productionChains: TieredProductionChain[] = [ } ] }, - { - colBreak: false, - tierName: 'Sails', - productionChains: [ - { - productionChain: 'oldWorldSails', - mermaidDefinition: `flowchart LR; Wool(1) --> Sailmakers(1)` - }, - { - productionChain: 'newWorldSails', - mermaidDefinition: `flowchart LR; Cotton(2) --> CottonMill(1) --> Sailmakers(1)` - } - ] - }, { colBreak: false, tierName: 'Building Materials', @@ -268,33 +254,15 @@ export const productionChains: TieredProductionChain[] = [ }, { colBreak: false, - tierName: 'Weapons', + tierName: 'Machinery', productionChains: [ { - productionChain: 'weapons', - mermaidDefinition: `flowchart LR; charcoalKiln(1) & Iron(50%1) --> Steel(33%1) --> Weapons(1)` + productionChain: 'steamMotors', + mermaidDefinition: `flowchart LR; Coal(1) & Iron(1) --> Steel(2) --> SteamMotors(3); style SteamMotors stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;; Copper(2) & Zinc(2) --> Brass(4) --> SteamMotors` }, { - productionChain: 'heavyWeapons', - mermaidDefinition: `flowchart LR; Saltpeter(2) --> Dynamite(1) --> HeavyWeapons(1); Pig(1) --> Tallow(1) --> Dynamite; Charcoal(1) & Iron(50%1) --> Steel(50%1) --> HeavyWeapons; style HeavyWeapons stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7` - } - ] - }, - { - colBreak: false, - tierName: 'Advanced Chains (Scholars)', - productionChains: [ - { - productionChain: 'advancedCoffee', - mermaidDefinition: `flowchart LR; Grain(2) --> MaltHouse(1) --> Coffee(1); style Coffee stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;;` - }, - { - productionChain: 'advancedRum', - mermaidDefinition: `flowchart LR; Coal(1) & Potato(2) --> Rum(2); style Rum stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;;` - }, - { - productionChain: 'advancedCotton', - mermaidDefinition: `flowchart LR; Sheep(2) & Wood(1) --> Cotton(2); style Cotton stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;;` + productionChain: 'steamCarriages', + mermaidDefinition: `flowchart LR; SteamMotors(3) --> SteamCarriages(2); Wood(1) & Caoutchouc(4) --> Coaches(8) --> SteamCarriages; style SteamCarriages stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7; style SteamMotors stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;` } ] }, @@ -422,54 +390,6 @@ export const productionChains: TieredProductionChain[] = [ } ] }, - { - colBreak: false, - tierName: 'Jornaleros | Obreros', - productionChains: [ - { - productionChain: 'plantains', - mermaidDefinition: `flowchart LR; PlantainPlantation(1) & FishOil(1) --> FriedPlantains(1)` - }, - { - productionChain: 'ponchos', - mermaidDefinition: `flowchart LR; AlpacaWool(1) --> Ponchos(1)` - }, - { - productionChain: 'tortillas', - mermaidDefinition: `flowchart LR; Beef(2) & Corn(2) --> Tortillas(1)` - }, - { - productionChain: 'coffee', - mermaidDefinition: `flowchart LR; CoffeeBeans(2) --> Coffee(1)` - }, - { - productionChain: 'bowlerHats', - mermaidDefinition: `flowchart LR; Cotton(2) --> CottonMill(1) --> BowlerHats(1); AlpacaWool(1) --> Felt(1) --> BowlerHats` - }, - { - productionChain: 'cigars', - mermaidDefinition: `flowchart LR; Wood(50%1) --> WoodVeneers(2) --> Cigars(1); Tobacco(4) --> Cigars` - }, - { - productionChain: 'chocolate', - mermaidDefinition: `flowchart LR; SugarCane(1) --> Sugar(1) --> Chocolate(1); Cocoa(2) --> Chocolate` - } - ] - }, - { - colBreak: false, - tierName: 'Machinery', - productionChains: [ - { - productionChain: 'steamMotors', - mermaidDefinition: `flowchart LR; Coal(1) & Iron(1) --> Steel(2) --> SteamMotors(3); style SteamMotors stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;; Copper(2) & Zinc(2) --> Brass(4) --> SteamMotors` - }, - { - productionChain: 'steamCarriages', - mermaidDefinition: `flowchart LR; SteamMotors(3) --> SteamCarriages(2); Wood(1) & Caoutchouc(4) --> Coaches(8) --> SteamCarriages; style SteamCarriages stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7; style SteamMotors stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;` - } - ] - }, { colBreak: false, tierName: 'Shepherds', @@ -535,5 +455,87 @@ export const productionChains: TieredProductionChain[] = [ mermaidDefinition: `flowchart LR; Coal(33%1) --> Filament(66%1) --> Telephones(1); Wood(33%1) --> WoodVeneer(66%1) --> Telephones; style Telephones stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;; style Filament stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;; style WoodVeneer stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;;` } ] + }, + { + colBreak: false, + tierName: 'Sails', + productionChains: [ + { + productionChain: 'oldWorldSails', + mermaidDefinition: `flowchart LR; Wool(1) --> Sailmakers(1)` + }, + { + productionChain: 'newWorldSails', + mermaidDefinition: `flowchart LR; Cotton(2) --> CottonMill(1) --> Sailmakers(1)` + } + ] + }, + { + colBreak: false, + tierName: 'Weapons', + productionChains: [ + { + productionChain: 'weapons', + mermaidDefinition: `flowchart LR; charcoalKiln(1) & Iron(50%1) --> Steel(33%1) --> Weapons(1)` + }, + { + productionChain: 'heavyWeapons', + mermaidDefinition: `flowchart LR; Saltpeter(2) --> Dynamite(1) --> HeavyWeapons(1); Pig(1) --> Tallow(1) --> Dynamite; Charcoal(1) & Iron(50%1) --> Steel(50%1) --> HeavyWeapons; style HeavyWeapons stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7` + } + ] + }, + { + colBreak: false, + tierName: 'Advanced Chains (Scholars)', + productionChains: [ + { + productionChain: 'advancedCoffee', + mermaidDefinition: `flowchart LR; Grain(2) --> MaltHouse(1) --> Coffee(1); style Coffee stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;;` + }, + { + productionChain: 'advancedRum', + mermaidDefinition: `flowchart LR; Coal(1) & Potato(2) --> Rum(2); style Rum stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;;` + }, + { + productionChain: 'advancedCotton', + mermaidDefinition: `flowchart LR; Sheep(2) & Wood(1) --> Cotton(2); style Cotton stroke:#0675BD,stroke-width:5px,stroke-dasharray: 7 7;;` + } + ] + }, + { colBreak: true, tierName: 'blank', productionChains: [] }, + { colBreak: true, tierName: 'blank', productionChains: [] }, + { + colBreak: false, + tierName: 'Jornaleros | Obreros', + productionChains: [ + { + productionChain: 'plantains', + mermaidDefinition: `flowchart LR; PlantainPlantation(1) & FishOil(1) --> FriedPlantains(1)` + }, + { + productionChain: 'ponchos', + mermaidDefinition: `flowchart LR; AlpacaWool(1) --> Ponchos(1)` + }, + { + productionChain: 'tortillas', + mermaidDefinition: `flowchart LR; Beef(2) & Corn(2) --> Tortillas(1)` + }, + { + productionChain: 'coffee', + mermaidDefinition: `flowchart LR; CoffeeBeans(2) --> Coffee(1)` + }, + { + productionChain: 'bowlerHats', + mermaidDefinition: `flowchart LR; Cotton(2) --> CottonMill(1) --> BowlerHats(1); AlpacaWool(1) --> Felt(1) --> BowlerHats` + }, + { + productionChain: 'cigars', + mermaidDefinition: `flowchart LR; Wood(50%1) --> WoodVeneers(2) --> Cigars(1); Tobacco(4) --> Cigars` + }, + { + productionChain: 'chocolate', + mermaidDefinition: `flowchart LR; SugarCane(1) --> Sugar(1) --> Chocolate(1); Cocoa(2) --> Chocolate` + } + ] } ];