Prototype/AmmoCategory: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page.)
 
(Note 255 instance limit)
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Basics ==
{{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.
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.


== Properties ==
{{Prototype TOC|ammo-category}}
=== type ===
'''Type''': [[Types/string]]


Must be "ammo-category".
== Optional properties ==
Inherits all properties from [[PrototypeBase]].


=== name ===
{{Prototype property|bonus_gui_order|[[Types/Order|Order]]|""|optional=true}}
'''Type''': [[Types/string]]
 
The unique name of this ammo category.

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: ""