More work on items for quests and display
This commit is contained in:
@@ -6,3 +6,5 @@ class_name Item extends Resource
|
||||
@export var brief : String
|
||||
@export var quantity : int = 1
|
||||
@export var max_quantity : int = 1
|
||||
@export var varies : bool
|
||||
@export var per : bool
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
[node name="Item Display Window" type="Window"]
|
||||
oversampling_override = 1.0
|
||||
size = Vector2i(300, 300)
|
||||
size = Vector2i(300, 400)
|
||||
borderless = true
|
||||
popup_window = true
|
||||
script = ExtResource("1_n2g4t")
|
||||
@@ -27,6 +27,19 @@ theme_override_constants/margin_bottom = 0
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Panel/MarginContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 30)
|
||||
layout_mode = 2
|
||||
color = Color(0.2558804, 0.37977988, 0.7036519, 1)
|
||||
|
||||
[node name="Button" type="Button" parent="Panel/MarginContainer/VBoxContainer/ColorRect"]
|
||||
custom_minimum_size = Vector2(30, 0)
|
||||
layout_mode = 0
|
||||
offset_left = 268.0
|
||||
offset_right = 298.0
|
||||
offset_bottom = 31.0
|
||||
text = "X"
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Panel/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user