What this component contains
ATTRIBUTION.mdLICENSEREADME.mdbaltor_test.gdcomponent.jsongoap_planner.gdinspect_gdscript.pyrun_tests.gdtest_package.pytests/test_goap_planner.gdverification/native.json
How it works
- Class
- BaltorGoapPlanner, extends RefCounted
- Methods
- add_action(action_name: StringName, preconditions: Dictionary, effects: Dictionary, cost: float = 1.0, check: Callable = Callable()) -> bool; remove_action(action_name: StringName) -> bool; has_action(action_name: StringName) -> bool; satisfies(state: Dictionary, conditions: Dictionary) -> bool; apply(state: Dictionary, action_name: StringName) -> Dictionary; is_applicable(state: Dictionary,…
- Placement
- res://baltor/godot_components/goap_planner/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
godot_parse_check_onlygodot_gdscript_testsgodot_tests_reject_gutted_componentgodot_editor_importgodot_contract_reflectiongodot_readme_usage_compiles
Limits to consider
Forward search over Dictionary world states; facts are compared with ==. The heuristic counts unmet goal facts, so the plan is the cheapest only when every action costs at least 1 and sets at most one goal fact. Large action sets need the max_nodes bound. Verified with Godot 4.7.2 headless; written against the Godot 4.3 API.