From 602e7f1f709075afeec93c0ca311e6dda668040c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 28 Apr 2024 23:46:36 +0200 Subject: [PATCH] Change `SummoningRecipe` to `Node` --- behaviours/summoning_recipe.gd | 6 ++---- behaviours/summoning_recipe.svg | 4 ++-- behaviours/summoning_recipe.tscn | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/behaviours/summoning_recipe.gd b/behaviours/summoning_recipe.gd index ac51884..53db5ab 100644 --- a/behaviours/summoning_recipe.gd +++ b/behaviours/summoning_recipe.gd @@ -1,11 +1,9 @@ @icon("res://behaviours/summoning_recipe.svg") -extends Node2D +extends Node class_name SummoningRecipe -## A [Node2D] describing a possible recipe that can be performed with the [SummoningCircle]. -## -## [Node2D] is required instead of [Node] as otherwise the child [Spawner] would lose its relative [field position]. +## A [Node] describing a possible recipe that can be performed with the [SummoningCircle]. ## Emitted when [method do_match] is called, and the [field recipe] is successfully matched. diff --git a/behaviours/summoning_recipe.svg b/behaviours/summoning_recipe.svg index c49c24e..e675f0a 100644 --- a/behaviours/summoning_recipe.svg +++ b/behaviours/summoning_recipe.svg @@ -23,7 +23,7 @@ inkscape:pagecheckerboard="0" inkscape:deskcolor="#d1d1d1" inkscape:zoom="13.171875" - inkscape:cx="5.5421115" + inkscape:cx="5.4661922" inkscape:cy="7.0225386" inkscape:window-width="1920" inkscape:window-height="1020" @@ -35,7 +35,7 @@ + style="fill:#e0e0e0" />