1
0
This repository has been archived on 2023-04-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
IndustrialDisplayPlates-Arc…/data-updates.lua
2020-05-28 16:11:03 +02:00

24 lines
1.1 KiB
Lua

------------------------------------------------------------------------------------------------------------------------------------------------------
local DID = require("globals")
------------------------------------------------------------------------------------------------------------------------------------------------------
for display,displaydata in pairs(DID.displays) do
if mods["IndustrialRevolution"] then
if displaydata.IR_unlock and data.raw.technology[displaydata.IR_unlock] then
table.insert(data.raw.technology[displaydata.IR_unlock].effects, {type = "unlock-recipe", recipe = display})
end
else
if displaydata.unlock and data.raw.technology[displaydata.unlock] then
table.insert(data.raw.technology[displaydata.unlock].effects, {type = "unlock-recipe", recipe = display})
end
end
end
if mods ["Dectorio"] then
if data.raw["item-group"]["dectorio"] then
data.raw["item-subgroup"]["display-plates"].group = "dectorio"
end
end
------------------------------------------------------------------------------------------------------------------------------------------------------