Home

SimpleEntityWithOwnerPrototype

Has a force, but unlike SimpleEntityWithForcePrototype it is only attacked if the biters get stuck on it (or if EntityWithOwnerPrototype::is_military_target set to true to make the two entity types equivalent).

Can be rotated in 4 directions. picture can be used to specify different graphics per direction.

Parent

Properties

render_layer

secondary_draw_order

Used to determine render order for entities with the same render_layer in the same position. Entities with a higher secondary_draw_order are drawn on top.

random_animation_offset

random_variation_on_create

Whether a random graphics variation is chosen when placing the entity/creating it via script/creating it via map generation. If this is false, the entity will use the first variation instead of a random one.

pictures

Takes priority over picture and animations.

picture

Takes priority over animations.

animations

lower_render_layer

lower_pictures

Loaded and drawn with all pictures, picture and animations. If graphics variation is larger than number of lower_pictures variations this layer is not drawn.

stateless_visualisation_variations

force_visibility

If the entity is not visible to a player, the player cannot select it.