-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
210 lines (202 loc) · 7.51 KB
/
config.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
function calculate_task_item_multiplayer(number_of_tasks)
return math.ceil(10 / number_of_tasks)
end
function setup_config()
global.ticks_to_generate_entities = 20
global.time_between_rounds = 60*60
global.time_before_round_end = 60*60*2
global.minimum_teams = 2
global.players_per_team = 1
global.points_per_win = 20
global.recent_round_count = 3
global.start_round_tick = 60 * 60 * 5 --first round starts in 5 minutes
global.distance_between_areas = 6
global.afk_time = 60*60*3.5 -- 3 and a half minutes
global.inventory_probabilities =
{
{probability = 4, value = "small"},
{probability = 12, value = "medium"},
{probability = 8, value = "large"}
}
global.equipment_probabilities =
{
{probability = 6, value = "none"},
{probability = 4, value = "small"}
}
global.challange_type_probabilities =
{
{probability = 22, value = "production"},
{probability = 14, value = "shopping_list"}
}
global.max_count_of_production_tasks = 3
-- With one tasks, the result amount is from 2*count up to 10*count
-- With two tasks, the result amount is from 2*count up to 5*count
-- With three tasks, the result amount is from 2*count up to 3*count
global.item_list =
{
{name = "accumulator", count = 400, input = "battery"},
{name = "accumulator", count = 50, input = "sulfur"},
{name = "advanced-circuit", count = 400, input = "plastic-bar"},
{name = "advanced-circuit", count = 150, input = "petroleum-gas-barrel"},
{name = "arithmetic-combinator", count = 50},
{name = "assembling-machine-1", count = 50},
{name = "assembling-machine-2", count = 50},
{name = "battery", count = 150, input = "sulfur"},
{name = "big-electric-pole", count = 25},
{name = "boiler", count = 100},
{name = "burner-mining-drill", count = 100},
{name = "car", count = 10},
{name = "chemical-plant", count = 20},
{name = "concrete", count = 500},
{name = "copper-cable", count = 1000},
{name = "copper-cable", count = 2000, input = "copper-plate"},
{name = "copper-plate", count = 400},
{name = "defender-capsule", count = 50},
{name = "electric-furnace", count = 25, input = "advanced-circuit"},
{name = "electric-mining-drill", count = 50},
{name = "electronic-circuit", count = 150},
{name = "empty-barrel", count = 150},
{name = "engine-unit", count = 25},
{name = "engine-unit", count = 50, input = "steel-plate"},
{name = "explosives", count = 150, input = "sulfur"},
{name = "fast-inserter", count = 150},
{name = "fast-splitter", count = 25},
{name = "fast-transport-belt", count = 100},
{name = "fast-underground-belt", count = 25},
{name = "filter-inserter", count = 50},
{name = "firearm-magazine", count = 200},
{name = "gate", count = 50},
{name = "green-wire", count = 200},
{name = "gun-turret", count = 25},
{name = "heavy-armor", count = 10},
{name = "iron-axe", count = 50},
{name = "iron-gear-wheel", count = 200},
{name = "iron-plate", count = 400},
{name = "iron-stick", count = 1000},
{name = "lab", count = 50},
{name = "landfill", count = 1500, input = "stone"},
{name = "landfill", count = 50},
{name = "light-armor", count = 50},
{name = "locomotive", count = 2},
{name = "long-handed-inserter", count = 150},
{name = "medium-electric-pole", count = 100},
{name = "piercing-rounds-magazine", count = 50},
{name = "pipe", count = 300},
{name = "plastic-bar", count = 300, input = "crude-oil-barrel"},
{name = "pump", count = 150, input = "engine-unit"},
{name = "radar", count = 50},
{name = "rail-signal", count = 100},
{name = "rail", count = 100},
{name = "red-wire", count = 200},
{name = "repair-pack", count = 250},
{name = "roboport", count = 5, input = "advanced-circuit"},
{name = "rocket-fuel", count = 100, input = "light-oil-barrel"},
{name = "shotgun-shell", count = 200},
{name = "small-lamp", count = 150},
{name = "solar-panel", count = 25},
{name = "stack-inserter", count = 50, input = "advanced-circuit"},
{name = "stack-inserter", count = 30, input = "plastic-bar"},
{name = "splitter", count = 50},
{name = "steam-engine", count = 50},
{name = "steel-axe", count = 25},
{name = "steel-chest", count = 25},
{name = "steel-furnace", count = 25},
{name = "steel-plate", count = 50},
{name = "stone-brick", count = 200},
{name = "stone-furnace", count = 100},
{name = "stone-wall", count = 100},
{name = "train-stop", count = 50},
{name = "train-stop", count = 50},
{name = "transport-belt", count = 250},
{name = "water-barrel", count = 100},
}
global.force_list =
{
{name = "blue", color = {0.2, 0.2, 0.8, 0.7}},
{name = "red", color = {0.9, 0.1, 0.1, 0.8}},
}
global.starting_inventories =
{
["small"] =
{
{name = "iron-plate", count = 20},
{name = "copper-plate", count = 10},
{name = "steel-axe", count=2},
{name = "transport-belt", count=100},
{name = "inserter", count=20},
{name = "small-electric-pole", count=40},
{name = "burner-mining-drill", count=16},
{name = "stone-furnace", count=12},
{name = "burner-inserter", count=30},
{name = "assembling-machine-1", count=8},
{name = "electric-mining-drill", count=2},
},
["medium"] =
{
{name = "iron-plate", count = 50},
{name = "iron-gear-wheel", count = 50},
{name = "copper-plate", count = 50},
{name = "electronic-circuit", count = 50},
{name = "transport-belt", count = 150},
{name = "inserter", count = 60},
{name = "small-electric-pole", count=40},
{name = "fast-inserter", count = 20},
{name = "burner-inserter", count=50},
{name = "burner-mining-drill", count=20},
{name = "electric-mining-drill", count=8},
{name = "stone-furnace", count=20},
{name = "steel-furnace", count=8},
{name = "speed-module-2", count = 8},
{name = "assembling-machine-1", count=20},
{name = "assembling-machine-2", count=8},
{name = "steel-axe", count=2},
},
["large"] =
{
{name = "iron-plate", count = 50},
{name = "copper-plate", count = 50},
{name = "iron-gear-wheel", count = 50},
{name = "transport-belt", count = 250},
{name = "inserter", count = 50},
{name = "burner-inserter", count=50},
{name = "small-electric-pole", count=50},
{name = "burner-mining-drill", count=50},
{name = "electric-mining-drill", count=20},
{name = "stone-furnace", count=35},
{name = "steel-furnace", count=20},
{name = "electric-furnace", count=8},
{name = "steel-axe", count=3},
{name = "assembling-machine-1", count = 50},
{name = "assembling-machine-2", count = 20},
{name = "assembling-machine-3", count = 8},
{name = "speed-module-3", count = 8},
{name = "speed-module-2", count = 20},
{name = "electronic-circuit", count = 50},
{name = "fast-inserter", count = 30},
{name = "medium-electric-pole", count = 30},
{name = "substation", count = 8},
}
}
global.disabled_items =
{
"submachine-gun",
"pistol",
"shotgun",
"combat-shotgun",
"rocket-launcher",
"grenade",
"land-mine",
"poison-capsule",
"slowdown-capsule",
"flamethrower",
"distractor-capsule",
"destroyer-capsule",
"rocket",
"flamethrower-ammo",
"laser-turret",
"night-vision-equipment",
"solar-panel-equipment",
"energy-shield-equipment",
"battery-equipment"
}
end