35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
[gd_scene format=3 uid="uid://jeoiinukrrsp"]
|
|
|
|
[ext_resource type="Script" uid="uid://dtbxopw6ulhl8" path="res://core/generator/currency_generator.gd" id="1_4n4ca"]
|
|
[ext_resource type="Resource" uid="uid://brqaojindcxa5" path="res://idles/currencies/magic.tres" id="2_5tmvy"]
|
|
[ext_resource type="Resource" uid="uid://co0mcc2kvcpo5" path="res://idles/generators/orb.tres" id="3_wx13b"]
|
|
[ext_resource type="Texture2D" uid="uid://bgtt3wu43tajh" path="res://icon.svg" id="4_ruf1h"]
|
|
[ext_resource type="PackedScene" uid="uid://ckos7f22pnmyh" path="res://generator_container.tscn" id="5_bb14m"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y5m1q"]
|
|
size = Vector2(128, 128)
|
|
|
|
[node name="CurrencyGenerator" type="Node2D" unique_id=967969064]
|
|
script = ExtResource("1_4n4ca")
|
|
currency = ExtResource("2_5tmvy")
|
|
data = ExtResource("3_wx13b")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=807584513]
|
|
texture = ExtResource("4_ruf1h")
|
|
|
|
[node name="Area2D" type="Area2D" parent="." unique_id=707349247]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1572620025]
|
|
shape = SubResource("RectangleShape2D_y5m1q")
|
|
|
|
[node name="GeneratorPanel" parent="." unique_id=1129190041 node_paths=PackedStringArray("_generator") instance=ExtResource("5_bb14m")]
|
|
visible = false
|
|
offset_left = 64.0
|
|
offset_top = -64.0
|
|
offset_right = 505.0
|
|
offset_bottom = 201.5
|
|
_generator = NodePath("..")
|
|
|
|
[connection signal="mouse_entered" from="Area2D" to="." method="_on_area_2d_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Area2D" to="." method="_on_area_2d_mouse_exited"]
|