First the given example:
Code: Select all
game.player.print(game.player.selected.recipe.name) -- prints the recipe of the selected assembling machine
I have to use game.player.controller.getselected() instead of game.player.selected
But still then recipe nor recipe.name are valid keys.
So is it a bug or just me doing something stupid?!