ManipulatableSettings

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Settings for object manipulation rules and placement requirements.

Source File: addons/grid_building/placement/manipulatable_settings.gd

Extends: GBResource

Exported Properties

  • Property: move_rules : Array[TileCheckRule] = []

    Rules required for completing move actions. If ignore_base_rules is false, these rules are combined with base rules from GBSettings.placement_rules.

  • Property: ignore_base_rules : bool = false

    When true, skips base placement rules from GBSettings.placement_rules and uses ONLY the rules defined in move_rules.

    Use cases:

    • false (default): Inherit common rules + add movement-specific rules
    • true: Completely custom move validation (e.g., flying units ignore terrain)
  • Property: rotatable : bool = false - Marks whether the placeable preview should be allowed to be rotated left and right

  • Property: flip_horizontal : bool = false - Marks whether the placeable preview should be allowed to be flipped horizontally

  • Property: flip_vertical : bool = false - Marks whether the placeable preview should be allowed to be flipped vertically

  • Property: movable = true - Whether the full object and all children is to be movable

  • Property: demolishable = true - Whether the full object and all children is to be demolishable (intentionally destroyed)

Public Methods

get_editor_issues

1
get_editor_issues() -> Array[String]

Returns an array of issues found during editor validation


get_runtime_issues

1
get_runtime_issues() -> Array[String]

Returns an array of issues found during runtime validation