-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdata-updates.lua
120 lines (101 loc) · 5.82 KB
/
data-updates.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
require "prototypes.void-machines"
require "prototypes.residual-gas"
require "prototypes.heat"
require "prototypes.mining"
require "prototypes.biomass"
RECIPE("tailings-classification"):remove_unlock("separation")
data.raw.fluid["acetylene"].fuel_value = "750kJ"
data.raw.fluid["coke-oven-gas"].fuel_value = "750kJ"
data.raw.fluid["black-liquor"].fuel_value = nil
data.raw.item["raw-coal"].fuel_value = "1.5MJ"
data.raw.item["coal-dust"].fuel_value = "1.5MJ"
RECIPE("print-brain"):remove_unlock("organ-printing-mk02"):add_unlock("organ-printing")
RECIPE("blood-to-zinc"):remove_unlock("molecular-decohesion-mk02"):add_unlock("molecular-decohesion").results[1].amount = 7
data.raw["assembling-machine"]["eaf-mk01"].energy_usage = "30MW"
data.raw["assembling-machine"]["eaf-mk02"].energy_usage = "60MW"
data.raw["assembling-machine"]["eaf-mk03"].energy_usage = "90MW"
data.raw["assembling-machine"]["eaf-mk04"].energy_usage = "120MW"
RECIPE("yaedols-spores-to-oxygen"):add_unlock("yaedols-upgrade")
RECIPE("bonemeal-to-geothermal-water"):add_unlock("ulric-upgrade")
if settings.startup["pyhm-decrease-containers-inventory-size"].value then
for _, chest_type in pairs {"basic", "active-provider", "passive-provider", "buffer", "storage", "requester"} do
local container_type = chest_type == "basic" and "container" or "logistic-container"
local steel = chest_type == "basic" and "steel-chest" or (chest_type .. "-chest")
data.raw[container_type][steel].inventory_size = 20
data.raw[container_type]["py-shed-" .. chest_type].inventory_size = 40
data.raw[container_type]["py-storehouse-" .. chest_type].inventory_size = 80
data.raw[container_type]["py-warehouse-" .. chest_type].inventory_size = 120
data.raw[container_type]["py-deposit-" .. chest_type].inventory_size = 160
end
data.raw.container["wooden-chest"].inventory_size = 4
data.raw.container["iron-chest"].inventory_size = 8
end
RECIPE("neutron-absorber-mk01"):remove_unlock("nuclear-power"):add_unlock("uranium-processing")
if not mods.pystellarexpedition then
RECIPE("military-science-pack"):add_ingredient {"guar-gum", 1}
RECIPE("military-science-pack"):add_ingredient {"zipir1", 1}
RECIPE("capacitor2"):add_ingredient {"cadaveric-arum-seeds", 5}
RECIPE("chemical-science-pack"):add_ingredient {"mukmoux", 2}
RECIPE("py-science-pack-3"):add_ingredient {"gas-bladder", 5}
RECIPE("arqad-propolis-01"):remove_ingredient("dhilmos-egg"):add_ingredient("dhilmos")
RECIPE("arqad-propolis-02"):remove_ingredient("dhilmos-egg"):add_ingredient {"dhilmos", 2}
end
data.raw.unit["caravan"].affected_by_tiles = false
data.raw.unit["flyavan"].affected_by_tiles = false
data.raw.unit["nukavan"].affected_by_tiles = false
RECIPE("seaweed-to-chelator"):remove_unlock("phytomining-mk02")
data.raw.recipe["seaweed-to-chelator"] = nil
if mods["aai-loaders"] then
for loader, fluid in pairs {
["aai-loader"] = "stripped-distillate",
["aai-fast-loader"] = "grease",
["aai-express-loader"] = "nexelit-slurry",
} do
data.raw["storage-tank"][loader .. "-pipe"].fluid_box.filter = fluid
local localised_description = data.raw.technology[loader].localised_description
localised_description[3] = fluid
localised_description = {"", localised_description, " (", {"fluid-name." .. fluid}, ")"}
data.raw.technology[loader].localised_description = localised_description
data.raw["loader-1x1"][loader].localised_description = localised_description
data.raw.item[loader].localised_description = localised_description
end
TECHNOLOGY("aai-loader"):add_prereq("light-oil-mk02").unit.count = 1300
TECHNOLOGY("aai-fast-loader"):add_pack("py-science-pack-3").unit.count = 1100
TECHNOLOGY("aai-express-loader"):add_prereq("nexelit-mk03").unit.count = 1200
end
data.raw["logistic-robot"]["py-logistic-robot-mk01"].max_payload_size = 1
data.raw["logistic-robot"]["py-logistic-robot-mk02"].max_payload_size = 2
data.raw["logistic-robot"]["py-logistic-robot-mk03"].max_payload_size = 3
data.raw["logistic-robot"]["py-logistic-robot-mk04"].max_payload_size = 4
RECIPE("creosote-to-aromatics"):add_unlock("creosote"):add_ingredient {type = "fluid", name = "gasoline", amount = 35}.hidden = false
RECIPE("primers"):add_ingredient {"shell", 2}
RECIPE("primers-02"):add_ingredient {"shell", 2}
RECIPE("primers-03"):add_ingredient {"shell", 2}
data.raw.recipe["purex-waste-vitrification"].results[4].amount = 1
data.raw.recipe["planter-box"].ingredients[3].amount = 9
-- add fluid inputs to antelope-enclosure-mk01
data.raw["assembling-machine"]["antelope-enclosure-mk01"].fluid_boxes_off_when_no_fluid_recipe = true
data.raw["assembling-machine"]["antelope-enclosure-mk01"].fluid_boxes = {
{
production_type = "input",
pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
volume = 1000,
pipe_connections = {{flow_direction = "input", position = {-8, 0}, direction = defines.direction.east}}
},
{
production_type = "input",
pipe_picture = assembler2pipepictures(),
pipe_covers = pipecoverspictures(),
volume = 1000,
pipe_connections = {{flow_direction = "input", position = {8, 0}, direction = defines.direction.east}}
},
}
data.raw.recipe["space-science-pack-real"].allow_productivity = true
table.insert(data.raw.technology["steam-power"].effects, {
type = "mining-with-fluid",
modifier = true
})
if not mods.PyBlock and register_cache_file ~= nil then
register_cache_file({"pyhardmode", "pycoalprocessing", "pyfusionenergy", "pyindustry", "pyrawores", "pyhightech", "pypetroleumhandling", "pyalienlife", "pyalternativeenergy"}, "__pyhardmode__/cached-configs/pyalienlife+pyalternativeenergy+pycoalprocessing+pyfusionenergy+pyhardmode+pyhightech+pyindustry+pypetroleumhandling+pyrawores")
end