Added trading system and cargo saving
This commit is contained in:
parent
50be4a0bb2
commit
30e53f858f
19 changed files with 301 additions and 12 deletions
|
|
@ -1,5 +1,6 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bdwk0dqcx0xhp"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://bdwk0dqcx0xhp"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/menu/BaseMenu.gd" id="1_0wv8j"]
|
||||
[ext_resource type="Texture2D" uid="uid://db4euprxhape0" path="res://sprites/9s.png" id="1_vb0tn"]
|
||||
[ext_resource type="Script" path="res://scripts/menu/CloseMenuButton.gd" id="2_ld3o5"]
|
||||
[ext_resource type="Script" path="res://scripts/menu/OpenMenuButton.gd" id="3_63o1s"]
|
||||
|
|
@ -12,6 +13,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_0wv8j")
|
||||
|
||||
[node name="MainMenu" type="NinePatchRect" parent="."]
|
||||
layout_mode = 0
|
||||
|
|
@ -109,6 +111,50 @@ offset_bottom = 40.0
|
|||
text = "X"
|
||||
script = ExtResource("2_ld3o5")
|
||||
|
||||
[node name="SellList" type="ItemList" parent="TradingMenu"]
|
||||
layout_mode = 0
|
||||
offset_top = 64.0
|
||||
offset_right = 320.0
|
||||
offset_bottom = 512.0
|
||||
|
||||
[node name="BuyList" type="ItemList" parent="TradingMenu"]
|
||||
offset_left = 320.0
|
||||
offset_top = 64.0
|
||||
offset_right = 640.0
|
||||
offset_bottom = 512.0
|
||||
|
||||
[node name="SellInput" type="LineEdit" parent="TradingMenu"]
|
||||
layout_mode = 0
|
||||
offset_left = 1.0
|
||||
offset_top = 512.0
|
||||
offset_right = 160.0
|
||||
offset_bottom = 576.0
|
||||
placeholder_text = "Amount to buy"
|
||||
alignment = 1
|
||||
|
||||
[node name="BuyInput" type="LineEdit" parent="TradingMenu"]
|
||||
offset_left = 320.0
|
||||
offset_top = 512.0
|
||||
offset_right = 480.0
|
||||
offset_bottom = 576.0
|
||||
placeholder_text = "Amount to sell"
|
||||
alignment = 1
|
||||
|
||||
[node name="BuyButton" type="Button" parent="TradingMenu"]
|
||||
layout_mode = 0
|
||||
offset_left = 160.0
|
||||
offset_top = 512.0
|
||||
offset_right = 320.0
|
||||
offset_bottom = 576.0
|
||||
text = "Buy selected item"
|
||||
|
||||
[node name="SellButton" type="Button" parent="TradingMenu"]
|
||||
offset_left = 480.0
|
||||
offset_top = 512.0
|
||||
offset_right = 639.0
|
||||
offset_bottom = 576.0
|
||||
text = "Sell selected item"
|
||||
|
||||
[node name="QuestMenu" type="NinePatchRect" parent="."]
|
||||
visible = false
|
||||
layout_mode = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue