NodeLocator
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Settings for locating inventory nodes during rule validation.
Source File: /addons/grid_building/placement/placement_rules/template_rules/resources/node_locator.gd
Extends: Resource
Exported Properties
- Property:
method: SEARCH_METHOD = SEARCH_METHOD.NODE_NAME- Method for finding the inventory node. - Property:
search_string: String = "<Set me>"- Search string to use with the search method.
Public Methods
locate_container
| |
Locates a container node based on the configured search method.
Searches the node tree using the specified method and search string.
Uses pure logic class for composition over inheritance.
search_root: Node - Root node to start the search from
get_script_name
| |
Extracts the script file name from an object’s attached script. Uses pure logic class for composition over inheritance. Returns the script filename with extension, or empty string if no script.
p_check: Object - Object to get script name from
Grid Building v5.0.8 | Generated 24/05/2026