31 lines
906 B
Plaintext
31 lines
906 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://rgn8815eiygi"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/cargo_item.gd" id="1_8jou3"]
|
|
[ext_resource type="Texture2D" uid="uid://bdnapk5ubpkp5" path="res://assets/entities.png" id="2_ikmyd"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_s1wtw"]
|
|
atlas = ExtResource("2_ikmyd")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[node name="CargoItem" type="PanelContainer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_8jou3")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="ItemTexture" type="TextureRect" parent="HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
texture = SubResource("AtlasTexture_s1wtw")
|
|
stretch_mode = 4
|
|
|
|
[node name="ItemLabel" type="Label" parent="HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "x0"
|