Factorio Prototype DocsVersion 2.1.7

PumpWagonConnectionGraphics - Prototype Docs

PumpWagonConnectionGraphics :: struct new

Properties

base_animation_finished_at_progressnew optional :: double

Value between 0 and 1 (both exclusive). [...]

Value between 0 and 1 (both exclusive). [...]

clamp_animation_starts_at_progressnew optional :: double

Value between 0 and 1 (both exclusive). [...]

Value between 0 and 1 (both exclusive). [...]

height_diff_to_wagonnew optional :: float
part2_crop_adjustmentnew optional :: float

Adjusts where the sprites will be cropped

Adjusts where the sprites will be cropped

part2_shadow_crop_adjustmentnew optional :: float

Adjusts where the sprites will be cropped

Adjusts where the sprites will be cropped

clamp_y_shiftnew optional :: float
basenew optional :: BasePumpWagonConnectionAnimations
part_1new optional :: RotatedSprite

Rotating top part.

Rotating top part.

part_1_shadownew optional :: RotatedSprite
part_2new optional :: RotatedSprite

Rotating arm.

Rotating arm.

part_2_shadownew optional :: RotatedSprite
suction_clampnew optional :: Animation
suction_clamp_shadownew optional :: Animation
part1_to_2_shiftnew optional :: Vector
top_pivot_shiftnew optional :: PumpWagonConnectionShift4Way

Relative projected render position of part_1 to the parent pump position.

Relative projected render position of part_1 to the parent pump position.

resting_position_shiftnew optional :: PumpWagonConnectionShift4Way

Projected render rest position of suction_clamp relative to the parent pump position.

Projected render rest position of suction_clamp relative to the parent pump position.

shadow_shiftnew optional :: Vector

Properties

base_animation_finished_at_progress :: double optional new

Default: 0.5

Value between 0 and 1 (both exclusive). The base animation will play up until the connecting progress reaches the value. Needs to be less than clamp_animation_starts_at_progress. The arm (part_1 and part_2) will rotate and extend in the time in between.

clamp_animation_starts_at_progress :: double optional new

Default: 0.75

Value between 0 and 1 (both exclusive). The clamp animation will play up starting when the connecting progress reaches the value. Needs to be larger than base_animation_finished_at_progress. The arm (part_1 and part_2) will rotate and extend in the time in between.

height_diff_to_wagon :: float optional new

Default: 0.15

part2_crop_adjustment :: float optional new

Default: -0.05

Adjusts where the sprites will be cropped

part2_shadow_crop_adjustment :: float optional new

Default: -0.05

Adjusts where the sprites will be cropped

clamp_y_shift :: float optional new

Default: -0.375

base :: BasePumpWagonConnectionAnimations optional new

part_1 :: RotatedSprite optional new

Rotating top part.

part_1_shadow :: RotatedSprite optional new

part_2 :: RotatedSprite optional new

Rotating arm.

part_2_shadow :: RotatedSprite optional new

suction_clamp :: Animation optional new

suction_clamp_shadow :: Animation optional new

part1_to_2_shift :: Vector optional new

Default: {0, 0}

top_pivot_shift :: PumpWagonConnectionShift4Way optional new

Relative projected render position of part_1 to the parent pump position.

resting_position_shift :: PumpWagonConnectionShift4Way optional new

Projected render rest position of suction_clamp relative to the parent pump position.

shadow_shift :: Vector optional new

Default: {0.8, 1.55}

Fulltext search

Prototypes

Types

Defines

Fulltext search for