Skip to content
factorio-draftsman 3.3.1 documentation
variation
Initializing search
    factorio-draftsman
    factorio-draftsman
    • Quickstart
    • Draftsman Concepts
    • Reference
      • blueprintable
      • constants
      • entity
      • error
      • extras
      • signatures
      • tile
      • utils
      • warning
      • classes
        • association
        • blueprint
        • blueprintable
        • blueprint_book
        • collection
        • collision_set
        • deconstruction_planner
        • entity
        • entity_like
        • entity_list
        • exportable
        • group
        • spatial_data_structure
        • spatial_hashmap
        • spatial_like
        • tile
        • tile_list
        • transformable
        • upgrade_planner
        • vector
        • mixins
          • artillery_auto_target
          • circuit_condition
          • circuit_connectable
          • circuit_enable
          • circuit_read_contents
          • circuit_read_hand
          • circuit_read_resource
          • circuit_set_filters
          • color
          • control_behavior
          • crafting_machine
          • directional
          • energy_source
          • equipment_grid
          • filters
          • input_ingredients
          • inventory
          • io_type
          • logistic_condition
          • mode_of_operation
          • modules
          • orientation
          • player_description
          • power_connectable
          • read_ammo
          • read_rail_signal
          • recipe
          • request_filters
          • stack_size
          • target_priorities
          • variation
            • C VariationMixin
              • A variation
          • vehicle
      • environment
      • data
      • prototypes
    • C VariationMixin
      • A variation

    variation¶

    class VariationMixin(
    variation: ~typing.Annotated[int,
    <draftsman.validators._AndValidator object at 0x7436dd5c5660>] = 1,
    *,
    extra_keys: dict[str,
    ~typing.Any] | None = None,
    )¶

    Mixin that gives the entity a graphical variation index. Used for decorative entities like text-plates.

    variation : _AndValidator object at 0x7436dd5c5660>]¶

    Serialized

    This attribute is imported/exported from blueprint strings.

    The graphical variation of the entity.

    © Copyright 2025, redruin1.
    Created using Sphinx 8.1.3. and Sphinx-Immaterial