Add blueprint via mod?
-
- Fast Inserter
- Posts: 109
- Joined: Wed Aug 31, 2016 3:35 am
- Contact:
Add blueprint via mod?
I "think" it can be done, but is there any way to provide a specific blueprint to the player via a mod?
Re: Add blueprint via mod?
Code: Select all
/c log(serpent.dump(game.player.cursor_stack.get_blueprint_entities()))
Code: Select all
blueprint.set_blueprint_entities({{entity_number=...)
-
- Fast Inserter
- Posts: 109
- Joined: Wed Aug 31, 2016 3:35 am
- Contact:
Re: Add blueprint via mod?
that will be a huge mess. Can I do something with like a .dat file?
Re: Add blueprint via mod?
http://lua-api.factorio.com/latest/LuaItemStack.html
import_stack and export_stack
As well as manually building blueprints with set_/get_blueprint_entities()
import_stack and export_stack
As well as manually building blueprints with set_/get_blueprint_entities()