Types/ClusterTriggerItem: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Created page with "Extends Types/TriggerItem. == Mandatory properties == Inherits all properties from Types/TriggerItem. === cluster_count === '''Type''': Types/double Must be at...")
 
(Updated styling of prototype doc migration note)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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/types/ClusterTriggerItem.html https://lua-api.factorio.com/latest/types/ClusterTriggerItem.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>
Extends [[Types/TriggerItem]].
Extends [[Types/TriggerItem]].


Line 8: Line 14:


Must be at least 2.
Must be at least 2.
== Optional properties ==


=== distance ===
=== distance ===
'''Type''': [[Types/float]]
'''Type''': [[Types/float]]
== Optional properties ==


=== distance_deviation ===
=== distance_deviation ===

Revision as of 10:42, 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/types/ClusterTriggerItem.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.


Extends Types/TriggerItem.

Mandatory properties

Inherits all properties from Types/TriggerItem.

cluster_count

Type: Types/double

Must be at least 2.

distance

Type: Types/float

Optional properties

distance_deviation

Type: Types/float

Default: 0