2026-04-13 11:34:00 -05:00
|
|
|
[gd_scene format=3 uid="uid://mixrqf035krk"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="1_fupku"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://bgw6vkq71d14n" path="res://prefabs/tiles/buildings/office.gd" id="1_wwwaf"]
|
2026-04-28 21:06:45 -05:00
|
|
|
[ext_resource type="Texture2D" uid="uid://dijho2wx1l4sm" path="res://assets/bomb/bomb.png" id="3_jfbo3"]
|
2026-04-13 11:34:00 -05:00
|
|
|
|
2026-04-24 12:19:34 -05:00
|
|
|
[sub_resource type="Gradient" id="Gradient_wwwaf"]
|
|
|
|
|
colors = PackedColorArray(0, 1, 0, 1, 1, 0, 0, 1)
|
|
|
|
|
|
2026-04-13 11:34:00 -05:00
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_vwg8v"]
|
|
|
|
|
outline_size = 4
|
|
|
|
|
outline_color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vwg8v"]
|
2026-04-20 13:03:39 -05:00
|
|
|
size = Vector2(109, 109)
|
2026-04-13 11:34:00 -05:00
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"]
|
|
|
|
|
atlas = ExtResource("1_fupku")
|
|
|
|
|
region = Rect2(16, 16, 16, 16)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"]
|
|
|
|
|
atlas = ExtResource("1_fupku")
|
|
|
|
|
region = Rect2(0, 16, 16, 16)
|
|
|
|
|
|
|
|
|
|
[node name="Office" type="Node2D" unique_id=746270571]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
script = ExtResource("1_wwwaf")
|
|
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="." unique_id=889061850]
|
|
|
|
|
custom_minimum_size = Vector2(110, 110)
|
2026-04-15 10:45:43 -05:00
|
|
|
offset_left = -55.0
|
|
|
|
|
offset_top = -55.0
|
|
|
|
|
offset_right = 55.0
|
|
|
|
|
offset_bottom = 55.0
|
2026-04-13 11:34:00 -05:00
|
|
|
mouse_filter = 2
|
|
|
|
|
color = Color(0, 0, 1, 1)
|
|
|
|
|
|
|
|
|
|
[node name="ColorRect2" type="ColorRect" parent="." unique_id=2077475895]
|
|
|
|
|
custom_minimum_size = Vector2(110, 110)
|
2026-04-15 10:45:43 -05:00
|
|
|
offset_left = 55.0
|
|
|
|
|
offset_top = -165.0
|
|
|
|
|
offset_right = 165.0
|
|
|
|
|
offset_bottom = -55.0
|
2026-04-13 11:34:00 -05:00
|
|
|
mouse_filter = 2
|
|
|
|
|
color = Color(0, 0, 1, 1)
|
|
|
|
|
|
|
|
|
|
[node name="ColorRect3" type="ColorRect" parent="." unique_id=1401405224]
|
|
|
|
|
custom_minimum_size = Vector2(110, 110)
|
2026-04-15 10:45:43 -05:00
|
|
|
offset_left = 55.0
|
|
|
|
|
offset_top = -55.0
|
|
|
|
|
offset_right = 165.0
|
|
|
|
|
offset_bottom = 55.0
|
2026-04-13 11:34:00 -05:00
|
|
|
mouse_filter = 2
|
|
|
|
|
color = Color(0, 0, 1, 1)
|
|
|
|
|
|
|
|
|
|
[node name="ColorRect4" type="ColorRect" parent="." unique_id=255418342]
|
|
|
|
|
custom_minimum_size = Vector2(110, 110)
|
2026-04-15 10:45:43 -05:00
|
|
|
offset_left = 165.0
|
|
|
|
|
offset_top = -55.0
|
|
|
|
|
offset_right = 275.0
|
|
|
|
|
offset_bottom = 55.0
|
2026-04-13 11:34:00 -05:00
|
|
|
mouse_filter = 2
|
|
|
|
|
color = Color(0, 0, 1, 1)
|
|
|
|
|
|
2026-04-24 12:19:34 -05:00
|
|
|
[node name="Edge1" type="Line2D" parent="." unique_id=1683209880]
|
|
|
|
|
points = PackedVector2Array(55, -55, 55, 55)
|
|
|
|
|
width = 1.0
|
|
|
|
|
default_color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
|
|
[node name="Edge3" type="Line2D" parent="." unique_id=1674138530]
|
|
|
|
|
points = PackedVector2Array(55, -55, 165, -55)
|
|
|
|
|
width = 1.0
|
|
|
|
|
default_color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
|
|
[node name="Edge2" type="Line2D" parent="." unique_id=1448230976]
|
|
|
|
|
points = PackedVector2Array(165, -55, 165, 55)
|
|
|
|
|
width = 1.0
|
|
|
|
|
default_color = Color(0, 0, 0, 1)
|
|
|
|
|
|
|
|
|
|
[node name="Path1" type="Line2D" parent="." unique_id=251146500]
|
|
|
|
|
points = PackedVector2Array(0, -45, 0, 0, 100, 0, 100, -110, 120, -110, 120, 0, 220, 0, 220, -45)
|
|
|
|
|
width = 2.0
|
|
|
|
|
gradient = SubResource("Gradient_wwwaf")
|
|
|
|
|
joint_mode = 2
|
|
|
|
|
begin_cap_mode = 2
|
|
|
|
|
end_cap_mode = 2
|
|
|
|
|
|
2026-04-13 11:34:00 -05:00
|
|
|
[node name="Label" type="Label" parent="." unique_id=29286194]
|
|
|
|
|
custom_minimum_size = Vector2(110, 110)
|
2026-04-15 10:45:43 -05:00
|
|
|
offset_left = 55.0
|
|
|
|
|
offset_top = -55.0
|
|
|
|
|
offset_right = 165.0
|
|
|
|
|
offset_bottom = 55.0
|
2026-04-13 11:34:00 -05:00
|
|
|
text = "OFFICE"
|
|
|
|
|
label_settings = SubResource("LabelSettings_vwg8v")
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
2026-04-20 13:03:39 -05:00
|
|
|
[node name="Square1" type="Area2D" parent="." unique_id=333775731]
|
2026-04-15 10:45:43 -05:00
|
|
|
unique_name_in_owner = true
|
2026-04-13 11:34:00 -05:00
|
|
|
process_mode = 3
|
2026-04-15 10:45:43 -05:00
|
|
|
position = Vector2(-55, -165)
|
|
|
|
|
monitoring = false
|
2026-04-13 11:34:00 -05:00
|
|
|
|
2026-04-20 13:03:39 -05:00
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Square1" unique_id=1122204523]
|
2026-04-13 11:34:00 -05:00
|
|
|
process_mode = 3
|
|
|
|
|
position = Vector2(55, 165)
|
|
|
|
|
shape = SubResource("RectangleShape2D_vwg8v")
|
|
|
|
|
|
2026-04-20 13:03:39 -05:00
|
|
|
[node name="Square2" type="Area2D" parent="." unique_id=1569010849]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
process_mode = 3
|
|
|
|
|
position = Vector2(-55, -165)
|
|
|
|
|
monitoring = false
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Square2" unique_id=2062368795]
|
2026-04-13 11:34:00 -05:00
|
|
|
position = Vector2(165, 165)
|
|
|
|
|
shape = SubResource("RectangleShape2D_vwg8v")
|
|
|
|
|
|
2026-04-20 13:03:39 -05:00
|
|
|
[node name="Square3" type="Area2D" parent="." unique_id=755825200]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
process_mode = 3
|
|
|
|
|
position = Vector2(-55, -165)
|
|
|
|
|
monitoring = false
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D4" type="CollisionShape2D" parent="Square3" unique_id=1969675340]
|
2026-04-13 11:34:00 -05:00
|
|
|
position = Vector2(165, 55)
|
|
|
|
|
shape = SubResource("RectangleShape2D_vwg8v")
|
|
|
|
|
|
2026-04-20 13:03:39 -05:00
|
|
|
[node name="Square4" type="Area2D" parent="." unique_id=933131529]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
process_mode = 3
|
|
|
|
|
position = Vector2(-55, -165)
|
|
|
|
|
monitoring = false
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Square4" unique_id=2117224975]
|
2026-04-13 11:34:00 -05:00
|
|
|
position = Vector2(275, 165)
|
|
|
|
|
shape = SubResource("RectangleShape2D_vwg8v")
|
|
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168]
|
|
|
|
|
texture_filter = 1
|
2026-04-15 10:45:43 -05:00
|
|
|
position = Vector2(0, -80)
|
2026-04-13 11:34:00 -05:00
|
|
|
scale = Vector2(2, 2)
|
|
|
|
|
texture = SubResource("AtlasTexture_wwwaf")
|
|
|
|
|
flip_v = true
|
|
|
|
|
|
|
|
|
|
[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659]
|
|
|
|
|
texture_filter = 1
|
2026-04-15 10:45:43 -05:00
|
|
|
position = Vector2(220, -80)
|
|
|
|
|
rotation = -3.1415925
|
2026-04-13 11:34:00 -05:00
|
|
|
scale = Vector2(2, 2)
|
|
|
|
|
texture = SubResource("AtlasTexture_fupku")
|
|
|
|
|
flip_v = true
|
|
|
|
|
|
2026-04-20 13:03:39 -05:00
|
|
|
[node name="Size" type="Control" parent="." unique_id=300012791]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
layout_mode = 3
|
|
|
|
|
anchors_preset = 0
|
|
|
|
|
offset_left = -55.0
|
|
|
|
|
offset_top = -165.0
|
|
|
|
|
offset_right = 275.0
|
|
|
|
|
offset_bottom = 55.0
|
|
|
|
|
mouse_filter = 2
|
2026-04-13 11:34:00 -05:00
|
|
|
|
2026-04-28 21:06:45 -05:00
|
|
|
[node name="BombSprite" type="Sprite2D" parent="." unique_id=325213782]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
visible = false
|
|
|
|
|
position = Vector2(110, 0)
|
|
|
|
|
scale = Vector2(0.415, 0.415)
|
|
|
|
|
texture = ExtResource("3_jfbo3")
|
|
|
|
|
|
2026-04-20 13:03:39 -05:00
|
|
|
[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"]
|