Types/SpiderEnginePrototype: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(→‎military_target: must be simple entity with force)
(1.1.51: Prototype/EntityWithOwner added)
Line 2: Line 2:


== Mandatory properties ==
== Mandatory properties ==
=== legs ===
'''Type''': [[Types/SpiderLegSpecification|SpiderLegSpecification]] or [[Types/table|array]] of [[Types/SpiderLegSpecification|SpiderLegSpecification]]
== Optional properties ==
=== military_target ===
=== military_target ===
'''Type''': [[Types/string|string]]
'''Type''': [[Types/string|string]]


The name of the simple entity with force prototype that gets enemies interested in attacking the spider vehicle when nobody is in it.
The string content is irrelevant, if it is present at all then the [[Prototype/SpiderVehicle]] is considered to have the [[Prototype/EntityWithOwner#is_military_target]] set to true. This gets enemies interested in attacking the spider vehicle even when nobody is in it.
 
=== legs ===
'''Type''': [[Types/SpiderLegSpecification|SpiderLegSpecification]] or [[Types/table|array]] of [[Types/SpiderLegSpecification|SpiderLegSpecification]]

Revision as of 19:26, 21 January 2022

Used by Prototype/SpiderVehicle.

Mandatory properties

legs

Type: SpiderLegSpecification or array of SpiderLegSpecification

Optional properties

military_target

Type: string

The string content is irrelevant, if it is present at all then the Prototype/SpiderVehicle is considered to have the Prototype/EntityWithOwner#is_military_target set to true. This gets enemies interested in attacking the spider vehicle even when nobody is in it.