♻️ refactored field code to work with the new id system
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
resource_local_to_scene = true
|
||||
radius = 325.2599
|
||||
|
||||
[node name="BaseField" type="Node2D"]
|
||||
[node name="BaseField" type="Node2D" groups=["Saveable"]]
|
||||
script = ExtResource("1_4mg73")
|
||||
Payload = 0
|
||||
|
||||
@@ -38,13 +38,13 @@ z_index = 1
|
||||
scale = Vector2(1.3499999, 1.5)
|
||||
texture = ExtResource("9_wx561")
|
||||
|
||||
[node name="FieldBehaviour" type="Sprite2D" parent="." node_paths=PackedStringArray("_fieldIndex", "_fieldSprite", "_maskSprite", "_outlineSprite", "PlantingInteraction", "FieldInteractionArea", "PlantingPlaceholder", "_wateringParticles")]
|
||||
[node name="FieldBehaviour" type="Sprite2D" parent="." node_paths=PackedStringArray("_fieldIndex", "_saveIdHolder", "_fieldSprite", "_maskSprite", "_outlineSprite", "PlantingInteraction", "FieldInteractionArea", "PlantingPlaceholder", "_wateringParticles")]
|
||||
visible = false
|
||||
z_index = -1
|
||||
scale = Vector2(0.9, 1)
|
||||
script = ExtResource("1_qa01x")
|
||||
SaveId = "field"
|
||||
_fieldIndex = NodePath("..")
|
||||
_saveIdHolder = NodePath("..")
|
||||
_sceneKeyProvider = ExtResource("11_cjahb")
|
||||
FieldState = 0
|
||||
_fieldSprite = NodePath("MaskedField/FieldTexture")
|
||||
|
||||
Reference in New Issue
Block a user