tavel location labels, botne tplanel change, ewaste loot bubble

This commit is contained in:
Tabby 2026-01-23 15:51:36 +11:00
parent d0d1ccdf50
commit a48d4f15c0
5 changed files with 55 additions and 10 deletions

View file

@ -1,11 +1,12 @@
[gd_scene load_steps=5 format=3 uid="uid://dsfal3m4siap2"]
[gd_scene load_steps=6 format=3 uid="uid://dsfal3m4siap2"]
[ext_resource type="Script" uid="uid://c6oycdae5wvjf" path="res://inv_system/inventory.gd" id="1_6uqi0"]
[ext_resource type="Texture2D" uid="uid://dj487wauiay6i" path="res://assets/ewase bins.png" id="1_g14j6"]
[ext_resource type="Script" uid="uid://dal8g1ce37r3w" path="res://demo_scene.gd" id="1_vbegm"]
[ext_resource type="Texture2D" uid="uid://v01a44neaam6" path="res://assets/bubble.png" id="5_k36n4"]
[ext_resource type="PackedScene" uid="uid://dgqs20xf7l8c" path="res://inv_system/item_slot.tscn" id="7_xersf"]
[node name="ewaste" type="Control" node_paths=PackedStringArray("bin_inventory", "loot_button")]
[node name="ewaste" type="Control" node_paths=PackedStringArray("bin_inventory", "loot_button", "loot_bubble")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@ -16,6 +17,7 @@ mouse_filter = 2
script = ExtResource("1_vbegm")
bin_inventory = NodePath("BinPanel")
loot_button = NodePath("LootButton")
loot_bubble = NodePath("lootBubble")
[node name="TextureRect" type="TextureRect" parent="."]
z_index = -3
@ -136,6 +138,29 @@ grow_horizontal = 2
grow_vertical = 2
text = "Return to workshop"
[node name="lootBubble" type="TextureRect" parent="."]
self_modulate = Color(1, 0, 0.23137255, 0.6039216)
layout_mode = 0
offset_left = 762.0
offset_top = 196.0
offset_right = 998.0
offset_bottom = 286.0
mouse_filter = 2
texture = ExtResource("5_k36n4")
[node name="Label" type="Label" parent="lootBubble"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = 7.0
offset_bottom = -26.0
grow_horizontal = 2
grow_vertical = 2
text = "Click to get items!"
horizontal_alignment = 1
vertical_alignment = 1
[connection signal="pressed" from="BinPanel/MarginContainer/VBoxContainer/Delete" to="." method="_on_delete_pressed"]
[connection signal="pressed" from="LootButton" to="." method="_on_loot_button_pressed"]
[connection signal="pressed" from="ReturnButton" to="." method="_on_return_button_pressed"]