Skip to content

create_blueprint changes #31

@GH-Attila

Description

@GH-Attila

Can you adds support for station names etc.
Factorio now supports more things that can be included:

create_blueprint{surface=…, force=…, area=…, always_include_tiles=…, include_entities=…, include_modules=…, include_station_names=…, include_trains=…} → dictionary uint → LuaEntity
Sets up this blueprint using the found blueprintable entities/tiles on the surface.

Parameters
Table with the following fields:
surface :: SurfaceSpecification: Surface to create from
force :: ForceSpecification: Force to use for the creation
area :: BoundingBox: The bounding box
always_include_tiles :: boolean (optional): When true, blueprintable tiles are always included in the blueprint. When false they're only included if no entities exist in the setup area.
include_entities :: boolean (optional): When true entities are included in the blueprint. Defaults to true.
include_modules :: boolean (optional): When true, modules are included in the blueprint. Defaults to true.
include_station_names :: boolean (optional): When true, station names are included in the blueprint. Defaults to false.
include_trains :: boolean (optional): When true, trains are included in the blueprint. Defaults to false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions