diff --git a/assets/tools/Axe.png b/assets/tools/Axe.png new file mode 100644 index 0000000..a7aa284 Binary files /dev/null and b/assets/tools/Axe.png differ diff --git a/assets/tools/Axe.png.import b/assets/tools/Axe.png.import new file mode 100644 index 0000000..0403d31 --- /dev/null +++ b/assets/tools/Axe.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://myyurouw1kui" +path="res://.godot/imported/Axe.png-aa3d12476973663125147a0b97002b99.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/tools/Axe.png" +dest_files=["res://.godot/imported/Axe.png-aa3d12476973663125147a0b97002b99.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/tools/Axe.tscn b/assets/tools/Axe.tscn new file mode 100644 index 0000000..ca66fbe --- /dev/null +++ b/assets/tools/Axe.tscn @@ -0,0 +1,5 @@ +[gd_scene load_steps=2 format=3 uid="uid://d2m3w0egvoh22"] + +[ext_resource type="PackedScene" uid="uid://cm6xrri1euein" path="res://assets/3rdparty/KayKit_Adventurers_1.0_EXTRA/Assets/axe_1handed.gltf" id="1_lf7b1"] + +[node name="axe_1handed2" instance=ExtResource("1_lf7b1")] diff --git a/assets/tools/Dagger.png b/assets/tools/Dagger.png new file mode 100644 index 0000000..65dd9ee Binary files /dev/null and b/assets/tools/Dagger.png differ diff --git a/assets/tools/Dagger.png.import b/assets/tools/Dagger.png.import new file mode 100644 index 0000000..9f49037 --- /dev/null +++ b/assets/tools/Dagger.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b7ip5162fo6jc" +path="res://.godot/imported/Dagger.png-2b576045d3280994d2fcdcdaaa3f4f1d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/tools/Dagger.png" +dest_files=["res://.godot/imported/Dagger.png-2b576045d3280994d2fcdcdaaa3f4f1d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/tools/Dagger.tscn b/assets/tools/Dagger.tscn new file mode 100644 index 0000000..c6204af --- /dev/null +++ b/assets/tools/Dagger.tscn @@ -0,0 +1,5 @@ +[gd_scene load_steps=2 format=3 uid="uid://d0gvv2ddnk8gf"] + +[ext_resource type="PackedScene" uid="uid://20v2mjpyxm15" path="res://assets/3rdparty/KayKit_Adventurers_1.0_EXTRA/Assets/dagger.gltf" id="1_3dufl"] + +[node name="dagger2" instance=ExtResource("1_3dufl")] diff --git a/assets/tools/Sword.png b/assets/tools/Sword.png new file mode 100644 index 0000000..aeeb43d Binary files /dev/null and b/assets/tools/Sword.png differ diff --git a/assets/tools/Sword.png.import b/assets/tools/Sword.png.import new file mode 100644 index 0000000..1ccc8bb --- /dev/null +++ b/assets/tools/Sword.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dudsmx6hrni7v" +path="res://.godot/imported/Sword.png-b9e7a186a29398140cdd217908396a65.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/tools/Sword.png" +dest_files=["res://.godot/imported/Sword.png-b9e7a186a29398140cdd217908396a65.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/assets/tools/Sword.tscn b/assets/tools/Sword.tscn new file mode 100644 index 0000000..30e3627 --- /dev/null +++ b/assets/tools/Sword.tscn @@ -0,0 +1,5 @@ +[gd_scene load_steps=2 format=3 uid="uid://b0hxoadcvbumx"] + +[ext_resource type="PackedScene" uid="uid://ddt2ameyjmbht" path="res://assets/3rdparty/KayKit_Adventurers_1.0_EXTRA/Assets/sword_1handed.gltf" id="1_mee4c"] + +[node name="sword_1handed2" instance=ExtResource("1_mee4c")] diff --git a/data/items/axe.tres b/data/items/axe.tres new file mode 100644 index 0000000..2f9524c --- /dev/null +++ b/data/items/axe.tres @@ -0,0 +1,14 @@ +[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://cktn5p1wetkve"] + +[ext_resource type="Texture2D" uid="uid://myyurouw1kui" path="res://assets/tools/Axe.png" id="1_dlqed"] +[ext_resource type="Script" path="res://model/item.gd" id="1_tec3u"] +[ext_resource type="PackedScene" uid="uid://d2m3w0egvoh22" path="res://assets/tools/Axe.tscn" id="2_ju1vu"] + +[resource] +script = ExtResource("1_tec3u") +name = "Axe" +scene = ExtResource("2_ju1vu") +icon = ExtResource("1_dlqed") +max_stack_size = 1 +is_tool = true +is_buildable = false diff --git a/data/items/dagger.tres b/data/items/dagger.tres new file mode 100644 index 0000000..dd46aea --- /dev/null +++ b/data/items/dagger.tres @@ -0,0 +1,14 @@ +[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://bob26ycbled6r"] + +[ext_resource type="Texture2D" uid="uid://b7ip5162fo6jc" path="res://assets/tools/Dagger.png" id="1_afk8v"] +[ext_resource type="Script" path="res://model/item.gd" id="1_p2ipn"] +[ext_resource type="PackedScene" uid="uid://d0gvv2ddnk8gf" path="res://assets/tools/Dagger.tscn" id="2_xqhva"] + +[resource] +script = ExtResource("1_p2ipn") +name = "Dagger" +scene = ExtResource("2_xqhva") +icon = ExtResource("1_afk8v") +max_stack_size = 1 +is_tool = true +is_buildable = false diff --git a/data/items/sword.tres b/data/items/sword.tres new file mode 100644 index 0000000..308a090 --- /dev/null +++ b/data/items/sword.tres @@ -0,0 +1,14 @@ +[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://cbitlk81jxwfa"] + +[ext_resource type="Texture2D" uid="uid://dudsmx6hrni7v" path="res://assets/tools/Sword.png" id="1_gprhx"] +[ext_resource type="Script" path="res://model/item.gd" id="1_pr3as"] +[ext_resource type="PackedScene" uid="uid://b0hxoadcvbumx" path="res://assets/tools/Sword.tscn" id="2_ym223"] + +[resource] +script = ExtResource("1_pr3as") +name = "Sword" +scene = ExtResource("2_ym223") +icon = ExtResource("1_gprhx") +max_stack_size = 1 +is_tool = true +is_buildable = false diff --git a/world/level.tscn b/world/level.tscn index 5487e88..9d56465 100644 --- a/world/level.tscn +++ b/world/level.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=18 format=3 uid="uid://dmagdl5pi6jdj"] +[gd_scene load_steps=21 format=3 uid="uid://dmagdl5pi6jdj"] [ext_resource type="MeshLibrary" uid="uid://dcpuitbu16j1a" path="res://assets/mesh_library.tres" id="1_q0eym"] [ext_resource type="PackedScene" uid="uid://da5r82nvypfk4" path="res://objects/pickup_item.tscn" id="2_ccr0r"] @@ -6,6 +6,9 @@ [ext_resource type="Resource" uid="uid://bn5j38jbwlj1f" path="res://data/items/stick.tres" id="5_uqakj"] [ext_resource type="Resource" uid="uid://c1ll2snhgv3m1" path="res://data/items/treelog.tres" id="6_l0uqq"] [ext_resource type="Resource" uid="uid://det51k1t422rq" path="res://data/items/pickaxe.tres" id="7_3sab5"] +[ext_resource type="Resource" uid="uid://bob26ycbled6r" path="res://data/items/dagger.tres" id="7_pt3bs"] +[ext_resource type="Resource" uid="uid://cbitlk81jxwfa" path="res://data/items/sword.tres" id="8_45auf"] +[ext_resource type="Resource" uid="uid://cktn5p1wetkve" path="res://data/items/axe.tres" id="9_xhfx0"] [ext_resource type="PackedScene" uid="uid://ccjcjputsddrd" path="res://assets/scene_props/tree_pine.tscn" id="11_5olon"] [ext_resource type="Texture2D" uid="uid://bq3b1hxl5ojh6" path="res://assets/icons/npc_emotes/attention.tres" id="12_3vn8y"] [ext_resource type="PackedScene" uid="uid://2q8dhf61a7os" path="res://assets/characters/engineer.tscn" id="13_t16lh"] @@ -57,6 +60,22 @@ item = ExtResource("7_3sab5") [node name="Item5" parent="Objects" instance=ExtResource("2_ccr0r")] item = ExtResource("6_l0uqq") +[node name="Item6" parent="Objects" instance=ExtResource("2_ccr0r")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.54708, -4.88758e-06, -1.3686) +item = ExtResource("3_pdr1o") + +[node name="Item7" parent="Objects" instance=ExtResource("2_ccr0r")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.01305, -5.00679e-06, -0.929556) +item = ExtResource("7_pt3bs") + +[node name="Item8" parent="Objects" instance=ExtResource("2_ccr0r")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.424436, -5.126e-06, -1.00475) +item = ExtResource("8_45auf") + +[node name="Item9" parent="Objects" instance=ExtResource("2_ccr0r")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.309352, -5.00679e-06, -1.02607) +item = ExtResource("9_xhfx0") + [node name="Decorations" type="Node3D" parent="."] [node name="TreePine" parent="Decorations" instance=ExtResource("11_5olon")]