Prototype/AmmoTurret: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Basics == Extends Prototype/Turret. == Mandatory properties == This prototype inherits all the properties from Prototype/Turret. === inventory_size === '''Type'''...") |
(0.17.76 entity_info_icon_shift) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Turret}} | |||
A turret that consumes ammo items. | |||
{{Prototype TOC|ammo-turret}} | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Turret]]. | This prototype inherits all the properties from [[Prototype/Turret]]. | ||
{{Prototype property|inventory_size|[[Types/ItemStackIndex|ItemStackIndex]]}} | |||
{{Prototype property|automated_ammo_count|[[Types/ItemCountType|ItemCountType]]}} | |||
== Optional properties == | |||
{{Prototype property|entity_info_icon_shift|[[Types/vector|vector]]|optional=true}} | |||
Shift of the "alt-mode icon" relative to the turret's position. |
Latest revision as of 21:53, 11 November 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Turret » Prototype/AmmoTurret
A turret that consumes ammo items.
Mandatory properties
This prototype inherits all the properties from Prototype/Turret.
inventory_size
Type: ItemStackIndex
automated_ammo_count
Type: ItemCountType
Optional properties
entity_info_icon_shift
Type: vector
Shift of the "alt-mode icon" relative to the turret's position.