Skip to content

Commit 5ddd697

Browse files
author
notnotmelon
committed
compat: Added compatibility with "space-is-fake". Resolves #265
1 parent f2848b0 commit 5ddd697

6 files changed

Lines changed: 6 additions & 2 deletions

File tree

prototypes/borehole-pump.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
-- if you don't have space age, this thing would just produce water
22
if not mods["space-age"] then return end
3+
if mods["space-is-fake"] then return end
34

45
-- py basically already has this feature
56
if mods.pypetroleumhandling then return end

prototypes/ceiling.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ for _, prototype in pairs(banned_from_being_placed_indoors) do
2525
end
2626

2727
if not mods["space-age"] then return end
28+
if mods["space-is-fake"] then return end
2829

2930
for _, entity in pairs(data.raw["solar-panel"]) do
3031
entity.surface_conditions = entity.surface_conditions or {}

prototypes/greenhouse.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
if not mods["space-age"] then return end
2+
if mods["space-is-fake"] then return end
23

34
local F = "__factorissimo-2-notnotmelon__"
45
local pf = "p-q-"

prototypes/recipe.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ if settings.startup["Factorissimo2-space-architecture"].value then
119119
data.raw.recipe["space-factory-1"].category = "space-manufacturing"
120120
data.raw.recipe["space-factory-2"].category = "space-manufacturing"
121121
data.raw.recipe["space-factory-3"].category = "space-manufacturing"
122-
elseif mods["space-age"] then
122+
elseif mods["space-age"] and not mods["space-is-fake"] then
123123
data.raw.recipe["space-factory-1"].ingredients = {
124124
{type = "item", name = "factory-1", amount = 1},
125125
{type = "item", name = "low-density-structure", amount = 500},

prototypes/space-age-rebalance.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
-- t3 factory buildings are unlocked on vulcanus now!
33

44
if not mods["space-age"] then return end
5+
if mods["space-is-fake"] then return end
56
if settings.startup["Factorissimo2-cheap-research"].value then return end
67

78
data.raw.technology["factory-architecture-t2"].unit = {

prototypes/technology.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if (mods["space-exploration"] or mods["space-age"]) and settings.startup["Factor
100100
prerequisites[#prerequisites + 1] = "se-aeroframe-pole"
101101
prerequisites[#prerequisites + 1] = "se-space-solar-panel"
102102
prerequisites[#prerequisites + 1] = "se-space-platform-scaffold"
103-
elseif mods["space-age"] then
103+
elseif mods["space-age"] and not mods["space-is-fake"] then
104104
unit = {
105105
count = 5000,
106106
ingredients = {

0 commit comments

Comments
 (0)