Prototype/Market: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Basics == Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from Prototype/EntityWithHealth. === picture =...") |
(1.1.51: Prototype/EntityWithOwner added) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{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. | |||
{{Prototype TOC|market}} | |||
== 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]]}} | |||
== Optional properties == | |||
{{Prototype property|allow_access_to_all_forces|[[Types/bool|bool]]|true|optional=true}} | |||
Whether all forces are allowed to open this market. |
Latest revision as of 19:27, 21 January 2022
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.