Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# TurretBaseVisualisation - Prototype Docs

## TurretBaseVisualisation :: struct

## Properties

- default
- sorted

render_layer optional | :: RenderLayer |
secondary_draw_order optional | :: int8 |
enabled_states optional | :: array[TurretState] | If not defined, visualisation will be drawn in all states.
If not defined, visualisation will be drawn in all states.
draw_when_has_energy optional | :: boolean |
draw_when_no_energy optional | :: boolean |
draw_when_has_ammo optional | :: boolean |
draw_when_no_ammo optional | :: boolean |
draw_when_frozen optional | :: boolean |
draw_when_not_frozen optional | :: boolean |
animation | :: Animation4Way |

animation | :: Animation4Way |
draw_when_frozen optional | :: boolean |
draw_when_has_ammo optional | :: boolean |
draw_when_has_energy optional | :: boolean |
draw_when_no_ammo optional | :: boolean |
draw_when_no_energy optional | :: boolean |
draw_when_not_frozen optional | :: boolean |
enabled_states optional | :: array[TurretState] | If not defined, visualisation will be drawn in all states.
If not defined, visualisation will be drawn in all states.
render_layer optional | :: RenderLayer |
secondary_draw_order optional | :: int8 |

## Properties

### render_layer :: RenderLayer optional

Default: `"lower-object"`

### secondary_draw_order :: int8 optional

Default: `0`

### enabled_states :: array[TurretState] optional

If not defined, visualisation will be drawn in all states.

### draw_when_has_energy :: boolean optional

Default: `true`

### draw_when_no_energy :: boolean optional

Default: `true`

### draw_when_has_ammo :: boolean optional

Default: `true`

### draw_when_no_ammo :: boolean optional

Default: `true`

### draw_when_frozen :: boolean optional

Default: `true`

### draw_when_not_frozen :: boolean optional

Default: `true`

### animation :: Animation4Way

Type used in

- TurretGraphicsSet::base_visualisation