-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata-updates.lua
25 lines (22 loc) · 1.13 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
-- Wide AAI Container Graphics Compatibility if wide-aai-containers is enabled
if mods["aai-containers"] and mods["wide-aai-chests"] and settings.startup["wide-aai-chests-enabled-by-default"].value then
require("prototypes.compatibility.wide-aai-chests.prototypes")
elseif mods["wide-aai-chests"] and settings.startup["wide-aai-chests-enabled"].value then
require("prototypes.compatibility.wide-aai-chests.prototypes")
end
-- Loads mod settings from AAI containers if wide-aai-chests is enabled
if mods["aai-containers"] and mods["wide-aai-chests"] then
if settings.startup["aai-containers-number-icons"].value then
if settings.startup["wide-aai-chests-enabled"].value or settings.startup["wide-aai-chests-enabled-by-default"].value then
require("prototypes.compatibility.aai-containers.number")
end
end
end
--Modifies recipe order for AAI containers if enabled
if mods["aai-containers"] then
require("prototypes.compatibility.aai-containers.recipes")
end
if settings.startup["easter-egg"].value then
require("prototypes.compatibility.easter-egg.easter-egg")
end
require("prototypes.surface-conditions")