Skip to content

Commit

Permalink
fixed canals!
Browse files Browse the repository at this point in the history
  • Loading branch information
Australis-0 committed Feb 14, 2024
1 parent d56f42b commit ac2df7f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
26 changes: 26 additions & 0 deletions common/buildings/infrastructure.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,32 @@ config.buildings.infrastructure = {
separate_building_slots: true,
supply_limit: 5
},
canals: {
name: "Canals",
singular: "Canal",
type: "manufacturing",

construction_turns: 6,
cost: {
stone: 15,
lumber: 5,
regular_steel: 3,
money: 5000
},
manpower_cost: {
any_pop_peasants_labourers: {
peasants: 1000,
labourers: 1000
}
},
maximum: 10,
modifiers: {
rgo_throughput: 0.01,
shipment_capacity: 5
},
separate_building_slots: true,
supply_limit: 10
},
cargo_ports: {
name: "Cargo Ports",
singular: "Cargo Port",
Expand Down
14 changes: 9 additions & 5 deletions common/technology/economic_technology.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ config.technology.economic_technology = {
research_cost: 100,
year: 1550,
unlocks: {
unlock_building: "sugar_refineries",
unlock_building: ["canals", "sugar_refineries"],
agriculture: 1,
canals: 1
}
Expand Down Expand Up @@ -1034,8 +1034,9 @@ config.technology.economic_technology = {
research_cost: 5000,
year: 1920,
unlocks: {
unlock_building: ["ferrochromite_refineries", "neighbourhoods", "resistor_factories"],
unlock_building: ["ferrochromite_refineries", "neighbourhoods", "regional_aeroports", "resistor_factories"],
industry: 1,
regional_aeroports: 1,
processing_facilities: 2,
production_efficiency: 0.02,
construction_speed: -0.05
Expand Down Expand Up @@ -1087,6 +1088,7 @@ config.technology.economic_technology = {
unlocks: {
unlock_building: ["bus_depots", "bus_stops", "civilian_industries", "department_stores", "sewing_machine_factories", "shampoo_factories", "tantalum_factories", "turbine_manufactories"],
processing_facilities: 1,
regional_aeroports: 2,
construction_speed: -0.10
}
},
Expand Down Expand Up @@ -1147,6 +1149,7 @@ config.technology.economic_technology = {
year: 1937,
unlocks: {
railways: 3,
regional_aeroports: 1,
rgo_throughput: 0.05,
army_travel_speed: 0.025
}
Expand Down Expand Up @@ -1184,7 +1187,7 @@ config.technology.economic_technology = {
year: 1939,
unlocks: {
unlock_building: "wartime_industries",
aeroports: 1
international_aeroports: 1
}
},
deep_mining: {
Expand Down Expand Up @@ -1231,6 +1234,7 @@ config.technology.economic_technology = {
unlocks: {
unlock_building: ["motorways", "shopping_centres"],
motorways: 1,
regional_aeroports: 1,
army_travel_speed: 0.035
}
},
Expand Down Expand Up @@ -1383,7 +1387,7 @@ config.technology.economic_technology = {
year: 1964,
unlocks: {
unlock_building: "high_speed_rail",
aeroports: 1,
international_aeroports: 1,
railways: 2,
army_travel_speed: 0.04
}
Expand Down Expand Up @@ -1435,7 +1439,7 @@ config.technology.economic_technology = {
research_cost: 9000,
year: 1980,
unlocks: {
aeroports: 2,
international_aeroports: 2,
motorways: 3,
shipment_time: -0.03
}
Expand Down

0 comments on commit ac2df7f

Please sign in to comment.