[gd_scene load_steps=9 format=3 uid="uid://uqxd2lii1xba"]

[ext_resource type="Script" uid="uid://dil41a1ymo0ua" path="res://Game/Towers/towers.gd" id="1_bhlym"]
[ext_resource type="Texture2D" uid="uid://dkgih7tl654v1" path="res://Assets/Towers/Mortar part (3).png" id="1_sq58r"]
[ext_resource type="Texture2D" uid="uid://cm33n3xc81rpj" path="res://Assets/Towers/Mortar part (2).png" id="2_bhlym"]
[ext_resource type="Texture2D" uid="uid://cxtluaplpd8hg" path="res://Assets/Towers/Mortar part (1).png" id="3_82ftk"]
[ext_resource type="AudioStream" uid="uid://ml4th2ybf7dg" path="res://Assets/Sounds/mortar shoot.mp3" id="5_82ftk"]

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_cfdf4"]
radius = 29.0
height = 88.0

[sub_resource type="RectangleShape2D" id="RectangleShape2D_bhlym"]
size = Vector2(367.125, 172.25)

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_bhlym"]
radius = 29.0
height = 88.0

[node name="MortarTower" type="Node2D"]
script = ExtResource("1_bhlym")

[node name="CharacterBody2D" type="CharacterBody2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
position = Vector2(0, 17)
shape = SubResource("CapsuleShape2D_cfdf4")

[node name="Area2D" type="Area2D" parent="CharacterBody2D"]
position = Vector2(2, 20)
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D/Area2D"]
position = Vector2(-1, -68)
shape = SubResource("RectangleShape2D_bhlym")

[node name="lifter - 1" type="Sprite2D" parent="CharacterBody2D"]
position = Vector2(0.800001, 18.6)
scale = Vector2(0.4, 0.4)
texture = ExtResource("1_sq58r")

[node name="MortarPart(2)" type="Sprite2D" parent="CharacterBody2D"]
position = Vector2(4.40004, 18)
scale = Vector2(0.4, 0.4)
texture = ExtResource("2_bhlym")

[node name="lifter - 2" type="Sprite2D" parent="CharacterBody2D"]
position = Vector2(0.800001, 31.6)
scale = Vector2(0.4, 0.4)
texture = ExtResource("3_82ftk")

[node name="Timer" type="Timer" parent="."]
autostart = true

[node name="Area2D" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(0, 17)
shape = SubResource("CapsuleShape2D_bhlym")
debug_color = Color(0.862152, 0.144907, 0.800391, 0.42)

[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("5_82ftk")
