diff options
author | nokoe <nokoe@mailbox.org> | 2025-09-30 22:16:50 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2025-09-30 22:21:22 +0200 |
commit | eb387907613e53be1e023080500046d8d4d20f4c (patch) | |
tree | e60dd8d0740a1faaa96ebc9c0ec5614a70facc17 | |
parent | f15c20e887a58ae8d65c6d4f240d74a3b74cd55d (diff) | |
download | hurrycurry-eb387907613e53be1e023080500046d8d4d20f4c.tar hurrycurry-eb387907613e53be1e023080500046d8d4d20f4c.tar.bz2 hurrycurry-eb387907613e53be1e023080500046d8d4d20f4c.tar.zst |
unknown item texture
-rw-r--r-- | client/gui/menus/main/background.tscn | 2 | ||||
-rw-r--r-- | client/map/items/unknown_item.gd | 2 | ||||
-rw-r--r-- | client/map/items/unknown_item.tscn | 15 |
3 files changed, 17 insertions, 2 deletions
diff --git a/client/gui/menus/main/background.tscn b/client/gui/menus/main/background.tscn index 2bd4ee04..c1b11c7d 100644 --- a/client/gui/menus/main/background.tscn +++ b/client/gui/menus/main/background.tscn @@ -33,8 +33,8 @@ fractal_gain = 0.72 width = 1024 height = 1024 generate_mipmaps = false -seamless = true noise = SubResource("FastNoiseLite_e3eby") +seamless = true [sub_resource type="ShaderMaterial" id="ShaderMaterial_gd87g"] render_priority = 0 diff --git a/client/map/items/unknown_item.gd b/client/map/items/unknown_item.gd index 991f6a3e..ec6cab1a 100644 --- a/client/map/items/unknown_item.gd +++ b/client/map/items/unknown_item.gd @@ -18,7 +18,7 @@ extends Item func _init(owned_by_: Node3D, t: String): super(owned_by_) - #add_child(load("res://models/prefabs/map/bag.tscn").instantiate()) + add_child(load("res://map/items/unknown_item.tscn").instantiate()) var label = Label3D.new() label.text = t label.position.y = 0.5 diff --git a/client/map/items/unknown_item.tscn b/client/map/items/unknown_item.tscn new file mode 100644 index 00000000..5e8b317a --- /dev/null +++ b/client/map/items/unknown_item.tscn @@ -0,0 +1,15 @@ +[gd_scene load_steps=3 format=3 uid="uid://cw54drt6oqxpd"] + +[sub_resource type="BoxMesh" id="BoxMesh_e6d7n"] + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_voy47"] +albedo_color = Color(1, 0, 1, 1) +emission_enabled = true +emission = Color(1, 0, 1, 1) + +[node name="UnknownItem" type="Node3D"] + +[node name="MeshInstance3D" type="MeshInstance3D" parent="."] +transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0.2, 0) +mesh = SubResource("BoxMesh_e6d7n") +surface_material_override/0 = SubResource("StandardMaterial3D_voy47") |