Factorio Prototype DocsVersion 2.0.28

CranePart :: struct

Properties

orientation_shift optional :: float

Angle in radian, which is internally converted to a RealOrientation.

Angle in radian, which is internally converted to a RealOrientation.

is_contractible_by_cropping optional :: bool
should_scale_for_perspective optional :: bool
scale_to_fit_model optional :: bool
allow_sprite_rotation optional :: bool
snap_start optional :: float
snap_end optional :: float
snap_end_arm_extent_multiplier optional :: float
name optional :: string
dying_effect optional :: CranePartDyingEffect
relative_position optional :: Vector3D
relative_position_grappler optional :: Vector3D
static_length optional :: Vector3D
extendable_length optional :: Vector3D
static_length_grappler optional :: Vector3D
extendable_length_grappler optional :: Vector3D
sprite optional :: Sprite
rotated_sprite optional :: RotatedSprite

Only loaded if sprite is not defined.

Only loaded if sprite is not defined.

sprite_shadow optional :: Sprite
rotated_sprite_shadow optional :: RotatedSprite

Only loaded if sprite_shadow is not defined.

Only loaded if sprite_shadow is not defined.

sprite_reflection optional :: Sprite
rotated_sprite_reflection optional :: RotatedSprite

Only loaded if sprite_reflection is not defined.

Only loaded if sprite_reflection is not defined.

layer optional :: int8

Properties

orientation_shift :: float optional

Default: 0

Angle in radian, which is internally converted to a RealOrientation.

is_contractible_by_cropping :: bool optional

Default: false

should_scale_for_perspective :: bool optional

Default: true

scale_to_fit_model :: bool optional

Default: false

allow_sprite_rotation :: bool optional

Default: true

snap_start :: float optional

Default: 0

snap_end :: float optional

Default: 0

snap_end_arm_extent_multiplier :: float optional

Default: 0

name :: string optional

Default: ""

dying_effect :: CranePartDyingEffect optional

relative_position :: Vector3D optional

relative_position_grappler :: Vector3D optional

static_length :: Vector3D optional

extendable_length :: Vector3D optional

static_length_grappler :: Vector3D optional

extendable_length_grappler :: Vector3D optional

sprite :: Sprite optional

rotated_sprite :: RotatedSprite optional

Only loaded if sprite is not defined.

sprite_shadow :: Sprite optional

rotated_sprite_shadow :: RotatedSprite optional

Only loaded if sprite_shadow is not defined.

sprite_reflection :: Sprite optional

rotated_sprite_reflection :: RotatedSprite optional

Only loaded if sprite_reflection is not defined.

layer :: int8 optional

Default: 0

Prototypes

Types

Defines