dewiniaid / BlueprintExtensions

Useful blueprinting tools for Factorio
Other
4 stars 8 forks source link

create_blueprint changes #31

Open GH-Attila opened 4 years ago

GH-Attila commented 4 years ago

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.