|
|
@ -1,4 +1,4 @@ |
|
|
|
[gd_resource type="Resource" script_class="InventoryResource" load_steps=12 format=3 uid="uid://blfp6tiir282o"] |
|
|
|
[gd_resource type="Resource" script_class="InventoryResource" load_steps=19 format=3 uid="uid://blfp6tiir282o"] |
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://becun6dj78v8d" path="res://resources/inventory_resource.gd" id="1_4v6mg"] |
|
|
|
[ext_resource type="Script" uid="uid://bdx4q355l5ugl" path="res://resources/db_item_resource.gd" id="1_gg8jx"] |
|
|
@ -6,14 +6,18 @@ |
|
|
|
[ext_resource type="Script" uid="uid://dwrmy4mx0mw18" path="res://resources/block_resource.gd" id="3_vgvac"] |
|
|
|
[ext_resource type="Material" uid="uid://cx7m27qa4ds4s" path="res://assets/materials/stone.tres" id="4_7yuhn"] |
|
|
|
[ext_resource type="Material" uid="uid://jearv8lmwhec" path="res://assets/materials/wood.tres" id="5_p27bu"] |
|
|
|
[ext_resource type="Material" uid="uid://b4wrf3quiaa1b" path="res://assets/materials/grass.tres" id="7_vgvac"] |
|
|
|
[ext_resource type="Material" uid="uid://d15n1p3spu3jg" path="res://assets/materials/leaves.tres" id="7_xd1nd"] |
|
|
|
[ext_resource type="Material" uid="uid://b2w5ybx51vuwf" path="res://assets/materials/glass.tres" id="8_7yuhn"] |
|
|
|
[ext_resource type="PackedScene" uid="uid://ccky0w7brcf1l" path="res://scenes/items/torch.tscn" id="9_viap3"] |
|
|
|
[ext_resource type="Script" uid="uid://m32ytcig5ha5" path="res://resources/item_resource.gd" id="10_wqat2"] |
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_jaam2"] |
|
|
|
script = ExtResource("3_vgvac") |
|
|
|
material_texture = ExtResource("2_8w148") |
|
|
|
id = "001" |
|
|
|
name = "Dirt" |
|
|
|
amount = 100 |
|
|
|
amount = 999 |
|
|
|
description = "Block of dirt" |
|
|
|
item_texture = "uid://li36txj7oweq" |
|
|
|
metadata/_custom_type_script = "uid://dwrmy4mx0mw18" |
|
|
@ -23,7 +27,7 @@ script = ExtResource("3_vgvac") |
|
|
|
material_texture = ExtResource("4_7yuhn") |
|
|
|
id = "002" |
|
|
|
name = "Stone" |
|
|
|
amount = 100 |
|
|
|
amount = 999 |
|
|
|
description = "Block of stone" |
|
|
|
item_texture = "uid://ct1iawpfkdf5l" |
|
|
|
metadata/_custom_type_script = "uid://dwrmy4mx0mw18" |
|
|
@ -33,7 +37,7 @@ script = ExtResource("3_vgvac") |
|
|
|
material_texture = ExtResource("5_p27bu") |
|
|
|
id = "003" |
|
|
|
name = "Wood" |
|
|
|
amount = 100 |
|
|
|
amount = 999 |
|
|
|
description = "Wood log" |
|
|
|
item_texture = "uid://0mw651622h01" |
|
|
|
metadata/_custom_type_script = "uid://dwrmy4mx0mw18" |
|
|
@ -43,13 +47,43 @@ script = ExtResource("3_vgvac") |
|
|
|
material_texture = ExtResource("7_xd1nd") |
|
|
|
id = "004" |
|
|
|
name = "Leaves" |
|
|
|
amount = 100 |
|
|
|
amount = 999 |
|
|
|
description = "Tree leaves" |
|
|
|
item_texture = "uid://goygbpyqhych" |
|
|
|
metadata/_custom_type_script = "uid://dwrmy4mx0mw18" |
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_viap3"] |
|
|
|
script = ExtResource("3_vgvac") |
|
|
|
material_texture = ExtResource("7_vgvac") |
|
|
|
id = "005" |
|
|
|
name = "Grass" |
|
|
|
amount = 999 |
|
|
|
description = "Block of grass and dirt" |
|
|
|
item_texture = "uid://li36txj7oweq" |
|
|
|
metadata/_custom_type_script = "uid://dwrmy4mx0mw18" |
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_wqat2"] |
|
|
|
script = ExtResource("3_vgvac") |
|
|
|
material_texture = ExtResource("8_7yuhn") |
|
|
|
id = "006" |
|
|
|
name = "Glass" |
|
|
|
amount = 999 |
|
|
|
description = "Glass block" |
|
|
|
item_texture = "uid://cpllegyqnfnrh" |
|
|
|
metadata/_custom_type_script = "uid://dwrmy4mx0mw18" |
|
|
|
|
|
|
|
[sub_resource type="Resource" id="Resource_xd1nd"] |
|
|
|
script = ExtResource("10_wqat2") |
|
|
|
resource_scene = ExtResource("9_viap3") |
|
|
|
id = "007" |
|
|
|
name = "Torch" |
|
|
|
amount = 999 |
|
|
|
description = "A torch to light the way" |
|
|
|
item_texture = "uid://dknv7amroftm8" |
|
|
|
metadata/_custom_type_script = "uid://m32ytcig5ha5" |
|
|
|
|
|
|
|
[resource] |
|
|
|
script = ExtResource("1_4v6mg") |
|
|
|
inventory = Array[ExtResource("1_gg8jx")]([SubResource("Resource_jaam2"), SubResource("Resource_4kby3"), SubResource("Resource_byct5"), SubResource("Resource_qycqj")]) |
|
|
|
inventory = Array[ExtResource("1_gg8jx")]([SubResource("Resource_jaam2"), SubResource("Resource_4kby3"), SubResource("Resource_byct5"), SubResource("Resource_qycqj"), SubResource("Resource_viap3"), SubResource("Resource_wqat2"), SubResource("Resource_xd1nd")]) |
|
|
|
max_stack_size = 999 |
|
|
|
metadata/_custom_type_script = "uid://becun6dj78v8d" |