1
0

Initial commit

This commit is contained in:
Wyrrrd
2020-04-08 10:14:31 +02:00
parent 8ad66faf37
commit cd8778eb3b
38 changed files with 1237 additions and 674 deletions
+19
View File
@@ -0,0 +1,19 @@
------------------------------------------------------------------------------------------------------------------------------------------------------
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
------------------------------------------------------------------------------------------------------------------------------------------------------