Added wrench object

main
Martin Felis 2024-07-12 11:24:51 +02:00
parent 8e401f01cc
commit b9f8e2a751
8 changed files with 135 additions and 7 deletions

View File

@ -5,4 +5,4 @@
[node name="PickaxeScene" type="Node3D"] [node name="PickaxeScene" type="Node3D"]
[node name="tool-pickaxe2" parent="." instance=ExtResource("1_ohrc6")] [node name="tool-pickaxe2" parent="." instance=ExtResource("1_ohrc6")]
transform = Transform3D(0.731247, 0.681981, -0.01344, 0, 0.0197035, 0.999806, 0.682113, -0.731105, 0.0144081, -0.0977044, 0.0424874, 0.0943838) transform = Transform3D(0.731247, 0.681981, -0.01344, 0, 0.0197035, 0.999806, 0.682113, -0.731105, 0.0144081, -0.098, 0.0115309, 0.094)

BIN
assets/tools/Wrench.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bfvn4i4ftg4bu"
path="res://.godot/imported/Wrench.png-341b9f4923257057e101740c7eeb164e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/tools/Wrench.png"
dest_files=["res://.godot/imported/Wrench.png-341b9f4923257057e101740c7eeb164e.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

48
assets/tools/Wrench.tscn Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bhrc500fm5mq"
path="res://.godot/imported/Wrench_64x64.png-c657f6eb85d7e557e66d342bf98a0570.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/tools/Wrench_64x64.png"
dest_files=["res://.godot/imported/Wrench_64x64.png-c657f6eb85d7e557e66d342bf98a0570.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

12
data/items/wrench.tres Normal file
View File

@ -0,0 +1,12 @@
[gd_resource type="Resource" script_class="Item" load_steps=4 format=3 uid="uid://egkatj1ci0ga"]
[ext_resource type="Texture2D" uid="uid://bfvn4i4ftg4bu" path="res://assets/tools/Wrench.png" id="1_b5epx"]
[ext_resource type="PackedScene" uid="uid://cum7lrtovcvk3" path="res://assets/tools/Wrench.tscn" id="2_8uss6"]
[ext_resource type="Script" path="res://model/item.gd" id="3_gt0gt"]
[resource]
resource_name = "Pickaxe"
script = ExtResource("3_gt0gt")
name = "Wrench"
scene = ExtResource("2_8uss6")
icon = ExtResource("1_b5epx")

View File

@ -1,12 +1,12 @@
~ start ~ start
Chloe: Mist! Ich habe meinen Hammer verlegt. Irgendwo in der Nähe des Strands. Chloe: Mist! Ohne meinen Hammer kann ich die Brücke nicht fertig bauen!
Chloe: Kannst Du mir helfen? Chloe: Hast Du meinen Hammer gesehen?
- Klar! - Ja!
Chloe: Vielen Dank! Chloe: Du scheinst keinen Hammer zu haben. Oder weißt nicht was ein Hammer ist.
- Lieber nicht. - Lieber nicht.
Chloe: Schade! Chloe: Schade!
- Wo ist der Strand? - Wo kann er denn sein?
Chloe: Weiter im Osten. Wenn Du ein paar Schritte gehst hörst Du schon die Möwen.viva Chloe: Vielleicht habe ich ihn beim Strand verloren.
=> END => END