Factorio Prototype DocsVersion 2.0.15

PrototypeStrafeSettings :: struct

Used by UnitPrototype.

Properties

max_distance optional :: double

Must be >= 0.

Must be >= 0.

ideal_distance optional :: double

Must be between 0 and max_distance inclusive.

Must be between 0 and max_distance inclusive.

ideal_distance_tolerance optional :: double

Must be >= 0.

Must be >= 0.

ideal_distance_variance optional :: double

Must be >= 0.

Must be >= 0.

ideal_distance_importance optional :: float

Must be between between 0 and 1 inclusive.

Must be between between 0 and 1 inclusive.

ideal_distance_importance_variance optional :: float

Must be between 0 and ideal_distance_importance inclusive.

Must be between 0 and ideal_distance_importance inclusive.

clockwise_chance optional :: float

Must be between 0 and 1 inclusive.

Must be between 0 and 1 inclusive.

face_target optional :: bool

Properties

max_distance :: double optional

Default: 20

Must be >= 0.

ideal_distance :: double optional

Default: 10

Must be between 0 and max_distance inclusive.

ideal_distance_tolerance :: double optional

Default: 0.5

Must be >= 0.

ideal_distance_variance :: double optional

Default: 1

Must be >= 0.

ideal_distance_importance :: float optional

Default: 0.5

Must be between between 0 and 1 inclusive.

ideal_distance_importance_variance :: float optional

Default: 0.1

Must be between 0 and ideal_distance_importance inclusive.

clockwise_chance :: float optional

Default: 0.5

Must be between 0 and 1 inclusive.

face_target :: bool optional

Default: false

Prototypes

Types

Defines