ygdra/entity/chest.tscn

49 lines
1.2 KiB
Plaintext

[gd_scene load_steps=9 format=2]
[sub_resource type="CubeMesh" id=1]
size = Vector3( 0.2, 0.2, 0.6 )
[sub_resource type="OpenSimplexNoise" id=2]
period = 12.0
persistence = 0.3
lacunarity = 4.0
[sub_resource type="NoiseTexture" id=3]
height = 8
noise = SubResource( 2 )
[sub_resource type="SpatialMaterial" id=4]
albedo_color = Color( 0.756863, 0.658824, 0.321569, 1 )
albedo_texture = SubResource( 3 )
[sub_resource type="CylinderMesh" id=5]
top_radius = 0.1
bottom_radius = 0.1
height = 0.59
[sub_resource type="OpenSimplexNoise" id=6]
period = 12.0
persistence = 0.3
lacunarity = 4.0
[sub_resource type="NoiseTexture" id=7]
height = 8
bump_strength = 20.0
noise = SubResource( 6 )
[sub_resource type="SpatialMaterial" id=8]
albedo_color = Color( 0.756863, 0.658824, 0.321569, 1 )
albedo_texture = SubResource( 7 )
[node name="Chest" type="Spatial"]
[node name="Bottom" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0 )
mesh = SubResource( 1 )
material/0 = SubResource( 4 )
[node name="Top" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.2, 0 )
mesh = SubResource( 5 )
material/0 = SubResource( 8 )