But testing this in-game:limitations :: array of string [Read-only]
An array of recipe names this module is allowed to work with.
Can only be used if this is ModuleItem
Code: Select all
/c game.player.print(serpent.line(game.item_prototypes["productivity-module-2"].limitations))

These are values mapped to sequential integers, pretty much the opposite of an array, sequential integers mapped to values. I was surprised by this strange format.
Are the docs wrong or is there a bug in the game?