112 lines
3.4 KiB
Plaintext
Raw Normal View History

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"]
[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(110, 110)
[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)
offset_top = 110.0
offset_right = 110.0
offset_bottom = 220.0
mouse_filter = 2
color = Color(0, 0, 1, 1)
[node name="ColorRect2" type="ColorRect" parent="." unique_id=2077475895]
custom_minimum_size = Vector2(110, 110)
offset_left = 110.0
offset_right = 220.0
offset_bottom = 110.0
mouse_filter = 2
color = Color(0, 0, 1, 1)
[node name="ColorRect3" type="ColorRect" parent="." unique_id=1401405224]
custom_minimum_size = Vector2(110, 110)
offset_left = 110.0
offset_top = 110.0
offset_right = 220.0
offset_bottom = 220.0
mouse_filter = 2
color = Color(0, 0, 1, 1)
[node name="ColorRect4" type="ColorRect" parent="." unique_id=255418342]
custom_minimum_size = Vector2(110, 110)
offset_left = 220.0
offset_top = 110.0
offset_right = 330.0
offset_bottom = 220.0
mouse_filter = 2
color = Color(0, 0, 1, 1)
[node name="Label" type="Label" parent="." unique_id=29286194]
custom_minimum_size = Vector2(110, 110)
offset_left = 110.0
offset_top = 110.0
offset_right = 220.0
offset_bottom = 220.0
text = "OFFICE"
label_settings = SubResource("LabelSettings_vwg8v")
horizontal_alignment = 1
vertical_alignment = 1
[node name="Building" type="Area2D" parent="." unique_id=333775731]
process_mode = 3
collision_layer = 0
collision_mask = 5
[node name="CollisionShape2D" type="CollisionShape2D" parent="Building" unique_id=1122204523]
process_mode = 3
position = Vector2(55, 165)
shape = SubResource("RectangleShape2D_vwg8v")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Building" unique_id=1773735924]
position = Vector2(165, 165)
shape = SubResource("RectangleShape2D_vwg8v")
[node name="CollisionShape2D4" type="CollisionShape2D" parent="Building" unique_id=1677987437]
position = Vector2(165, 55)
shape = SubResource("RectangleShape2D_vwg8v")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Building" unique_id=1638062176]
position = Vector2(275, 165)
shape = SubResource("RectangleShape2D_vwg8v")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168]
texture_filter = 1
position = Vector2(55, 85)
scale = Vector2(2, 2)
texture = SubResource("AtlasTexture_wwwaf")
flip_v = true
[node name="Sprite2D2" type="Sprite2D" parent="." unique_id=1969702659]
texture_filter = 1
position = Vector2(275, 85)
rotation = 3.1415927
scale = Vector2(2, 2)
texture = SubResource("AtlasTexture_fupku")
flip_v = true
[node name="PlacementPoint" type="Marker2D" parent="." unique_id=367205150]
unique_name_in_owner = true
position = Vector2(55, 165)
[connection signal="area_entered" from="Building" to="." method="_on_building_area_entered"]