Skip to content

Commit

Permalink
compat: Added compatibility with Tenebris-prime and other forks of Te…
Browse files Browse the repository at this point in the history
…nebris. (#237)
  • Loading branch information
nicholasgower authored Feb 11, 2025
1 parent 012e701 commit 998f149
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions info.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"SpidertronPatrols >= 2.5.5",
"FluidMustFlow >= 1.4.2",
"(?) tenebris",
"(?) tenebris-prime",
"(?) SchallTransportGroup",
"! Land-Pump",
"! no-more-gambling",
Expand Down
3 changes: 2 additions & 1 deletion prototypes/planet/space-location.lua
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ data:extend {{
asteroid_spawn_definitions = asteroid_util.spawn_definitions(asteroid_util.gleba_aquilo)
}}

if mods.tenebris then
if data.raw["planet"]["tenebris"] then
data:extend {{
type = "space-connection",
name = "maraxsis-tenebris",
Expand All @@ -106,3 +106,4 @@ if mods.tenebris then
asteroid_spawn_definitions = asteroid_util.spawn_definitions(asteroid_util.gleba_aquilo)
}}
end

0 comments on commit 998f149

Please sign in to comment.