No Underground Pipes on Vulcanus


The thin crust and molten surface of Vulcanus prevents the placement of underground pipes on Vulcanus to add design difficulty to an otherwise simple planet. Just Updated for 2.1

Tweaks
6 hours ago
2.0 - 2.1
176
Logistics Fluids

b Surface conditions

2 days ago

Hi
Hope you're well

Having Maraxis mod installed, I can't place underground pipes there.
You defined surface_conditions "pressure" < 2000 meaning that every planet with a higher pressure will be broken. . .

2 days ago

And a small tip for you ;)

Instead of using "data:extend" and have to rewrite the whole entity (that leads to problem like the one you fixed about freezing on Aquilo), you can use:

data.raw["pipe-to-ground"]["pipe-to-ground"].surface_conditions =
{
{
property = "pressure",
min = 0,
max = 2000
}
}

2 days ago

If you don't change any things else with this entity, that is way faster :)

2 days ago

I tried a few things and I found a solution.
You can code:

data:extend({
{
type = "surface-property",
name = "nounder",
default_value = 0
}
})

data.raw["planet"]["vulcanus"].surface_properties =
{
["day-night-cycle"] = 1.5 * minute,
["magnetic-field"] = 25,
["solar-power"] = 400,
pressure = 4000,
gravity = 40,
nounder = 1
}

data.raw["pipe-to-ground"]["pipe-to-ground"].surface_conditions =
{
{
property = "nounder",
max = 0
}
}

2 days ago

It makes a new property, with 0 as default value.
Then adds it to vulcanus with a value of 1.
And finally makes underground pipes buildable only where it's 0.

You just have then to add a locale for the in game display and tada !

2 days ago

Hope you can solve the issue, both in 2.0 and 2.1 :)
Sorry for the multiple messages and have a nice day.

16 hours ago

Look at you go! yeah I'll make the updates tonight :) I've been scaling up on Vulcanus recently and its been a blast with this mod. Vulcanus factories get massive, and having fluid factories with trains and pump logic and barrels all going. its really really working for me. Hows your experience going for you?

15 hours ago
(updated 15 hours ago)

Well i implemented that code into the entities.lua and it seems to have worked! I don't really understand the locale thing though. I'm not very good at coding. I'll update the mod here for you to see what else can be done :)

11 hours ago

I'll give you a feeback soon.

I'll test it later today. Do you have a Discord ?
It is simpler to help you with the locale with images of the steps.

Otherwise I can try to explain it here.

Username on Discord: cubickman_

10 hours ago

I'lll add you soon

New response