-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdata.lua
34 lines (30 loc) · 943 Bytes
/
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
require "prototypes.categories.recipe-category"
require "prototypes.item.item-groups"
require "prototypes.recipe.furnace-recipe"
require "prototypes.technology.technology"
local branch = "vanilla"
if mods["space-age"] then
branch = "spaceage"
elseif mods["Random_Utilities"] then
branch = "ru"
elseif mods["5dim_transport"] then
branch = "_5dimt"
elseif mods["UltimateBelts"] then
branch = "ub"
elseif mods["Krastorio2"] then
branch = "krastorio"
elseif mods["boblogistics"] then
branch = "boblogistics"
elseif mods["FactorioExtended-Plus-Transport"] then
branch = "fep"
elseif mods["leighzeruraniuminnovations"] then
branch = "leiz"
end
require ("prototypes.entity." .. branch)
require ("prototypes.item." .. branch)
require ("prototypes.recipe." .. branch)
require ("prototypes.technology." .. branch)
if mods["deadlock-beltboxes-loaders"] then
require "prototypes.recipe.dbl"
require "prototypes.technology.dbl"
end