From cc0f88b0309cf49024655a3a7aabeb399a207f18 Mon Sep 17 00:00:00 2001 From: Matteo Balugani Date: Mon, 2 Oct 2023 20:16:37 +0200 Subject: [PATCH] coal_diamond_converter --- .../gold_to_coaldiamond/coal_diamond_converter.tscn | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/converters/gold_to_coaldiamond/coal_diamond_converter.tscn b/converters/gold_to_coaldiamond/coal_diamond_converter.tscn index f1e376c..6320110 100644 --- a/converters/gold_to_coaldiamond/coal_diamond_converter.tscn +++ b/converters/gold_to_coaldiamond/coal_diamond_converter.tscn @@ -70,15 +70,11 @@ size = Vector2(26, 5) [sub_resource type="RectangleShape2D" id="RectangleShape2D_jeo5f"] size = Vector2(26, 10) -[node name="CoalDiamondConverter" type="StaticBody2D" node_paths=PackedStringArray("sprite_front", "conversion_timer", "sound_working", "sound_complete", "spawner")] +[node name="CoalDiamondConverter" type="StaticBody2D" node_paths=PackedStringArray("spawner")] scale = Vector2(3, 3) collision_layer = 8 collision_mask = 0 script = ExtResource("1_mf1ls") -sprite_front = NodePath("") -conversion_timer = NodePath("") -sound_working = NodePath("") -sound_complete = NodePath("") spawner = NodePath("") [node name="SpriteBack" type="Sprite2D" parent="."] @@ -90,7 +86,7 @@ texture = ExtResource("2_nj8gd") z_index = 2 texture_filter = 1 sprite_frames = SubResource("SpriteFrames_4m3dg") -frame_progress = 0.6883 +frame_progress = 0.944486 [node name="LeftWall" type="CollisionShape2D" parent="."] z_index = 2 @@ -108,10 +104,9 @@ position = Vector2(0, 4.5) rotation = 3.14159 shape = SubResource("RectangleShape2D_31dtl") -[node name="Collector" parent="." node_paths=PackedStringArray("sound_absorb") instance=ExtResource("7_rxm8j")] +[node name="Collector" parent="." instance=ExtResource("7_rxm8j")] z_index = 2 collecting_types = Array[StringName]([&"Copper"]) -sound_absorb = NodePath("") collecting_amount = 10 [node name="CollectShape" type="CollisionShape2D" parent="Collector"]