generated from krampus/template-godot4
192 lines
5.6 KiB
Plaintext
192 lines
5.6 KiB
Plaintext
[gd_scene format=3 uid="uid://c06fsqdixer1c"]
|
|
|
|
[ext_resource type="Script" uid="uid://dqivl44ibmsl6" path="res://prefabs/tiles/buildings/bank.gd" id="1_q4p5y"]
|
|
[ext_resource type="Texture2D" uid="uid://t8n660a0vqvm" path="res://assets/Pixelart arrow icon pack 1.0.png" id="2_68e07"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_q4p5y"]
|
|
colors = PackedColorArray(0, 1, 0, 1, 1, 0, 0, 1)
|
|
|
|
[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)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_wwwaf"]
|
|
atlas = ExtResource("2_68e07")
|
|
region = Rect2(16, 16, 16, 16)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_fupku"]
|
|
atlas = ExtResource("2_68e07")
|
|
region = Rect2(0, 16, 16, 16)
|
|
|
|
[node name="Bank" type="Node2D" unique_id=746270571 groups=["PostTurnActions"]]
|
|
process_mode = 3
|
|
script = ExtResource("1_q4p5y")
|
|
|
|
[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, 1, 0, 1)
|
|
|
|
[node name="ColorRect2" type="ColorRect" parent="." unique_id=2077475895]
|
|
custom_minimum_size = Vector2(110, 110)
|
|
offset_left = 55.0
|
|
offset_top = -165.0
|
|
offset_right = 165.0
|
|
offset_bottom = -55.0
|
|
mouse_filter = 2
|
|
color = Color(0, 1, 0, 1)
|
|
|
|
[node name="ColorRect3" type="ColorRect" parent="." unique_id=1401405224]
|
|
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, 1, 0, 1)
|
|
|
|
[node name="ColorRect4" type="ColorRect" parent="." unique_id=255418342]
|
|
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, 1, 0, 1)
|
|
|
|
[node name="Edge1" type="Line2D" parent="." unique_id=339174361]
|
|
position = Vector2(55, -165)
|
|
points = PackedVector2Array(0, 0, 0, 220)
|
|
width = 1.0
|
|
default_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="Edge2" type="Line2D" parent="." unique_id=13095279]
|
|
position = Vector2(-55, -55)
|
|
points = PackedVector2Array(0, 0, 220, 0)
|
|
width = 1.0
|
|
default_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="Path1" type="Line2D" parent="." unique_id=1853389348]
|
|
points = PackedVector2Array(-10, -155, -10, 45, 10, 45, 10, -155)
|
|
width = 2.0
|
|
gradient = SubResource("Gradient_q4p5y")
|
|
joint_mode = 2
|
|
begin_cap_mode = 2
|
|
end_cap_mode = 2
|
|
|
|
[node name="Path2" type="Line2D" parent="." unique_id=1557159962]
|
|
position = Vector2(110, 0)
|
|
points = PackedVector2Array(-10, -155, -10, 45, 10, 45, 10, -155)
|
|
width = 2.0
|
|
gradient = SubResource("Gradient_q4p5y")
|
|
joint_mode = 2
|
|
begin_cap_mode = 2
|
|
end_cap_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="." unique_id=29286194]
|
|
custom_minimum_size = Vector2(220, 110)
|
|
offset_left = -55.0
|
|
offset_top = -165.0
|
|
offset_right = 165.0
|
|
offset_bottom = -55.0
|
|
text = "BANK"
|
|
label_settings = SubResource("LabelSettings_vwg8v")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="MoneyLabel" type="Label" parent="." unique_id=1651554831]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(220, 110)
|
|
offset_left = -55.0
|
|
offset_top = -55.0
|
|
offset_right = 165.0
|
|
offset_bottom = 55.0
|
|
text = "$0"
|
|
label_settings = SubResource("LabelSettings_vwg8v")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Square1" type="Area2D" parent="." unique_id=333775731]
|
|
process_mode = 3
|
|
position = Vector2(-55, -165)
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Square1" unique_id=1122204523]
|
|
process_mode = 3
|
|
position = Vector2(55, 165)
|
|
shape = SubResource("RectangleShape2D_vwg8v")
|
|
|
|
[node name="Square2" type="Area2D" parent="." unique_id=1695837302]
|
|
process_mode = 3
|
|
position = Vector2(-55, -165)
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Square2" unique_id=451761201]
|
|
position = Vector2(165, 165)
|
|
shape = SubResource("RectangleShape2D_vwg8v")
|
|
|
|
[node name="Square3" type="Area2D" parent="." unique_id=1667620998]
|
|
process_mode = 3
|
|
position = Vector2(-55, -165)
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape2D3" type="CollisionShape2D" parent="Square3" unique_id=636207289]
|
|
position = Vector2(55, 55)
|
|
shape = SubResource("RectangleShape2D_vwg8v")
|
|
|
|
[node name="Square4" type="Area2D" parent="." unique_id=2144774838]
|
|
process_mode = 3
|
|
position = Vector2(-55, -165)
|
|
monitoring = false
|
|
|
|
[node name="CollisionShape2D4" type="CollisionShape2D" parent="Square4" unique_id=847000506]
|
|
position = Vector2(165, 55)
|
|
shape = SubResource("RectangleShape2D_vwg8v")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1585332168]
|
|
texture_filter = 1
|
|
position = Vector2(-10, -190)
|
|
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(10, -190)
|
|
rotation = -3.1415925
|
|
scale = Vector2(2, 2)
|
|
texture = SubResource("AtlasTexture_fupku")
|
|
flip_v = true
|
|
|
|
[node name="Sprite2D3" type="Sprite2D" parent="." unique_id=1370361419]
|
|
texture_filter = 1
|
|
position = Vector2(100, -190)
|
|
scale = Vector2(2, 2)
|
|
texture = SubResource("AtlasTexture_wwwaf")
|
|
flip_v = true
|
|
|
|
[node name="Sprite2D4" type="Sprite2D" parent="." unique_id=1801878139]
|
|
texture_filter = 1
|
|
position = Vector2(120, -190)
|
|
rotation = -3.1415925
|
|
scale = Vector2(2, 2)
|
|
texture = SubResource("AtlasTexture_fupku")
|
|
flip_v = true
|
|
|
|
[node name="Size" type="Control" parent="." unique_id=1957708982]
|
|
unique_name_in_owner = true
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_left = -55.0
|
|
offset_top = -205.0
|
|
offset_right = 165.0
|
|
offset_bottom = 55.0
|
|
mouse_filter = 2
|