-
Notifications
You must be signed in to change notification settings - Fork 18
/
data.lua
95 lines (79 loc) · 3.53 KB
/
data.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
require "__pypostprocessing__.lib"
require "prototypes/item-groups"
require "prototypes/recipe-categories"
-- (( Circuit Connector Definitions )) --
require "prototypes/circuit-connector-definitions"
-- ))
--Technology
require "prototypes/technologies/storage-tanks"
require "prototypes/technologies/asphalt"
require "prototypes/technologies/warehouses"
require "prototypes/technologies/railway"
require "prototypes/technologies/accumulators"
require "prototypes/technologies/radars"
--Pipes
require "prototypes/pipes/niobium-pipes"
--Walls
require "prototypes/wall/poorman-wood-fence"
require "prototypes/wall/wood-fence"
require "prototypes/wall/concrete-wall"
--Warehouses
require "prototypes/buildings/containers/shed"
require "prototypes/buildings/containers/storehouse"
require "prototypes/buildings/containers/warehouse"
require "prototypes/buildings/containers/deposit"
--Storage Tanks
require "prototypes/buildings/fluid-tanks/tanks-1000"
require "prototypes/buildings/fluid-tanks/tanks-1500"
require "prototypes/buildings/fluid-tanks/tanks-3000"
require "prototypes/buildings/fluid-tanks/tanks-4000"
require "prototypes/buildings/fluid-tanks/tanks-5000"
require "prototypes/buildings/fluid-tanks/tanks-7000"
require "prototypes/buildings/fluid-tanks/tanks-6500"
require "prototypes/buildings/fluid-tanks/tanks-8000"
require "prototypes/buildings/valves/check-valve"
require "prototypes/buildings/valves/overflow-valve"
require "prototypes/buildings/valves/underflow-valve"
--tank size settings check
if settings.startup["py-tank-adjust"].value then
data.raw["storage-tank"]["py-tank-3000"].fluid_box.volume = 10000
data.raw["storage-tank"]["py-tank-3000"].localised_name = {"entity-name.py-tank-3000-adjust"}
data.raw["storage-tank"]["py-tank-4000"].fluid_box.volume = 27500
data.raw["storage-tank"]["py-tank-4000"].localised_name = {"entity-name.py-tank-4000-adjust"}
data.raw["storage-tank"]["py-tank-5000"].fluid_box.volume = 65000
data.raw["storage-tank"]["py-tank-5000"].localised_name = {"entity-name.py-tank-5000-adjust"}
data.raw["storage-tank"]["py-tank-6500"].fluid_box.volume = 75000
data.raw["storage-tank"]["py-tank-6500"].localised_name = {"entity-name.py-tank-6500-adjust"}
data.raw["storage-tank"]["py-tank-8000"].fluid_box.volume = 125000
data.raw["storage-tank"]["py-tank-8000"].localised_name = {"entity-name.py-tank-8000-adjust"}
end
-- Armor
if mods["pycoalprocessing"] then
require "prototypes/equipment/armor-updates"
require "prototypes/equipment/portable-gasoline-generator"
end
--Other
require "prototypes/buildings/accumulator-mk01"
require "prototypes/buildings/accumulator-mk02"
require "prototypes/buildings/radar"
require "prototypes/buildings/megadar"
require "prototypes/buildings/barrel-machine"
require "prototypes/buildings/py-roboport-mk01"
require "prototypes/buildings/py-roboport-mk02"
require "prototypes/buildings/py-recharge-station-mk01"
require "prototypes/robots/py-construction-robot-01"
require "prototypes/robots/py-logistic-robot-01"
require "prototypes/buildings/py-roboport-construction-test"
require "prototypes/buildings/py-roboport-construction-mk02"
require "prototypes/buildings/py-roboport-construction-mk03"
require "prototypes/buildings/py-roboport-construction-mk04"
if mods["pycoalprocessing"] then
require "prototypes/buildings/mk02-locomotive"
require "prototypes/buildings/mk02-cargo-wagon"
require "prototypes/buildings/mk02-fluid-wagon"
end
--Voiding
require "prototypes/buildings/burner"
require "prototypes/buildings/sinkhole"
require "prototypes/buildings/gas-vent"
require "prototypes/tiles/functions"