[kovarex] [1.1.0] Simulation create_entities_from_blueprint_string lacks modules

This subforum contains all the issues which we already resolved.
Post Reply
PFQNiet
Filter Inserter
Filter Inserter
Posts: 289
Joined: Sat Sep 05, 2020 7:48 pm
Contact:

[kovarex] [1.1.0] Simulation create_entities_from_blueprint_string lacks modules

Post by PFQNiet »

I'm messing around with modding the tips/tricks simulations, and I noticed that even though my blueprint includes modules, building that blueprint with:

Code: Select all

game.surfaces[1].create_entities_from_blueprint_string{
  string = "0eJx9kNFqwzAMRf/lPtuQNHSjfuxvjFGcRHQCWzGRUxpC/n12Osae9iKwpHPvlTf0YaE0s2S4DTxMonAfG5Tv4kPt5TURHDhThIH4WF9elWIfWO42+uGLhewJuwHLSE+4dv80IMmcmV56/3EGadKyOkn1K3hjsJZa9EaeaXhNmh/F9SZL7GkuLuZIpZXSRDTaOI1LINvBnQpcUD6ya/Qh2OBjQg12nOL+XG7woFkPl/euac/dW3tuLwbB91T+ANffzX3/BvfuZdw=",
  position = {0,0}
}
Does not put modules in the buildings. Of course it's a simple enough workaround to just add the modules separately, but it would be nice if the function actually did create the blueprint as specified.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [1.1.0] Simulation create_entities_from_blueprint_string lacks modules

Post by kovarex »

Thank you for the report, it is now fixed for the next release.

Post Reply

Return to “Resolved Problems and Bugs”