可在Module:Production method/List/doc创建此模块的帮助文档
-- Sets localized name as alternate key, appends building for pms with 'variants'
local uLower = mw.ustring.lower
local function loc(t1)
t2 = {}
for k, v in pairs(t1) do
t2[k] = v
if v.alt then
t2[uLower(v.loc..' ('..v.building..')')] = v
elseif v.loc then
t2[uLower(v.loc)] = v
end
end
return t2
end
local p = {};
-- list of common effects with icons
local ic = {};
ic["Pollution"] = { icon="Pollution", group="state status" }
-- Start list
p["default_building_vineyard_plantation"] = {
loc = "Basic Production",
alt = true,
icon = "plantation_production",
group = "Base",
building = "Vineyards",
output = { "green_+20_Wine" },
workforce = { "inherit_+4000_Laborers", "inherit_+1000_Farmers" }
}
p["automatic_irrigation_building_vineyard_plantation"] = {
loc = "Automatic Irrigation",
alt = true,
icon = "automatic_irrigation",
group = "Base",
building = "Vineyards",
reqs = { tech = { "Pumpjacks" } },
output = { "green_+40_Wine" },
input = { "red_+5_Engines" },
workforce = { "inherit_+3000_Laborers", "inherit_+1500_Farmers", "inherit_+500_Machinists" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_road_carts"] = {
loc = "Road Carts",
icon = "no_rail_transport",
group = "Train Automation",
building = "Multiple",
}
p["pm_steam_rail_transport"] = {
loc = "Rail Transportation",
icon = "rail_transport",
group = "Train Automation",
building = "Multiple",
reqs = { tech = { "Railways" } },
input = { "red_+5_Transportation" },
workforce = { "inherit_−1000_Laborers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_handcrafted_furniture"] = {
loc = "Handcrafted Furniture",
icon = "furniture_handicraft",
group = "Base",
building = "Furniture Manufacturies",
input = { "red_+30_Wood", "red_+10_Fabric" },
output = { "green_+45_Furniture" },
workforce = { "inherit_+4500_Laborers", "inherit_+500_Shopkeepers" }
}
p["pm_lathe"] = {
loc = "Lathes",
icon = "lathes",
group = "Base",
reqs = { tech = { "Lathe" } },
building = "Furniture Manufacturies",
input = { "red_+30_Wood", "red_+10_Fabric", "red_+5_Tools" },
output = { "green_+65_Furniture" },
workforce = { "inherit_+3250_Laborers", "inherit_+500_Shopkeepers", "inherit_+1000_Machinists", "inherit_+250_Engineers" }
}
p["pm_mechanized_workshops"] = {
loc = "Mechanized Workshops",
icon = "mechanized_workshops",
group = "Base",
reqs = { tech = { "Mechanized Workshops" } },
building = "Furniture Manufacturies",
input = { "red_+50_Wood", "red_+10_Fabric", "red_+10_Tools" },
output = { "green_+110_Furniture" },
workforce = { "inherit_+3000_Laborers", "inherit_+500_Shopkeepers", "inherit_+1250_Machinists", "inherit_+750_Engineers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_no_luxuries"] = {
loc = "Prioritize Non-Luxury Furniture",
icon = "no_luxury_furniture",
group = "Luxury Production",
building = "Furniture Manufacturies",
}
p["pm_luxury_furniture"] = {
loc = "Luxury Furniture Production",
icon = "luxury_furniture",
group = "Luxury Production",
building = "Furniture Manufacturies",
input = { "green_−15_Wood", "red_+15_Hardwood" },
output = { "red_−25_Furniture", "green_+25_Luxury Furniture" },
workforce = { "inherit_+500_Shopkeepers" }
}
p["pm_precision_tools"] = {
loc = "Precision Tools",
icon = "precision_tools",
group = "Luxury Production",
reqs = {
tech = { "Mechanical Tools" },
pm = { 'pm_lathe', 'pm_mechanized_workshops' }
},
building = "Furniture Manufacturies",
input = { "green_−25_Wood", "red_+25_Hardwood", "red_+10_Tools" },
output = { "red_−55_Furniture", "green_+55_Luxury Furniture" },
workforce = { "inherit_+1000_Shopkeepers" },
}
p["pm_handsewn_clothes"] = {
loc = "Handsewn Clothes",
icon = "handsewn_clothes",
group = "Base",
building = "Textile Mills",
input = { "red_+40_Fabric" },
output = { "green_+45_Clothes" },
workforce = { "inherit_+4500_Laborers", "inherit_+500_Shopkeepers" }
}
p["pm_dye_workshops"] = {
loc = "Dye Workshops",
icon = "dye_workshops",
group = "Base",
reqs = { tech = { "Lathe" } },
building = "Textile Mills",
input = { "red_+40_Fabric", "red_+5_Dye" },
output = { "green_+60_Clothes" },
workforce = { "inherit_+4000_Laborers", "inherit_+500_Shopkeepers", "inherit_+500_Machinists" }
}
p["pm_sewing_machines"] = {
loc = "Sewing Machines",
icon = "sewing_machines",
group = "Base",
reqs = { tech = { "Mechanized Workshops" } },
building = "Textile Mills",
input = { "red_+60_Fabric", "red_+10_Dye", "red_+5_Tools" },
output = { "green_+100_Clothes" },
workforce = { "inherit_+3500_Laborers", "inherit_+500_Shopkeepers", "inherit_+750_Machinists", "inherit_+250_Engineers" },
}
p["pm_electric_sewing_machines"] = {
loc = "Electric Sewing Machines",
icon = "electric_sewing_machines",
group = "Base",
reqs = { tech = { "Electrical Capacitors" } },
building = "Textile Mills",
input = { "red_+60_Fabric", "red_+20_Dye", "red_+10_Tools", "red_+10_Electricity" },
output = { "green_+140_Clothes" },
workforce = { "inherit_+3000_Laborers", "inherit_+500_Shopkeepers", "inherit_+1000_Machinists", "inherit_+500_Engineers" },
}
p["pm_no_luxury_clothes"] = {
loc = "Prioritize Non-Luxury Clothing",
icon = "no_luxury_clothes",
group = "Luxury Clothing Production",
building = "Textile Mills",
}
p["pm_craftsman_sewing"] = {
loc = "Craftsman Sewing",
icon = "craftsman_sewing",
group = "Luxury Clothing Production",
building = "Textile Mills",
input = { "green_−15_Fabric", "red_+15_Silk" },
output = { "red_−30_Clothes", "green_+30_Luxury Clothes" },
workforce = { "inherit_+500_Shopkeepers" }
}
p["pm_elastics"] = {
loc = "Elastics",
icon = "elastics",
group = "Luxury Clothing Production",
reqs = {
tech = { "Vulcanization" },
pm = { 'pm_sewing_machines', 'pm_electric_sewing_machines' }
},
building = "Textile Mills",
input = { "green_−35_Fabric", "red_+35_Silk", "red_+10_Rubber" },
output = { "red_−70_Clothes", "green_+70_Luxury Clothes" },
workforce = { "inherit_+1000_Shopkeepers" },
}
p["pm_traditional_looms"] = {
loc = "Traditional Looms",
icon = "no_automation",
group = "Automation",
building = "Textile Mills",
}
p["pm_mechanized_looms"] = {
loc = "Mechanized Looms",
icon = "mechanized_looms",
group = "Automation",
reqs = { tech = { "Mechanized Workshops" } },
blockers = { law = { 'Industry Banned' } },
building = "Textile Mills",
input = { "red_+5_Tools" },
workforce = { "inherit_−1500_Laborers" },
}
p["pm_automatic_power_looms"] = {
loc = "Automatic Power Looms",
icon = "automatic_power_looms",
group = "Automation",
reqs = { tech = { "Electrical Capacitors" } },
blockers = { law = { 'Industry Banned' } },
building = "Textile Mills",
input = { "red_+5_Tools", "red_+10_Electricity" },
workforce = { "inherit_−2500_Laborers" },
}
p["pm_bakery"] = {
loc = "Bakeries",
icon = "bakeries",
group = "Base",
building = "Food Industries",
input = { "red_+40_Grain" },
output = { "green_+45_Groceries" },
workforce = { "inherit_+4500_Laborers", "inherit_+500_Shopkeepers" }
}
p["pm_sweeteners"] = {
loc = "Sweeteners",
icon = "sweeteners",
group = "Base",
reqs = { tech = { "Distillation" } },
building = "Food Industries",
input = { "red_+40_Grain", "red_+15_Sugar" },
output = { "green_+65_Groceries" },
workforce = { "inherit_+4000_Laborers", "inherit_+500_Shopkeepers", "inherit_+500_Machinists" }
}
p["pm_baking_powder"] = {
loc = "Baking Powder",
icon = "baking_powder",
group = "Base",
reqs = { tech = { "Baking Powder" } },
building = "Food Industries",
input = { "red_+80_Grain", "red_+30_Sugar" },
output = { "green_+120_Groceries" },
workforce = { "inherit_+3500_Laborers", "inherit_+500_Shopkeepers", "inherit_+750_Machinists", "inherit_+250_Engineers" },
}
p["pm_disabled_canning"] = {
loc = "Jars",
icon = "no_canning",
group = "Canning",
building = "Food Industries",
}
p["pm_cannery"] = {
loc = "Canned Meat",
icon = "canneries",
group = "Canning",
reqs = { tech = { "Canneries" } },
building = "Food Industries",
input = { "red_−20_Grain", "red_+20_Meat", "red_+10_Iron" },
output = { "green_+30_Groceries" },
workforce = { "inherit_+500_Machinists" },
}
p["pm_cannery_fish"] = {
loc = "Canned Fish",
icon = "canneries",
group = "Canning",
reqs = { tech = { "Canneries" } },
building = "Food Industries",
input = { "red_−20_Grain", "red_+30_Fish", "red_+10_Iron" },
output = { "green_+30_Groceries" },
workforce = { "inherit_+500_Machinists" },
}
p["pm_vacuum_canning"] = {
loc = "Vacuum Packaging",
icon = "vaccum_canning",
group = "Canning",
reqs = { tech = { "Vacuum Canning" } },
blockers = { bloc = { "Food Standardized III" } },
building = "Food Industries",
input = { "red_−30_Grain", "red_+20_Meat", "red_+30_Fish", "red_+10_Iron", "red_+5_Oil" },
output = { "green_+60_Groceries" },
workforce = { "inherit_+500_Machinists", "inherit_+200_Engineers" },
}
p["pm_vacuum_canning_principle_3"] = {
loc = "Efficient Canning Practices",
icon = "vaccum_canning",
group = "Canning",
reqs = { tech = { "Vacuum Canning" }, bloc = { "Food Standardized III" } },
building = "Food Industries",
input = { "red_−30_Grain", "red_+20_Meat", "red_+30_Fish", "red_+10_Iron", "red_+5_Oil" },
output = { "green_+70_Groceries" },
workforce = { "inherit_+500_Machinists", "inherit_+200_Engineers" },
}
p["pm_disabled_distillery"] = {
loc = "Prioritize Grocery Production",
icon = "no_distillery",
group = "Distilleries",
building = "Food Industries",
}
p["pm_pot_stills"] = {
loc = "Pot Stills",
icon = "pot_stills",
group = "Distilleries",
reqs = { tech = { "Distillation" } },
building = "Food Industries",
input = { "red_+25_Sugar" },
output = { "green_−30_Groceries", "green_+60_Liquor" },
workforce = { "inherit_+100_Shopkeepers", "inherit_+250_Machinists" },
}
p["pm_patent_stills"] = {
loc = "Patent Stills",
icon = "patent_stills",
group = "Distilleries",
reqs = { tech = { "Fractional Distillation" } },
building = "Food Industries",
input = { "red_+25_Sugar", "red_+10_Sugar" },
output = { "green_−40_Groceries", "green_+100_Liquor" },
workforce = { "inherit_+200_Shopkeepers", "inherit_+500_Machinists", "inherit_+200_Engineers" },
}
p["pm_manual_dough_processing"] = {
loc = "Manual Dough Processing",
icon = "no_automation",
group = "Automation",
building = "Food Industries",
}
p["pm_automated_bakery"] = {
loc = "Automated Bakery",
icon = "automated_bakery",
group = "Automation",
reqs = { tech = { "Dough Rollers" } },
blockers = { law = { 'Industry Banned' } },
building = "Food Industries",
input = { "red_+10_Tools" },
workforce = { "inherit_−2500_Laborers" },
}
p["pm_forest_glass"] = {
loc = "Forest Glass",
icon = "forest_glass",
group = "Base",
building = "Glassworks",
input = { "red_+30_Wood" },
output = { "green_+30_Glass" },
workforce = { "inherit_+4500_Laborers", "inherit_+500_Shopkeepers" }
}
p["pm_leaded_glass"] = {
loc = "Leaded Glass",
icon = "leaded_glass",
group = "Base",
reqs = { tech = { "Lathe" } },
building = "Glassworks",
input = { "red_+20_Wood", "red_+10_Lead" },
output = { "green_+40_Glass" },
workforce = { "inherit_+4000_Laborers", "inherit_+500_Shopkeepers", "inherit_+500_Machinists" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_crystal_glass"] = {
loc = "Crystal Glass",
icon = "crystal_glass",
group = "Base",
reqs = { tech = { "Crystal Glass" } },
building = "Textile Mills",
input = { "red_+35_Lead" },
output = { "green_+60_Glass" },
workforce = { "inherit_+3000_Laborers", "inherit_+500_Shopkeepers", "inherit_+1000_Machinists", "inherit_+500_Engineers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_houseware_plastics"] = {
loc = "Houseware Plastics",
icon = "houseware_plastics",
group = "Base",
reqs = { tech = { "Plastics" } },
building = "Textile Mills",
input = { "red_+30_Lead", "red_+20_Oil" },
output = { "green_+100_Glass" },
workforce = { "inherit_+2500_Laborers", "inherit_+500_Shopkeepers", "inherit_+1250_Machinists", "inherit_+750_Engineers" },
sm = {
ws = { { "red", "+15", ic.Pollution } }
}
}
p["pm_disabled_ceramics"] = {
loc = "Prioritize Glass Production",
icon = "no_ceramics",
group = "Luxury Production",
building = "Glassworks",
}
p["pm_ceramics"] = {
loc = "Ceramics",
icon = "ceramics",
group = "Luxury Production",
building = "Glassworks",
input = { "red_+5_Dye" },
output = { "red_−10_Glass", "green_+10_Porcelain" },
workforce = { "inherit_+250_Shopkeepers" }
}
p["pm_bone_china"] = {
loc = "Bone China",
icon = "bone_china",
group = "Luxury Production",
building = "Glassworks",
reqs = {
tech = { "Chemical Bleaching" },
pm = { 'pm_crystal_glass', 'pm_houseware_plastics' }
},
input = { "red_+10_Dye" },
output = { "red_−20_Glass", "green_+30_Porcelain" },
workforce = { "inherit_+500_Shopkeepers" },
}
p["pm_manual_glassblowing"] = {
loc = "No Glassblowing",
icon = "glassworks_handicraft",
group = "Glassblowing",
building = "Glassworks",
}
p["pm_automatic_bottle_blowers"] = {
loc = "Automatic Bottle Blowers",
icon = "automated_bottle_blowers",
group = "Glassblowing",
reqs = { tech = { "Automatic Bottle Blowers" } },
blockers = { law = { 'Industry Banned' } },
building = "Glassworks",
input = { "red_+2_Tools", "red_+2_Engines", "red_+5_Oil" },
workforce = { "inherit_−2500_Laborers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_crude_tools"] = {
loc = "Crude Tools",
icon = "crude_tools",
group = "Base",
building = "Tooling Workshops",
input = { "red_+30_Wood" },
output = { "green_+30_Tools" },
workforce = { "inherit_+4500_Laborers", "inherit_+500_Shopkeepers" }
}
p["pm_pig_iron"] = {
loc = "Wrought Iron Tools",
icon = "pig_iron_tools",
group = "Base",
reqs = { tech = { "Steelworking" } },
building = "Tooling Workshops",
input = { "red_+30_Wood", "red_+20_Iron" },
output = { "green_+60_Tools" },
workforce = { "inherit_+4000_Laborers", "inherit_+500_Shopkeepers", "inherit_+500_Machinists" }
}
p["pm_steel"] = {
loc = "Steel Tools",
icon = "bessemer_process",
group = "Base",
reqs = { tech = { "Mechanical Tools" } },
building = "Tooling Workshops",
input = { "red_+30_Wood", "red_+20_Steel" },
output = { "green_+80_Tools" },
workforce = { "inherit_+3500_Laborers", "inherit_+500_Shopkeepers", "inherit_+500_Machinists", "inherit_+500_Engineers" },
}
p["pm_rubber_grips"] = {
loc = "Machined Steel Tools",
icon = "steel_tools",
group = "Base",
reqs = { tech = { "Vulcanization" } },
building = "Tooling Workshops",
input = { "red_+10_Rubber", "red_+20_Steel" },
output = { "green_+100_Tools" },
workforce = { "inherit_+3000_Laborers", "inherit_+500_Shopkeepers", "inherit_+1000_Machinists", "inherit_+500_Engineers" },
}
p["pm_pulp_pressing"] = {
loc = "Pulp Pressing",
icon = "pulp_pressing",
group = "Base",
building = "Paper Mills",
input = { "red_+30_Wood" },
output = { "green_+40_Paper" },
workforce = { "inherit_+4500_Laborers", "inherit_+500_Shopkeepers" }
}
p["pm_sulfite_pulping"] = {
loc = "Sulfite Pulping",
icon = "sulfite_pulping",
group = "Base",
reqs = { tech = { "Mechanical Tools" } },
building = "Paper Mills",
input = { "red_+30_Wood", "red_+10_Sulfur" },
output = { "green_+70_Paper" },
workforce = { "inherit_+4000_Laborers", "inherit_+500_Shopkeepers", "inherit_+500_Machinists" },
sm = {
ws = { { "red", "+3", ic.Pollution } }
}
}
p["pm_bleached_paper"] = {
loc = "Paper Bleaching",
icon = "bleached_paper",
group = "Base",
reqs = { tech = { "Chemical Bleaching" } },
building = "Paper Mills",
input = { "red_+30_Wood", "red_+10_Sulfur", "red_+10_Dye" },
output = { "green_+100_Paper" },
workforce = { "inherit_+3000_Laborers", "inherit_+500_Shopkeepers", "inherit_+1000_Machinists", "inherit_+500_Engineers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_blister_steel_process"] = {
loc = "Blister Steel Process",
icon = "blister_steel_process",
group = "Steelmaking Process",
building = "Steel Mills",
input = { "red_+40_Iron", "red_+30_Coal" },
output = { "green_+65_Steel" },
workforce = { "inherit_+3500_Laborers", "inherit_+500_Shopkeepers", "inherit_+750_Machinists", "inherit_+250_Engineers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_bessemer_process"] = {
loc = "Bessemer Process",
icon = "bessemer_process",
group = "Steelmaking Process",
reqs = { tech = { "Bessemer Process" } },
building = "Steel Mills",
input = { "red_+60_Iron", "red_+30_Coal" },
output = { "green_+90_Steel" },
workforce = { "inherit_+3000_Laborers", "inherit_+500_Shopkeepers", "inherit_+1000_Machinists", "inherit_+500_Engineers" },
sm = {
ws = { { "red", "+15", ic.Pollution } }
}
}
p["pm_open_hearth_process"] = {
loc = "Open Hearth Process",
icon = "open_hearth_process",
group = "Steelmaking Process",
reqs = { tech = { "Open Hearth Process" } },
building = "Steel Mills",
input = { "red_+90_Iron", "red_+30_Coal" },
output = { "green_+120_Steel" },
workforce = { "inherit_+2500_Laborers", "inherit_+500_Shopkeepers", "inherit_+1250_Machinists", "inherit_+750_Engineers" },
sm = {
ws = { { "red", "+20", ic.Pollution } }
}
}
p["pm_electric_arc_process"] = {
loc = "Electric Arc Process",
icon = "electric_arc_process",
group = "Steelmaking Process",
reqs = { tech = { "Electric Arc Process" } },
building = "Steel Mills",
input = { "red_+100_Iron", "red_+30_Coal", "red_+30_Electricity" },
output = { "green_+150_Steel" },
workforce = { "inherit_+2000_Laborers", "inherit_+500_Shopkeepers", "inherit_+1500_Machinists", "inherit_+1000_Engineers" },
sm = {
ws = { { "red", "+25", ic.Pollution } }
}
}
p["pm_automation_disabled"] = {
loc = "Hand Assembly",
icon = "no_automation",
group = "Automation",
building = "Multiple",
}
p["pm_watertube_boiler"] = {
loc = "Water-tube Boiler",
icon = "watertube_boiler",
group = "Automation",
reqs = { tech = { "Water-tube Boiler" } },
blockers = { law = { 'Industry Banned' } },
building = "Multiple",
input = { "red_+5_Tools", "red_+5_Coal" },
workforce = { "inherit_−1500_Laborers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_rotary_valve_engine"] = {
loc = "Rotary Valve Engine",
alt = true,
icon = "rotary_valve_engine",
group = "Automation",
reqs = { tech = { "Rotary Valve Engine" } },
blockers = { law = { 'Industry Banned' } },
building = "Multiple",
input = { "red_+5_Tools", "red_+10_Coal" },
workforce = { "inherit_−2000_Laborers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_assembly_lines"] = {
loc = "Assembly Lines",
alt = true,
icon = "assembly_lines",
group = "Automation",
reqs = { tech = { "Conveyors" } },
blockers = { law = { 'Industry Banned' } },
building = "Multiple",
input = { "red_+5_Tools", "red_+5_Oil", "red_+5_Electricity" },
workforce = { "inherit_−3000_Laborers" },
sm = {
ws = { { "red", "+10/15", ic.Pollution } }
}
}
p["pm_watertube_boiler_building_steel_mills"] = {
loc = "Water-tube Boiler",
alt = true,
icon = "watertube_boiler",
group = "Automation",
reqs = { tech = { "Water-tube Boiler" } },
building = "Steel Mills",
input = { "red_+5_Tools", "red_+5_Coal" },
workforce = { "inherit_−1500_Laborers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_rotary_valve_engine_building_steel_mills"] = {
loc = "Rotary Valve Engine",
alt = true,
icon = "rotary_valve_engine",
group = "Automation",
reqs = { tech = { "Rotary Valve Engine" } },
building = "Steel Mills",
input = { "red_+5_Tools", "red_+10_Coal" },
workforce = { "inherit_−2000_Laborers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_watertube_boiler_building_furniture_manufacturies"] = {
loc = "Water-tube Boiler",
alt = true,
icon = "watertube_boiler",
group = "Automation",
reqs = { tech = { "Water-tube Boiler" } },
blockers = { law = { 'Industry Banned' } },
building = "Furniture Manufacturies",
input = { "red_+5_Tools", "red_+5_Coal" },
workforce = { "inherit_−1500_Laborers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_rotary_valve_engine_building_furniture_manufacturies"] = {
loc = "Rotary Valve Engine",
alt = true,
icon = "rotary_valve_engine",
group = "Automation",
reqs = { tech = { "Rotary Valve Engine" } },
blockers = { law = { 'Industry Banned' } },
building = "Furniture Manufacturies",
input = { "red_+5_Tools", "red_+10_Coal" },
workforce = { "inherit_−2000_Laborers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_assembly_lines_building_furniture_manufacturies"] = {
loc = "Assembly Lines",
alt = true,
icon = "assembly_lines",
group = "Automation",
reqs = { tech = { "Conveyors" } },
blockers = { law = { 'Industry Banned' } },
building = "Furniture Manufacturies",
input = { "red_+5_Tools", "red_+5_Oil", "red_+5_Electricity" },
workforce = { "inherit_−3000_Laborers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_watertube_boiler_building_paper_mills"] = {
loc = "Water-tube Boiler",
alt = true,
icon = "watertube_boiler",
group = "Automation",
reqs = { tech = { "Water-tube Boiler" } },
blockers = { law = { 'Industry Banned' } },
building = "Paper Mills",
input = { "red_+5_Tools", "red_+5_Coal" },
workforce = { "inherit_−1500_Laborers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_rotary_valve_engine_building_paper_mills"] = {
loc = "Rotary Valve Engine",
alt = true,
icon = "rotary_valve_engine",
group = "Automation",
reqs = { tech = { "Rotary Valve Engine" } },
blockers = { law = { 'Industry Banned' } },
building = "Paper Mills",
input = { "red_+5_Tools", "red_+10_Coal" },
workforce = { "inherit_−2000_Laborers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_watertube_boiler_building_tooling_workshops"] = {
loc = "Water-tube Boiler",
alt = true,
icon = "watertube_boiler",
group = "Automation",
reqs = { tech = { "Water-tube Boiler" } },
blockers = { law = { 'Industry Banned' } },
building = "Tooling Workshops",
input = { "red_+10_Coal" },
workforce = { "inherit_−1500_Laborers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_rotary_valve_engine_building_tooling_workshops"] = {
loc = "Rotary Valve Engine",
alt = true,
icon = "rotary_valve_engine",
group = "Automation",
reqs = { tech = { "Rotary Valve Engine" } },
blockers = { law = { 'Industry Banned' } },
building = "Tooling Workshops",
input = { "red_+15_Coal" },
workforce = { "inherit_−2000_Laborers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_assembly_lines_building_tooling_workshops"] = {
loc = "Assembly Lines",
alt = true,
icon = "assembly_lines",
group = "Automation",
reqs = { tech = { "Conveyors" } },
blockers = { law = { 'Industry Banned' } },
building = "Tooling Workshops",
input = { "red_+10_Oil", "red_+5_Electricity" },
workforce = { "inherit_−3000_Laborers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_open_air_stockyards"] = {
loc = "Open Air Stockyards",
icon = "open_air_stockyards",
group = "Base",
building = "Livestock Ranches",
output = { "green_+10_Meat" },
workforce = { "inherit_+4000_Laborers", "inherit_+1000_Farmers" }
}
p["pm_butchering_tools"] = {
loc = "Butchering Tools",
icon = "butchering_tools",
group = "Base",
building = "Livestock Ranches",
input = { "red_+5_Tools" },
output = { "green_+20_Meat" },
workforce = { "inherit_+3500_Laborers", "inherit_+1250_Farmers", "inherit_+500_Machinists" }
}
p["pm_slaughterhouses"] = {
loc = "Slaughterhouses",
icon = "slaughterhouses",
group = "Base",
building = "Livestock Ranches",
reqs = { tech = { "Mechanical Tools" } },
input = { "red_+10_Tools" },
output = { "green_+30_Meat" },
workforce = { "inherit_+3000_Laborers", "inherit_+1500_Farmers", "inherit_+500_Machinists" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_mechanized_slaughtering"] = {
loc = "Mechanized Slaughterhouses",
icon = "mechanized_slaughtering",
group = "Base",
building = "Livestock Ranches",
reqs = { tech = { "Mechanized Farming" } },
input = { "red_+10_Tools", "red_+5_Coal" },
output = { "green_+45_Meat" },
workforce = { "inherit_+2250_Laborers", "inherit_+1750_Farmers", "inherit_+1000_Machinists" },
sm = {
ws = { { "red", "+15", ic.Pollution } }
}
}
p["pm_simple_ranch"] = {
loc = "Sheep Ranch",
icon = "sheep_ranch",
group = "Wool Production",
building = "Livestock Ranches",
output = { "green_+5_Fabric" },
}
p["pm_sheep_farms"] = {
loc = "Increased Wool Gathering",
icon = "sheep_farms",
group = "Wool Production",
building = "Livestock Ranches",
input = { "red_+10_Grain" },
output = { "green_+15_Fabric", "green_+2.5_Fertilizer" },
reqs = { tech = { "Intensive Agriculture", } }
}
p["pm_intensive_grazing_ranch"] = {
loc = "Intensive Wool Gathering",
icon = "large_sheep_ranch",
group = "Wool Production",
building = "Livestock Ranches",
input = { "red_+20_Grain" },
output = { "green_+25_Fabric", "green_+5_Fertilizer" },
reqs = {
tech = { "Mechanized Farming" },
pm = { 'pm_butchering_tools', 'pm_slaughterhouses', 'pm_mechanized_slaughtering' }
},
}
p["pm_standard_fences"] = {
loc = "Standard Fences",
icon = "standard_fences",
group = "Fencing",
building = "Livestock Ranches",
}
p["pm_barbed_wire_fences"] = {
loc = "Barbed Wire Fences",
icon = "barbed_wire_fencing",
group = "Fencing",
building = "Livestock Ranches",
reqs = { tech = { "Field Works" }, },
input = { "red_+2_Iron" },
workforce = { "inherit_−800_Laborers" }
}
p["pm_electric_fencing"] = {
loc = "Electric Fences",
icon = "electric_fencing",
group = "Fencing",
building = "Livestock Ranches",
reqs = { tech = { "Electrical Generation" }, },
input = { "red_+2_Iron", "red_+2_Electricity" },
workforce = { "inherit_−1400_Laborers" }
}
p["pm_unrefrigerated"] = {
loc = "Unrefrigerated",
icon = "no_refrigeration",
group = "Refrigeration",
building = "Multiple",
}
p["pm_refrigerated_storage_building_livestock_ranch"] = {
loc = "Refrigerated Storage",
alt = true,
icon = "refrigerated_storage",
group = "Refrigeration",
building = "Livestock Ranches",
reqs = { tech = { "Pasteurization" }, },
input = { "red_+3_Electricity" },
workforce = { "inherit_−800_Laborers" }
}
p["pm_refrigerated_rail_cars_building_livestock_ranch"] = {
loc = "Refrigerated Rail Cars",
alt = true,
icon = "refrigerated_rail_cars",
group = "Refrigeration",
building = "Livestock Ranches",
reqs = { tech = { "Electric Railways" }, },
input = { "red_+3_Electricity", "red_+2_Transportation" },
workforce = { "inherit_−1400_Laborers" }
}
p["pm_picks_and_shovels_building_coal_mine"] = {
loc = "Picks and Shovels",
alt = true,
icon = "picks_and_shovels",
group = "Mining Equipment",
building = "Coal Mines",
input = { "red_+5_Tools" },
output = { "green_+25_Coal" },
workforce = { "inherit_+4500_Laborers", "inherit_+500_Shopkeepers" }
}
p["pm_atmospheric_engine_pump_building_coal_mine"] = {
loc = "Atmospheric Engine Pump",
alt = true,
icon = "pumps",
group = "Mining Equipment",
building = "Coal Mines",
reqs = { tech = { "Atmospheric Engine" }, },
input = { "red_+10_Tools" },
output = { "green_+40_Coal" },
workforce = { "inherit_+3750_Laborers", "inherit_+500_Shopkeepers", "inherit_+500_Machinists", "inherit_+250_Engineers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_condensing_engine_pump_building_coal_mine"] = {
loc = "Condensing Engine Pump",
alt = true,
icon = "condensing_engine_pump",
group = "Mining Equipment",
building = "Coal Mines",
reqs = { tech = { "Water-tube Boiler" }, },
input = { "red_+15_Tools" },
output = { "green_+60_Coal" },
workforce = { "inherit_+3000_Laborers", "inherit_+500_Shopkeepers", "inherit_+1000_Machinists", "inherit_+500_Engineers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_diesel_pump_building_coal_mine"] = {
loc = "Diesel Pump",
alt = true,
icon = "diesel_pump",
group = "Mining Equipment",
building = "Coal Mines",
reqs = { tech = { "Compression Ignition" }, },
input = { "red_+15_Tools", "red_+5_Oil" },
output = { "green_+90_Coal" },
workforce = { "inherit_+2250_Laborers", "inherit_+500_Shopkeepers", "inherit_+1500_Machinists", "inherit_+750_Engineers" },
sm = {
ws = { { "red", "+15", ic.Pollution } }
}
}
p["pm_no_explosives"] = {
loc = "Manuel Drilling",
icon = "no_explosives",
group = "Explosives",
building = "Multiple",
}
p["pm_nitroglycerin_building_coal_mine"] = {
loc = "Nitroglycerin",
alt = true,
icon = "nitroglycerin",
group = "Explosives",
building = "Coal Mines",
reqs = { tech = { "Nitroglycerin" }, },
input = { "red_+5_Explosives" },
output = { "green_+15_Coal" },
workforce = { "inherit_+250_Engineers" },
bm = {
us = { "red_+30%_Laborer mortality", "red_+20%_Machinist mortality", "red_+10%_Engineer mortality" }
},
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_dynamite_building_coal_mine"] = {
loc = "Dynamite",
alt = true,
icon = "dynamite",
group = "Explosives",
building = "Coal Mines",
reqs = { tech = { "Dynamite" }, },
input = { "red_+10_Explosives" },
output = { "green_+25_Coal" },
workforce = { "inherit_+250_Engineers" },
sm = {
ws = { { "red", "+10", ic.Pollution } }
}
}
p["pm_no_steam_automation"] = {
loc = "Hand Cranked Crane",
icon = "no_automation",
group = "Steam Automation",
building = "Multiple",
}
p["pm_steam_donkey_building_coal_mine"] = {
loc = "Steam Donkey",
alt = true,
icon = "steam_donkey",
group = "Steam Automation",
building = "Livestock Ranches",
reqs = { tech = { "Steam Donkey" } },
blockers = { law = { 'Industry Banned' } },
input = { "red_+1_Engines" },
output = { "red_−3_Coal" },
workforce = { "inherit_−1000_Laborers" },
sm = {
ws = { { "red", "+5", ic.Pollution } }
}
}
p["pm_rail_transport_mine"] = p["pm_steam_rail_transport"]
p["pm_simple_organization"] = {
loc = "Simple Organization",
icon = "simple_organization",
group = "Base",
building = "Government Administration",
workforce = { "inherit_+4000_Clerks" },
cm = {
ws = { "green_+35_Bureaucracy" }
},
sm = {
ws = { "green_+5_Tax capacity" }
}
}
p["pm_horizontal_drawer_cabinets"] = {
loc = "Filing Cabinets",
icon = "horizontal_drawer_cabinets",
group = "Base",
building = "Government Administration",
reqs = { tech = { "Centralization" }, },
input = { "red_+10_Paper" },
workforce = { "inherit_+4000_Clerks" },
cm = {
ws = { "green_+50_Bureaucracy" }
},
sm = {
ws = { "green_+10_Tax capacity" }
}
}
p["pm_vertical_filing_cabinets"] = {
loc = "Standardized Filing System",
icon = "vertical_filing_cabinets",
group = "Base",
building = "Government Administration",
reqs = { tech = { "Central Archives" }, },
input = { "red_+20_Paper" },
workforce = { "inherit_+4000_Clerks" },
cm = {
ws = { "green_+65_Bureaucracy" }
},
sm = {
ws = { "green_+15_Tax capacity" }
}
}
p["pm_switch_boards"] = {
loc = "Telephone Switchboards",
icon = "telephone_switchboards",
group = "Base",
building = "Government Administration",
reqs = { tech = { "Central Planning" }, },
input = { "red_+20_Paper", "red_+5_Telephones" },
workforce = { "inherit_+2500_Clerks", "inherit_+2500_Bureaucrats" },
cm = {
ws = { "green_+100_Bureaucracy" }
},
sm = {
ws = { "green_+30_Tax capacity" }
}
}
p["pm_hereditary_bureaucrats"] = {
loc = "Hereditary Bureaucrats",
icon = "ownership_aristocrats",
group = "Professionalism",
building = "Government Administration",
workforce = { "inherit_+250_Aristocrats", "inherit_+250_Bureaucrats" },
reqs = { law = { "Hereditary Bureaucrats", } },
}
p["pm_professional_bureaucrats"] = {
loc = "Professional Bureaucrats",
icon = "professional_bureaucrats",
group = "Professionalism",
building = "Government Administration",
workforce = { "inherit_+500_Bureaucrats" },
blockers = { law = { "Hereditary Bureaucrats", } },
}
p["pm_religious_bureaucrats"] = {
loc = "Administrative Clergy",
icon = "ownership_clergy",
group = "Secularism",
building = "Government Administration",
workforce = { "inherit_+250_Clergymen", "inherit_+250_Bureaucrats" },
blockers = { law = { "Total Separation", "State Atheism", } },
}
p["pm_secular_bureaucrats"] = {
loc = "Secular Administration",
icon = "ownership_bureacrats",
group = "Secularism",
building = "Government Administration",
workforce = { "inherit_+500_Bureaucrats" },
blockers = { law = { "State Religion", } },
}
p["pm_no_organization"] = {
loc = "No Organized Training",
icon = "no_specialists",
group = "Training",
building = "Barracks",
workforce = { "inherit_+970_Servicemen", "inherit_+30_Officers" },
bm = {
ls = { "green_+10_Training rate" }
},
}
p["pm_no_organization_conscription"] = {
loc = "No Organized Training",
icon = "no_specialists",
alt = true,
group = "Training",
building = "Conscription Center",
workforce = { "inherit_+970_Servicemen", "inherit_+30_Officers" },
bm = {
ls = { "green_+10_Training rate" }
},
}
p["pm_general_training"] = {
loc = "General Training",
icon = "cavalry",
group = "Training",
building = "Barracks",
reqs = { tech = { "general_staff" }, },
workforce = { "inherit_+950_Servicemen", "inherit_+50_Officers" },
bm = {
ls = { "green_+18_Training rate" }
},
}
p["pm_general_training_conscription"] = {
loc = "General Training",
icon = "cavalry",
alt = true,
group = "Training",
building = "Conscription Center",
reqs = { tech = { "general_staff" }, },
workforce = { "inherit_+950_Servicemen", "inherit_+50_Officers" },
bm = {
ls = { "green_+18_Training rate" }
},
}
p["pm_advanced_tactics_training"] = {
loc = "Advanced Tactics Training",
icon = "squad_infantry",
group = "Training",
building = "Barracks",
reqs = { tech = { "military_statistics" }, },
workforce = { "inherit_+900_Servicemen", "inherit_+100_Officers" },
bm = {
ls = { "green_+21_Training rate" }
},
}
p["pm_advanced_tactics_training_conscription"] = {
loc = "Advanced Tactics Training",
icon = "squad_infantry",
alt = true,
group = "Training",
building = "Conscription Center",
reqs = { tech = { "military_statistics" }, },
workforce = { "inherit_+900_Servicemen", "inherit_+100_Officers" },
bm = {
ls = { "green_+21_Training rate" }
},
blockers = { law = { "Peasant Levies", } },
}
p["pm_training_streamlining"] = {
loc = "Training Method Streamlining",
icon = "skirmish_infantry",
group = "Training",
building = "Barracks",
reqs = { tech = { "wargaming" }, },
workforce = { "inherit_+850_Servicemen", "inherit_+150_Officers" },
bm = {
ls = { "green_+24_Training rate" }
},
}
p["pm_training_streamlining_conscription"] = {
loc = "Training Method Streamlining",
icon = "skirmish_infantry",
alt = true,
group = "Training",
building = "Conscription Center",
reqs = { tech = { "wargaming" }, },
workforce = { "inherit_+850_Servicemen", "inherit_+150_Officers" },
bm = {
ls = { "green_+24_Training rate" }
},
blockers = { law = { "Peasant Levies", } },
}
p["pm_nco_incorporation"] = {
loc = "NCO Incorporation",
icon = "nco_incorporation",
group = "Training",
building = "Barracks",
reqs = { tech = { "nco_training" }, },
workforce = { "inherit_+800_Servicemen", "inherit_+200_Officers" },
bm = {
ls = { "green_+27_Training rate" }
},
}
p["pm_nco_incorporation_conscription"] = {
loc = "NCO Incorporation",
icon = "nco_incorporation",
alt = true,
group = "Training",
building = "Conscription Center",
reqs = { tech = { "nco_training" }, },
workforce = { "inherit_+800_Servicemen", "inherit_+200_Officers" },
bm = {
ls = { "green_+27_Training rate" }
},
blockers = { law = { "Peasant Levies", } },
}
p["pm_mobile_warfare_tactics"] = {
loc = "Mobile Warfare Tactics",
icon = "motorised_logistics",
group = "Training",
building = "Barracks",
reqs = { tech = { "mobile_armor" }, },
workforce = { "inherit_+750_Servicemen", "inherit_+250_Officers" },
bm = {
ls = { "green_+30_Training rate" }
},
}
p["pm_mobile_warfare_tactics_conscription"] = {
loc = "Mobile Warfare Tactics",
icon = "motorised_logistics",
alt = true,
group = "Training",
building = "Conscription Center",
reqs = { tech = { "mobile_armor" }, },
workforce = { "inherit_+750_Servicemen", "inherit_+250_Officers" },
bm = {
ls = { "green_+30_Training rate" }
},
blockers = { law = { "Peasant Levies", } },
}
-- end list
p = loc(p)
return p