Prototype/Market
The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/MarketPrototype.html
This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Market
Offers can be added to a market and they are shown when opening the entity. Offers allow to spend items to get research bonuses or items.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
picture
Type: Sprite
Optional properties
allow_access_to_all_forces
Type: bool
Default: true
Whether all forces are allowed to open this market.