Prototype/AmmoCategory: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Note 255 instance limit)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Prototype parent|PrototypeBase}}
{{Prototype parent|PrototypeBase}}
An ammo category. Each weapon has an ammo category, and can use any ammo with the same ammo category. Ammo categories can also be upgraded by technologies. Only 255 instances of this prototype may be defined.


== Basics ==
{{Prototype TOC|ammo-category}}
Prototype type: '''ammo-category'''


An ammo category. Each weapon has an ammo category, and can use any ammo with the same ammo category. Ammo categories can also be upgraded by technologies.
== Optional properties ==
 
== Properties ==
Inherits all properties from [[PrototypeBase]].
Inherits all properties from [[PrototypeBase]].


=== bonus_gui_order ===
{{Prototype property|bonus_gui_order|[[Types/Order|Order]]|""|optional=true}}
'''Type''': [[Types/Order]]
 
'''Default''': ""

Revision as of 12:55, 23 April 2021

Prototype definitions » PrototypeBase » Prototype/AmmoCategory


An ammo category. Each weapon has an ammo category, and can use any ammo with the same ammo category. Ammo categories can also be upgraded by technologies. Only 255 instances of this prototype may be defined.


Prototype/AmmoCategory — ammo-category
bonus_gui_order::Order (optional)
Inherited from PrototypeBase
name::string
type::string
localised_description::LocalisedString (optional)
localised_name::LocalisedString (optional)
order::Order (optional)

Optional properties

Inherits all properties from PrototypeBase.

bonus_gui_order

Type: Order
Default: ""