Cow_Life_Sim_RPG/Objects/SkillSpecific/Building/BuildingZone.tscn

130 lines
4.2 KiB
Plaintext

[gd_scene load_steps=13 format=3 uid="uid://cufhvngt5p0pu"]
[ext_resource type="Script" path="res://Objects/SkillSpecific/Building/BuildingZone.gd" id="1_vrk03"]
[ext_resource type="Texture2D" uid="uid://b67o4ynk1eu4j" path="res://Objects/SkillSpecific/Building/BeaverDam/BeaverDamBase.png" id="1_ysxqw"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_2nolj"]
[ext_resource type="Texture2D" uid="uid://bl4mkg8ccwrhk" path="res://MiscArt/White.png" id="4_jvrsc"]
[ext_resource type="PackedScene" uid="uid://cf3aqkjfurrjs" path="res://Interactions/Building/BuildingSpot/Buildable.tscn" id="5_4q0jh"]
[ext_resource type="PackedScene" uid="uid://do0yyc8tr7wbh" path="res://UI/Building/PlanningWindow.tscn" id="6_dpwye"]
[ext_resource type="AudioStream" uid="uid://dvhansvh7f4hx" path="res://Sounds/SFX/Fire/fire.mp3" id="7_wapdb"]
[sub_resource type="SpriteFrames" id="SpriteFrames_6l052"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_ysxqw")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7gb4c"]
bg_color = Color(0.729412, 0.556863, 0.482353, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0, 0, 0, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ymita"]
bg_color = Color(0.211765, 0.313726, 0.968627, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.8, 0.8, 0.8, 0)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
anti_aliasing = false
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_rwi2n"]
bg_color = Color(0.929412, 0.866667, 0.968627, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0, 0, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_33uhg"]
bg_color = Color(0.913725, 0, 0.172549, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.8, 0.8, 0.8, 0)
[node name="BuildingZone" type="Node2D"]
script = ExtResource("1_vrk03")
[node name="SelectionRegionIndicator" type="Sprite2D" parent="."]
self_modulate = Color(0.341176, 1, 1, 0.564706)
z_index = -1
position = Vector2(0, 73)
texture = ExtResource("4_jvrsc")
[node name="MainSprite" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_6l052")
[node name="Interactable" parent="." instance=ExtResource("3_2nolj")]
[node name="Buildable" parent="." instance=ExtResource("5_4q0jh")]
[node name="PlanningWindow" parent="." instance=ExtResource("6_dpwye")]
visible = false
[node name="BuildingBar" type="ProgressBar" parent="."]
unique_name_in_owner = true
offset_left = -58.0
offset_top = -100.0
offset_right = 55.0
offset_bottom = -84.0
theme_override_styles/background = SubResource("StyleBoxFlat_7gb4c")
theme_override_styles/fill = SubResource("StyleBoxFlat_ymita")
show_percentage = false
[node name="HealthBar" type="ProgressBar" parent="."]
unique_name_in_owner = true
offset_left = -52.0
offset_top = -79.0
offset_right = 51.0
offset_bottom = -70.0
theme_override_styles/background = SubResource("StyleBoxFlat_rwi2n")
theme_override_styles/fill = SubResource("StyleBoxFlat_33uhg")
value = 40.0
show_percentage = false
[node name="StageCounter" type="Label" parent="."]
unique_name_in_owner = true
offset_left = -93.0
offset_top = -134.0
offset_right = 89.0
offset_bottom = -105.0
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 10
theme_override_font_sizes/font_size = 20
text = "Stages: 500/500"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Fires" type="Node2D" parent="."]
[node name="FireSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("7_wapdb")
max_distance = 600.0
bus = &"SFX"
[node name="FlintSounds" type="AudioStreamPlayer2D" parent="."]
max_distance = 400.0
bus = &"SFX"
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]