Blueprint Extensions (Kux Edition)


Adds tools for updating and placing blueprints. Now with Advanced Fluid Handling and Flow Control support

Utilities
25 days ago
1.0 - 2.0
8.28K
Fluids Blueprints

g help~

a month ago

There is an extra surface_of_holding in the other column of my remote view
I can't remove it, I searched all the mod codes and found it was generated within this mod.

--- Create or return a dummy storage surface
function Util.get_dummy_surface()
if game.surfaces.surface_of_holding then
return game.surfaces.surface_of_holding
end

local none = { frequency = "none" }
local autoplace_controls = {}
for k,_ in pairs(prototypes.autoplace_control) do
    autoplace_controls[k] = none
end
return game.create_surface(
    'surface_of_holding',
    { width=1, height=1, autoplace_controls = autoplace_controls }
)

end

a month ago

yes and what is your question?

a month ago

I can't remove it

a month ago

yes and what is your question?

a month ago

Yes, I understood that the first time. but I don't know what you want to know because you haven't asked anything yet.

a month ago

My question.............
I would like to know how to remove the surface_of_holding surface in the game. Thank you

a month ago

Why do you want to remove it? The surfacas are there for a reason. removing a surface can cause unwanted side effects and crashes.

If you know what you're doing: Write a mod with a Lua script or use a mod that can already do this. But it is not a good idea to simply remove a surface!

a month ago

My English is very poor, I rely on a translator for communication.
Sorry for any possible offense.
I don't know how this surface was created in the game, so I can't delete it.
I have found a solution.

a month ago

Which solution?
You shouldn't just delete it, it's there for a reason!

BTW I also use Deepl to translate

a month ago
(updated a month ago)

game.delete_surface("surface_of_holding")
Good thing I have the archive from before I deleted it.
Same Deepl
Well, now we know why.
Why delete it?
Because I didn't recognise it and clicked in and it was pitch black. I don't know what it does if you don't explain it.
If it does something, is it possible to add translation files to the locale? Similar factorissimo 3

a month ago

surface ar internal objects, and they are not indented to be deleted by a user! no matter which one and no matter if they have a description or not. it's not a good idea to delete a surface just because it doesn't fit your needs.
the remote view should only show planets, may be this is still being implemented

a month ago

It's probably a personal habit.
It's not my language and not knowing what it does stands out in the game
If you change the name to
blueprint_extensions_do_not_delete

Then I reckon I wouldn't delete it

a month ago
(updated a month ago)

you can also turn it in the wrong place, but that's your risk. this surface will be re-created automatically next time.
but if you're already dealing with it, why don't you just try to hide it instead of deleting it?

New response