Prototype/Market: Difference between revisions
(Converted to SMW format) |
(Updated styling of prototype doc migration note) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/ | <div class="stub"><p>'''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 https://lua-api.factorio.com/latest/prototypes/MarketPrototype.html] | ||
</p><p>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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div> | |||
{{Prototype parent|Prototype/EntityWithOwner}} | |||
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. | 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. | ||
Line 5: | Line 11: | ||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/ | This prototype inherits all the properties from [[Prototype/EntityWithOwner]]. | ||
{{Prototype property|picture|[[Types/Sprite|Sprite]]}} | {{Prototype property|picture|[[Types/Sprite|Sprite]]}} |
Latest revision as of 10:43, 21 September 2023
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.