Placeable
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Object that can be placed into the game world by instancing the packed_scene.
Source File: /addons/grid_building/placement/placeable/placeable.gd
Extends: GBResource
Exported Properties
Property:
display_name : StringName- Display name for in-game reading.Property:
icon : Texture2D- Texture icon for UI elements.Property:
packed_scene : PackedScene- Scene to instance when placed.Property:
tags : Array[CategoricalTag]- Category tags for grouping placeables.Property:
placement_rules : Array[PlacementRule] = []Placement rules specific to this placeable. If
ignore_base_rulesisfalse, these rules are combined with base rules fromGBSettings.placement_rules.Property:
ignore_base_rules = falseWhen
true, skips base placement rules fromGBSettings.placement_rulesand uses ONLY the rules defined inplacement_rules.Use cases:
false(default): Inherit common rules + add object-specific rulestrue: Completely custom validation (e.g., special objects with unique placement logic)
Public Methods
get_load_data
| |
Gets a serialized reference to the placeable for both the FILE_PATH and the file path as a backup
load_resource
| |
Flags: static
Function to help location the placeable using FILE_PATH or file path as backup and returning it
get_packed_root_name
| |
Gets the name of the root node in the packed_scene
get_editor_issues
| |
Returns an array of issues that were found in the placeable
get_runtime_issues
| |
Returns all found runtime issues including the editor issues as a baseline.
Private Methods
_init
| |
Flags: private
_validate_property
| |
Flags: private
In editor validation
Grid Building v5.0.8 | Generated 24/05/2026