Velora


A Nauvis-like moon in orbit around Gleba. The surface shows structures from a more advanced civilization.

Content
4 days ago
2.0 - 2.1
8.24K
Planets Combat Environment Manufacturing Power

g Ocean worlds

2 days ago

hey!

I have a mod that creates continent based water worlds that I can not block from leaking into velora because it shares too much with nauvis.
The generation itself works, but It would need more than a 1 tile wide gap between the water and the machine to work properly. Could it be set up so that it generates a platform that gives it a 3 tile wide area to work with? That is still very tight, but about enough to create a fully isolated factory in the middle of the sea.

https://media.discordapp.net/attachments/1441157106861342812/1577717663667454203/image.png?ex=6b119393&is=6b104213&hm=fba23f3ebdbd65178a760002fd5c0b17d7f487435dc2056b09f6500f92baa70e&format=webp&quality=lossless

2 days ago

(typo in the title, can't edit it)

2 days ago
(updated 2 days ago)

Hi. I can add that setting, but I don't understand why it's needed. Has the land filling been removed from your modpack?
In general, WSR handles building placement, not Velora.
If a particular building on a specific surface is getting in the way, you can disable its spawning via the WSR API. Alternatively, you can use the remote command to retrieve the positions of all buildings on a specific surface and add both my fill and your own fill along the perimeter.

2 days ago
(updated 2 days ago)

One quirk is that I don't let you landfill over deep seas so you can't just build bridges between continents.

Spawning it in the middle of the water is a very good feature for this. Provides a different challenge that is also very solvable with ships or undersea pipes. A larger foundation is only needed so a turbine can fit next to it to guarantee that power can be delivered. (:
I'd not want to disable it.

This is the same type of mechanic that was really good in 1.0 Freight Forwarding, and it's not even trying.

2 days ago
(updated 2 days ago)

You can still use the “remote” to set the position of my buildings on the desired surface and surround them with fill to the width you need:

local buildings = remote.call("WSR-RI", "get_surface_buildings", "nauvis")

for _, building in ipairs(buildings) do
    log(("%s (%.1f, %.1f): %d × %d tiles"):format(
        building.name,
        building.position.x,
        building.position.y,
        building.width,
        building.height
    ))
end
2 days ago

If it's absolutely necessary, I can add a custom event for building creation so you can handle it as needed

2 days ago
(updated 2 days ago)

I think I can do that, but I'd need a fuller example because I don't know when are you expecting me to call this.
I could hook up a building creation event myself for performance, but I'd not want to alter the prototype that I don't control.

https://lua-api.factorio.com/latest/prototypes/EntityPrototype.html#created_effect

2 days ago

Update WSR to 2.1.1. I've included an “example” folder in the mod; the control.lua file inside it contains exactly what you need. I hope this helps.

New response