Merge branch 'master' of https://github.com/Wyrrrd/IndustrialDisplayPlates
This commit is contained in:
1
data.lua
1
data.lua
@@ -54,6 +54,7 @@ for display,displaydata in pairs(DID.displays) do
|
|||||||
icon_size = DID.icon_size,
|
icon_size = DID.icon_size,
|
||||||
icon_mipmaps = DID.icon_mipmaps,
|
icon_mipmaps = DID.icon_mipmaps,
|
||||||
corpse = "small-remnants",
|
corpse = "small-remnants",
|
||||||
|
fast_replaceable_group = "display",
|
||||||
minable = {
|
minable = {
|
||||||
mining_time = 0.2,
|
mining_time = 0.2,
|
||||||
result = display,
|
result = display,
|
||||||
|
|||||||
11
migrations/steel-display.lua
Normal file
11
migrations/steel-display.lua
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
for index, force in pairs(game.forces) do
|
||||||
|
local technologies = force.technologies
|
||||||
|
local recipes = force.recipes
|
||||||
|
|
||||||
|
if technologies["steel-processing"].researched then
|
||||||
|
recipes["steel-display-small"].enabled = true
|
||||||
|
recipes["steel-display-medium"].enabled = true
|
||||||
|
recipes["steel-display"].enabled = true
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user