Untitled
unknown
plain_text
2 months ago
696 B
4
Indexable
local surface_name = "gleba" if not game.surfaces[surface_name] then local new_surface = game.create_surface(surface_name, { seed = 12345, -- You can adjust this to modify terrain generation width = 2048, -- Adjust size if needed height = 2048, water = 0.5, -- Controls water level terrain_segmentation = 1, -- Affects smoothness of terrain features autoplace_controls = { ["trees"] = { frequency = 3, size = 1, richness = 1 }, ["enemy-base"] = { frequency = 1, size = 1, richness = 1 }, } }) game.print("Created Gleba surface: " .. surface_name) else game.print("Gleba surface already exists!") end
Editor is loading...
Leave a Comment