Adding Kenney UI and item management
Deploy Promiscuity Auth API / deploy (push) Successful in 48s
Deploy Promiscuity Character API / deploy (push) Successful in 47s
Deploy Promiscuity Inventory API / deploy (push) Successful in 59s
Deploy Promiscuity Locations API / deploy (push) Successful in 46s
k8s smoke test / test (push) Successful in 10s
Deploy Promiscuity Auth API / deploy (push) Successful in 48s
Deploy Promiscuity Character API / deploy (push) Successful in 47s
Deploy Promiscuity Inventory API / deploy (push) Successful in 59s
Deploy Promiscuity Locations API / deploy (push) Successful in 46s
k8s smoke test / test (push) Successful in 10s
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=8 format=3]
|
||||
[gd_scene load_steps=9 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/Levels/location_level.gd" id="1_level_script"]
|
||||
[ext_resource type="PackedScene" path="res://scenes/Characters/location_player.tscn" id="2_player_scene"]
|
||||
[ext_resource type="Material" path="res://assets/materials/kenney_prototype_block_dark.tres" id="3_block_mat"]
|
||||
[ext_resource type="Theme" path="res://themes/button_theme.tres" id="4_button_theme"]
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_tile"]
|
||||
material = ExtResource("3_block_mat")
|
||||
@@ -30,3 +31,216 @@ shadow_enabled = true
|
||||
|
||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
||||
environment = SubResource("Environment_location")
|
||||
|
||||
[node name="PauseMenu" type="CanvasLayer" parent="."]
|
||||
visible = false
|
||||
process_mode = 2
|
||||
|
||||
[node name="Overlay" type="ColorRect" parent="PauseMenu"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 0.45)
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="PauseMenu"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="PauseMenu/CenterContainer"]
|
||||
custom_minimum_size = Vector2(360, 0)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="PauseMenu/CenterContainer/Panel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="PauseMenu/CenterContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Paused"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ContinueButton" type="Button" parent="PauseMenu/CenterContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_button_theme")
|
||||
text = "CONTINUE"
|
||||
|
||||
[node name="SettingsButton" type="Button" parent="PauseMenu/CenterContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_button_theme")
|
||||
text = "SETTINGS"
|
||||
|
||||
[node name="MainMenuButton" type="Button" parent="PauseMenu/CenterContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_button_theme")
|
||||
text = "MAIN MENU"
|
||||
|
||||
[node name="InventoryMenu" type="CanvasLayer" parent="."]
|
||||
visible = false
|
||||
layer = 1
|
||||
|
||||
[node name="Overlay" type="ColorRect" parent="InventoryMenu"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0, 0, 0, 0.35)
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="InventoryMenu"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/margin_left = 48
|
||||
theme_override_constants/margin_top = 48
|
||||
theme_override_constants/margin_right = 48
|
||||
theme_override_constants/margin_bottom = 48
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="InventoryMenu/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="InventoryMenu/MarginContainer/Panel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Inventory"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CurrentLocationLabel" type="Label" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Location"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Columns" type="HBoxContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
theme_override_constants/separation = 12
|
||||
|
||||
[node name="CharacterPanel" type="PanelContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns/CharacterPanel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="CharacterLabel" type="Label" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns/CharacterPanel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Character"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="CharacterItems" type="ItemList" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns/CharacterPanel/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 240)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
select_mode = 0
|
||||
|
||||
[node name="GroundPanel" type="PanelContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns/GroundPanel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="GroundLabel" type="Label" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns/GroundPanel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Ground"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="GroundItems" type="ItemList" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns/GroundPanel/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 240)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
select_mode = 0
|
||||
|
||||
[node name="ControlsPanel" type="PanelContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="ControlsRow" type="HBoxContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="TargetSlotLabel" type="Label" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ControlsRow"]
|
||||
layout_mode = 2
|
||||
text = "Target Slot"
|
||||
|
||||
[node name="TargetSlotSpinBox" type="SpinBox" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ControlsRow"]
|
||||
custom_minimum_size = Vector2(90, 0)
|
||||
layout_mode = 2
|
||||
min_value = 0.0
|
||||
max_value = 5.0
|
||||
step = 1.0
|
||||
rounded = true
|
||||
|
||||
[node name="QuantityLabel" type="Label" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ControlsRow"]
|
||||
layout_mode = 2
|
||||
text = "Quantity"
|
||||
|
||||
[node name="QuantitySpinBox" type="SpinBox" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ControlsRow"]
|
||||
custom_minimum_size = Vector2(90, 0)
|
||||
layout_mode = 2
|
||||
min_value = 1.0
|
||||
max_value = 999.0
|
||||
value = 1.0
|
||||
step = 1.0
|
||||
rounded = true
|
||||
|
||||
[node name="ActionRow" type="HBoxContainer" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_constants/separation = 8
|
||||
|
||||
[node name="MoveButton" type="Button" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_button_theme")
|
||||
text = "MOVE TO SLOT"
|
||||
|
||||
[node name="DropButton" type="Button" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_button_theme")
|
||||
text = "DROP"
|
||||
|
||||
[node name="PickupButton" type="Button" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_button_theme")
|
||||
text = "PICK UP"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_button_theme")
|
||||
text = "REFRESH"
|
||||
|
||||
[node name="CloseButton" type="Button" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("4_button_theme")
|
||||
text = "CLOSE"
|
||||
|
||||
[node name="StatusLabel" type="Label" parent="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = ""
|
||||
|
||||
[connection signal="pressed" from="PauseMenu/CenterContainer/Panel/VBoxContainer/ContinueButton" to="." method="_on_pause_continue_pressed"]
|
||||
[connection signal="pressed" from="PauseMenu/CenterContainer/Panel/VBoxContainer/SettingsButton" to="." method="_on_pause_settings_pressed"]
|
||||
[connection signal="pressed" from="PauseMenu/CenterContainer/Panel/VBoxContainer/MainMenuButton" to="." method="_on_pause_main_menu_pressed"]
|
||||
[connection signal="item_selected" from="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns/CharacterPanel/VBoxContainer/CharacterItems" to="." method="_on_character_items_selected"]
|
||||
[connection signal="item_selected" from="InventoryMenu/MarginContainer/Panel/VBoxContainer/Columns/GroundPanel/VBoxContainer/GroundItems" to="." method="_on_ground_items_selected"]
|
||||
[connection signal="pressed" from="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow/MoveButton" to="." method="_on_inventory_move_pressed"]
|
||||
[connection signal="pressed" from="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow/DropButton" to="." method="_on_inventory_drop_pressed"]
|
||||
[connection signal="pressed" from="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow/PickupButton" to="." method="_on_inventory_pickup_pressed"]
|
||||
[connection signal="pressed" from="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow/RefreshButton" to="." method="_on_inventory_refresh_pressed"]
|
||||
[connection signal="pressed" from="InventoryMenu/MarginContainer/Panel/VBoxContainer/ControlsPanel/VBoxContainer/ActionRow/CloseButton" to="." method="_on_inventory_close_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user