forked from cacklingfiend/bzgas2
Fix early game technologies with bzfoundry
This commit is contained in:
parent
3ba05c70c2
commit
c3c414f36a
1 changed files with 6 additions and 1 deletions
|
|
@ -1,5 +1,10 @@
|
|||
local util = require("data-util");
|
||||
|
||||
local prereq = {"basic-chemistry"}
|
||||
if mods["bzfoundry2"] then
|
||||
table.insert(prereq, "foundry")
|
||||
end
|
||||
|
||||
data:extend({
|
||||
{
|
||||
type = "item",
|
||||
|
|
@ -30,7 +35,7 @@ data:extend({
|
|||
name = "bakelite",
|
||||
icon = "__bzgas2__/graphics/technology/bakelite.png",
|
||||
icon_size = 256,
|
||||
prerequisites = {"basic-chemistry"},
|
||||
prerequisites = prereq,
|
||||
effects = {
|
||||
{type = "unlock-recipe", recipe = "bakelite"},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue