Code: Select all
/c game.player.character = game.player.surface.create_entity{name = "player", position = {0,0}, force = game.player.force}
Details:
- My map was created from a savegame using the "--map2scenario" commandline argument. (I only kept the blueprint.dat file though.)
- I have tried without success to copy control.lua files from other scenarios, but I was never sure that the script actually ran. I am now worried, that even if I give myself items, the silo script is not running.
- My scenario contains only a single file: blueprint.dat. If I create another scenario, this new one seems to be in freeplay mode. So theoretically blueprint.dat seems to contain the setting, but I don't know what to make out of it.