fixing bugs meow
This commit is contained in:
parent
c969e0bee2
commit
4a9193e549
27 changed files with 370 additions and 40 deletions
|
|
@ -1,13 +1,10 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://dsfal3m4siap2"]
|
||||
[gd_scene load_steps=5 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="PackedScene" uid="uid://dgqs20xf7l8c" path="res://inv_system/item_slot.tscn" id="7_xersf"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_00tp4"]
|
||||
font_color = Color(1, 0, 0, 0.5764706)
|
||||
|
||||
[node name="ewaste" type="Control" node_paths=PackedStringArray("bin_inventory", "loot_button")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
|
|
@ -38,7 +35,7 @@ layout_mode = 0
|
|||
offset_left = 751.0
|
||||
offset_top = 376.0
|
||||
offset_right = 1027.0
|
||||
offset_bottom = 545.0
|
||||
offset_bottom = 576.0
|
||||
script = ExtResource("1_6uqi0")
|
||||
inventory_name = "E-waste Recycling Bin"
|
||||
type = "Loot"
|
||||
|
|
@ -98,11 +95,14 @@ layout_mode = 2
|
|||
[node name="ItemSlot21" parent="BinPanel/MarginContainer/VBoxContainer/ScrollContainer/GridContainer" instance=ExtResource("7_xersf")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label2" type="Label" parent="BinPanel/MarginContainer/VBoxContainer"]
|
||||
[node name="HSeparator" type="HSeparator" parent="BinPanel/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "(Items left here will be destroyed)"
|
||||
label_settings = SubResource("LabelSettings_00tp4")
|
||||
horizontal_alignment = 1
|
||||
theme_override_constants/separation = 14
|
||||
|
||||
[node name="Delete" type="Button" parent="BinPanel/MarginContainer/VBoxContainer"]
|
||||
modulate = Color(1, 0, 0, 1)
|
||||
layout_mode = 2
|
||||
text = "Delete Items"
|
||||
|
||||
[node name="LootButton" type="Button" parent="."]
|
||||
layout_mode = 1
|
||||
|
|
@ -121,6 +121,7 @@ text = "Loot E-waste bins!
|
|||
(Uses 10 time)"
|
||||
|
||||
[node name="ReturnButton" type="Button" parent="."]
|
||||
visible = false
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
|
|
@ -135,5 +136,6 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
text = "Return to workshop"
|
||||
|
||||
[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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue