Types/SpiderEnginePrototype: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.0.0)
 
(1.1.51: Prototype/EntityWithOwner added)
 
(4 intermediate revisions by the same user not shown)
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 entity prototype that is gets biters interested in attacking the spider vehicle when nobody is in it. The base game uses a [[Prototype/SimpleEntityWithForce]].
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/table|array]] of [[Types/SpiderLegSpecification|SpiderLegSpecification]]

Latest 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.