forked from AtelierAmber/LasingAround
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontrol.lua
More file actions
32 lines (31 loc) · 970 Bytes
/
Copy pathcontrol.lua
File metadata and controls
32 lines (31 loc) · 970 Bytes
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
-- Not needed in 2.0
-- script.on_configuration_changed(
-- function()
-- for redacted, theForce in pairs(game.forces) do
-- for k, v in pairs(theForce.technologies) do
-- if v.researched then
-- for k2, v2 in pairs(v.effects) do
-- if v2.recipe then
-- theForce.recipes[v2.recipe].enabled = true
-- end
-- end
-- end
-- end
-- end
-- end
-- )
remote.add_interface("LasingAround-Milestones", {
milestones_preset_addons = function()
return {
["Lasing Around"] = {
required_mods = {"LasingAround-Updated"},
milestones = {
{type="group", name="Resources"},
{type="fluid", name="helium", quantity=1},
{type="group", name="Progress"},
{type="technology", name="laser-mill", quantity=1}
}
}
}
end
})