Code: Select all
export_stack() → string
Export a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) to a string
Return value
The exported string
If an item were exported to a string or table it'd be easier to store, transfer, even copy/paste to provide an exact item (armor, item-with-entity-data, etc) and state for script code, or to show some behavior / combination in another game. A modder could probably do this all in code, but every item type and property would need to be known and safely set all of it when assigning... the game already has all (almost all?) this handled