Loot changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cldp1w744fs2l"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cldp1w744fs2l"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cwcnvv5ptewf6" path="res://scripts/dungeon/dungeon_manager.gd" id="1_dungeon"]
|
||||
[ext_resource type="PackedScene" uid="uid://cctw06lt2ffgb" path="res://scenes/ui/hud.tscn" id="2_4f38h"]
|
||||
@@ -6,6 +6,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://3nr0vpkyyy0y" path="res://scenes/dungeon/player.tscn" id="2_player"]
|
||||
[ext_resource type="PackedScene" uid="uid://cd2vqevj7ggok" path="res://scenes/ui/chat.tscn" id="3_frwky"]
|
||||
[ext_resource type="PackedScene" uid="uid://bwlmaoeg3gbrn" path="res://scenes/ui/inventory.tscn" id="5_0fky6"]
|
||||
[ext_resource type="PackedScene" uid="uid://bevuo5j02po14" path="res://scenes/ui/char_sheet.tscn" id="7_bsb75"]
|
||||
|
||||
[node name="DungeonScene" type="Node2D"]
|
||||
script = ExtResource("1_dungeon")
|
||||
@@ -37,4 +38,7 @@ tile_set = ExtResource("2_frwky")
|
||||
|
||||
[node name="Chat" parent="." instance=ExtResource("3_frwky")]
|
||||
|
||||
[node name="CharSheet" parent="." instance=ExtResource("7_bsb75")]
|
||||
visible = false
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://cldp1w744fs2l"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cwcnvv5ptewf6" path="res://scripts/dungeon/dungeon_manager.gd" id="1_dungeon"]
|
||||
[ext_resource type="PackedScene" uid="uid://cctw06lt2ffgb" path="res://scenes/ui/hud.tscn" id="2_4f38h"]
|
||||
[ext_resource type="TileSet" uid="uid://jruqgfbry8sy" path="res://assets/sprites/dungeon_tileset.tres" id="2_frwky"]
|
||||
[ext_resource type="PackedScene" uid="uid://3nr0vpkyyy0y" path="res://scenes/dungeon/player.tscn" id="2_player"]
|
||||
[ext_resource type="PackedScene" uid="uid://cd2vqevj7ggok" path="res://scenes/ui/chat.tscn" id="3_frwky"]
|
||||
[ext_resource type="PackedScene" uid="uid://bwlmaoeg3gbrn" path="res://scenes/ui/inventory.tscn" id="5_0fky6"]
|
||||
[ext_resource type="PackedScene" uid="uid://bevuo5j02po14" path="res://scenes/ui/char_sheet.tscn" id="7_bsb75"]
|
||||
|
||||
[node name="DungeonScene" type="Node2D"]
|
||||
script = ExtResource("1_dungeon")
|
||||
|
||||
[node name="TileMapLayer" type="TileMapLayer" parent="."]
|
||||
tile_set = ExtResource("2_frwky")
|
||||
|
||||
[node name="Entities" type="Node2D" parent="."]
|
||||
|
||||
[node name="Players" type="Node2D" parent="Entities"]
|
||||
|
||||
[node name="Mobs" type="Node2D" parent="Entities"]
|
||||
|
||||
[node name="Chests" type="Node2D" parent="Entities"]
|
||||
|
||||
[node name="DroppedItems" type="Node2D" parent="Entities"]
|
||||
|
||||
[node name="Portals" type="Node2D" parent="Entities"]
|
||||
|
||||
[node name="LootChests" type="Node2D" parent="Entities"]
|
||||
|
||||
[node name="Projectiles" type="Node2D" parent="Entities"]
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource("2_player")]
|
||||
|
||||
[node name="Hud" parent="." instance=ExtResource("2_4f38h")]
|
||||
|
||||
[node name="Inventory" parent="." instance=ExtResource("5_0fky6")]
|
||||
|
||||
[node name="Chat" parent="." instance=ExtResource("3_frwky")]
|
||||
|
||||
[node name="CharSheet" parent="." instance=ExtResource("7_bsb75")]
|
||||
visible = false
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cug0ub6ft1ka"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cug0ub6ft1ka"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxdsmo8kp5ppi" path="res://scripts/ui/main.gd" id="1_hyk8p"]
|
||||
[ext_resource type="PackedScene" uid="uid://loading123456" path="res://scenes/ui/loading_screen.tscn" id="2_loading"]
|
||||
[ext_resource type="PackedScene" uid="uid://dl1ohomaanbth" path="res://scenes/auth/AuthScene.tscn" id="2_6q06x"]
|
||||
[ext_resource type="PackedScene" uid="uid://linskq5jx4uh" path="res://scenes/hub/hub_screen.tscn" id="3_hub"]
|
||||
[ext_resource type="PackedScene" uid="uid://cldp1w744fs2l" path="res://scenes/dungeon/dungeon.tscn" id="4_dungeon"]
|
||||
@@ -9,7 +10,10 @@
|
||||
[node name="Main" type="Node"]
|
||||
script = ExtResource("1_hyk8p")
|
||||
|
||||
[node name="LoadingScreen" parent="." instance=ExtResource("2_loading")]
|
||||
|
||||
[node name="AuthScreen" parent="." instance=ExtResource("2_6q06x")]
|
||||
visible = false
|
||||
|
||||
[node name="HubScreen" parent="." instance=ExtResource("3_hub")]
|
||||
visible = false
|
||||
|
||||
@@ -34,9 +34,18 @@ grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Panel" type="Panel" parent="Control"]
|
||||
layout_mode = 0
|
||||
offset_right = 400.0
|
||||
offset_bottom = 500.0
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -250.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 250.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxTexture_x3x6m")
|
||||
|
||||
[node name="Border" type="Sprite2D" parent="Control/Panel"]
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dxgmcjmjxpenn"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/loading_screen.gd" id="1_loading"]
|
||||
|
||||
[node name="LoadingScreen" type="CanvasLayer"]
|
||||
script = ExtResource("1_loading")
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Panel"]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -100.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 100.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Title" type="Label" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Loading Assets..."
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ProgressBar" type="ProgressBar" parent="Panel/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 2
|
||||
value = 50.0
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Checking for updates..."
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="FileLabel" type="Label" parent="Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = ""
|
||||
horizontal_alignment = 1
|
||||
@@ -0,0 +1,57 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://c8vmcjmjxpenn"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/mob_loot_ui.gd" id="1_mob_loot"]
|
||||
|
||||
[node name="MobLootUI" type="CanvasLayer"]
|
||||
script = ExtResource("1_mob_loot")
|
||||
|
||||
[node name="PanelContainer" type="PanelContainer" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -200.0
|
||||
offset_top = -200.0
|
||||
offset_right = 200.0
|
||||
offset_bottom = 200.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="MobNameLabel" type="Label" parent="PanelContainer/VBoxContainer/Header"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Mob's Loot"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CloseButton" type="Button" parent="PanelContainer/VBoxContainer/Header"]
|
||||
layout_mode = 2
|
||||
text = "X"
|
||||
|
||||
[node name="Content" type="VBoxContainer" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer/VBoxContainer/Content"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="LootGrid" type="GridContainer" parent="PanelContainer/VBoxContainer/Content/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
columns = 5
|
||||
|
||||
[node name="Footer" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="TakeAllButton" type="Button" parent="PanelContainer/VBoxContainer/Footer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Take All"
|
||||
Reference in New Issue
Block a user