Robot World


Ability to customize the performance of your robots, such as speed, range, battery size, and more. Setting to use robots early. Setting to enable quick start mode. New robotics technologies. And more!

Overhaul
5 years ago
0.16 - 0.17
75

b early recipe enables don't work: they need to be applied in the "control" phase

3 years ago

G'day. The early recipe enable switches don't work, and I dug in to figure out why. They do set the enabled flag to true on the prototypes, but that doesn't cause them to be active in the game.

To do that you should respond to the on_player_created event, and set game.players[{id}].force.recipes[{name}].enabled = true -- that'll make it available to the player, regardless of technologies researched.

New response