159 lines
5.0 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene format=3 uid="uid://dmfnipmjntenc"]
[ext_resource type="Script" uid="uid://dnvub78p70s5j" path="res://prefabs/tiles/buildings/soup_kitchen.gd" id="1_sj7qw"]
2026-04-28 21:06:45 -05:00
[ext_resource type="Texture2D" uid="uid://dijho2wx1l4sm" path="res://assets/bomb/bomb.png" id="2_33ap7"]
[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"]
outline_size = 4
outline_color = Color(0, 0, 0, 1)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"]
size = Vector2(109, 109)
[node name="SoupKitchen" type="Node2D" unique_id=746270571 groups=["PostTurnActions"]]
process_mode = 3
script = ExtResource("1_sj7qw")
[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850]
custom_minimum_size = Vector2(110, 110)
offset_left = -55.0
offset_top = -55.0
offset_right = 55.0
offset_bottom = 55.0
mouse_filter = 2
color = Color(0.6253981, 0.68505514, 0.24526232, 1)
[node name="ColorRect2" type="ColorRect" parent="." unique_id=76291108]
custom_minimum_size = Vector2(110, 110)
offset_left = -165.0
offset_top = -55.0
offset_right = -55.0
offset_bottom = 55.0
mouse_filter = 2
color = Color(0.6253981, 0.68505514, 0.24526232, 1)
[node name="ColorRect3" type="ColorRect" parent="." unique_id=786140755]
custom_minimum_size = Vector2(110, 110)
offset_left = -55.0
offset_top = -165.0
offset_right = 55.0
offset_bottom = -55.0
mouse_filter = 2
color = Color(0.6253981, 0.68505514, 0.24526232, 1)
[node name="ColorRect4" type="ColorRect" parent="." unique_id=557224551]
custom_minimum_size = Vector2(110, 110)
offset_left = 55.0
offset_top = -55.0
offset_right = 165.0
offset_bottom = 55.0
mouse_filter = 2
color = Color(0.6253981, 0.68505514, 0.24526232, 1)
[node name="ColorRect5" type="ColorRect" parent="." unique_id=1896618491]
custom_minimum_size = Vector2(110, 110)
offset_left = -55.0
offset_top = 55.0
offset_right = 55.0
offset_bottom = 165.0
mouse_filter = 2
color = Color(0.6253981, 0.68505514, 0.24526232, 1)
[node name="Edge1" type="Line2D" parent="." unique_id=729686179]
points = PackedVector2Array(-55, -55, 55, -55)
width = 1.0
default_color = Color(0, 0, 0, 1)
[node name="Edge3" type="Line2D" parent="." unique_id=517881771]
points = PackedVector2Array(-55, -55, -55, 55)
width = 1.0
default_color = Color(0, 0, 0, 1)
[node name="Edge4" type="Line2D" parent="." unique_id=1010396228]
points = PackedVector2Array(55, -55, 55, 55)
width = 1.0
default_color = Color(0, 0, 0, 1)
[node name="Edge2" type="Line2D" parent="." unique_id=462983650]
points = PackedVector2Array(-55, 55, 55, 55)
width = 1.0
default_color = Color(0, 0, 0, 1)
[node name="Label" type="Label" parent="." unique_id=29286194]
custom_minimum_size = Vector2(110, 110)
offset_left = -55.0
offset_top = -55.0
offset_right = 55.0
offset_bottom = 55.0
text = "SOUP
KITCHEN"
label_settings = SubResource("LabelSettings_vwg8v")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Square1" type="Area2D" parent="." unique_id=333775731]
process_mode = 3
monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Square1" unique_id=1122204523]
process_mode = 3
shape = SubResource("RectangleShape2D_vwg8v")
[node name="Square2" type="Area2D" parent="." unique_id=871528471]
process_mode = 3
position = Vector2(-110, 0)
monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Square2" unique_id=1328243658]
process_mode = 3
shape = SubResource("RectangleShape2D_vwg8v")
[node name="Square3" type="Area2D" parent="." unique_id=1642876812]
process_mode = 3
position = Vector2(0, -110)
monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Square3" unique_id=1392094497]
process_mode = 3
shape = SubResource("RectangleShape2D_vwg8v")
[node name="Square4" type="Area2D" parent="." unique_id=2108585971]
process_mode = 3
position = Vector2(110, 0)
monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Square4" unique_id=11446925]
process_mode = 3
shape = SubResource("RectangleShape2D_vwg8v")
[node name="Square5" type="Area2D" parent="." unique_id=304733612]
process_mode = 3
position = Vector2(0, 110)
monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Square5" unique_id=676150133]
process_mode = 3
shape = SubResource("RectangleShape2D_vwg8v")
[node name="Size" type="Control" parent="." unique_id=1036213581]
unique_name_in_owner = true
layout_mode = 3
anchors_preset = 0
offset_left = -165.0
offset_top = -165.0
offset_right = 165.0
offset_bottom = 165.0
mouse_filter = 2
2026-04-28 21:06:45 -05:00
[node name="BombSprite" type="Sprite2D" parent="." unique_id=794532636]
unique_name_in_owner = true
visible = false
scale = Vector2(0.415, 0.415)
texture = ExtResource("2_33ap7")
[connection signal="area_entered" from="Square1" to="." method="_on_building_area_entered"]
[connection signal="area_entered" from="Square2" to="." method="_on_building_area_entered"]
[connection signal="area_entered" from="Square3" to="." method="_on_building_area_entered"]
[connection signal="area_entered" from="Square4" to="." method="_on_building_area_entered"]
[connection signal="area_entered" from="Square5" to="." method="_on_building_area_entered"]