grunk/levels/mechanic_test/item_test.tscn

59 lines
4.5 KiB
Plaintext
Raw Permalink Normal View History

2025-03-21 12:07:05 -06:00
[gd_scene load_steps=9 format=3 uid="uid://dbabcsp38wmid"]
[ext_resource type="Script" uid="uid://bhx3bug3prp50" path="res://levels/mechanic_test/item_test.gd" id="1_fcmux"]
[ext_resource type="PackedScene" uid="uid://bn8fdu4houoo2" path="res://src/world/world_item/world_item.tscn" id="1_l8xgj"]
[ext_resource type="Resource" uid="uid://c6ynovu3h6twl" path="res://levels/ghost_ship/item_data/eyeballs.tres" id="2_fcmux"]
[ext_resource type="PackedScene" uid="uid://ctr56p23cvupu" path="res://src/props/retinal_scanner/retinal_scanner.tscn" id="3_8dd7v"]
[sub_resource type="CylinderMesh" id="CylinderMesh_f342o"]
height = 1.0
radial_segments = 8
rings = 0
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_cgmn0"]
data = PackedVector3Array(0, 0.5, 0.5, 0.3536, 0.5, 0.3536, 0, -0.5, 0.5, 0.3536, 0.5, 0.3536, 0.3536, -0.5, 0.3536, 0, -0.5, 0.5, 0.3536, 0.5, 0.3536, 0.5, 0.5, 0, 0.3536, -0.5, 0.3536, 0.5, 0.5, 0, 0.5, -0.5, 0, 0.3536, -0.5, 0.3536, 0.5, 0.5, 0, 0.3536, 0.5, -0.3536, 0.5, -0.5, 0, 0.3536, 0.5, -0.3536, 0.3536, -0.5, -0.3536, 0.5, -0.5, 0, 0.3536, 0.5, -0.3536, 0, 0.5, -0.5, 0.3536, -0.5, -0.3536, 0, 0.5, -0.5, 0, -0.5, -0.5, 0.3536, -0.5, -0.3536, 0, 0.5, -0.5, -0.3536, 0.5, -0.3536, 0, -0.5, -0.5, -0.3536, 0.5, -0.3536, -0.3536, -0.5, -0.3536, 0, -0.5, -0.5, -0.3536, 0.5, -0.3536, -0.5, 0.5, 0, -0.3536, -0.5, -0.3536, -0.5, 0.5, 0, -0.5, -0.5, 0, -0.3536, -0.5, -0.3536, -0.5, 0.5, 0, -0.3536, 0.5, 0.3536, -0.5, -0.5, 0, -0.3536, 0.5, 0.3536, -0.3536, -0.5, 0.3536, -0.5, -0.5, 0, -0.3536, 0.5, 0.3536, 0, 0.5, 0.5, -0.3536, -0.5, 0.3536, 0, 0.5, 0.5, 0, -0.5, 0.5, -0.3536, -0.5, 0.3536, 0, 0.5, 0, 0.3536, 0.5, 0.3536, 0, 0.5, 0.5, 0, 0.5, 0, 0.5, 0.5, 0, 0.3536, 0.5, 0.3536, 0, 0.5, 0, 0.3536, 0.5, -0.3536, 0.5, 0.5, 0, 0, 0.5, 0, 0, 0.5, -0.5, 0.3536, 0.5, -0.3536, 0, 0.5, 0, -0.3536, 0.5, -0.3536, 0, 0.5, -0.5, 0, 0.5, 0, -0.5, 0.5, 0, -0.3536, 0.5, -0.3536, 0, 0.5, 0, -0.3536, 0.5, 0.3536, -0.5, 0.5, 0, 0, 0.5, 0, 0, 0.5, 0.5, -0.3536, 0.5, 0.3536, 0, -0.5, 0, 0, -0.5, 0.5, 0.3536, -0.5, 0.3536, 0, -0.5, 0, 0.3536, -0.5, 0.3536, 0.5, -0.5, 0, 0, -0.5, 0, 0.5, -0.5, 0, 0.3536, -0.5, -0.3536, 0, -0.5, 0, 0.3536, -0.5, -0.3536, 0, -0.5, -0.5, 0, -0.5, 0, 0, -0.5, -0.5, -0.3536, -0.5, -0.3536, 0, -0.5, 0, -0.3536, -0.5, -0.3536, -0.5, -0.5, 0, 0, -0.5, 0, -0.5, -0.5, 0, -0.3536, -0.5, 0.3536, 0, -0.5, 0, -0.3536, -0.5, 0.3536, 0, -0.5, 0.5)
[sub_resource type="BoxMesh" id="BoxMesh_goufh"]
size = Vector3(0.5, 2, 0.5)
[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_bg05n"]
data = PackedVector3Array(-0.25, 1, 0.25, 0.25, 1, 0.25, -0.25, -1, 0.25, 0.25, 1, 0.25, 0.25, -1, 0.25, -0.25, -1, 0.25, 0.25, 1, -0.25, -0.25, 1, -0.25, 0.25, -1, -0.25, -0.25, 1, -0.25, -0.25, -1, -0.25, 0.25, -1, -0.25, 0.25, 1, 0.25, 0.25, 1, -0.25, 0.25, -1, 0.25, 0.25, 1, -0.25, 0.25, -1, -0.25, 0.25, -1, 0.25, -0.25, 1, -0.25, -0.25, 1, 0.25, -0.25, -1, -0.25, -0.25, 1, 0.25, -0.25, -1, 0.25, -0.25, -1, -0.25, 0.25, 1, 0.25, -0.25, 1, 0.25, 0.25, 1, -0.25, -0.25, 1, 0.25, -0.25, 1, -0.25, 0.25, 1, -0.25, -0.25, -1, 0.25, 0.25, -1, 0.25, -0.25, -1, -0.25, 0.25, -1, 0.25, 0.25, -1, -0.25, -0.25, -1, -0.25)
[node name="ItemTest" type="Node3D"]
script = ExtResource("1_fcmux")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
mesh = SubResource("CylinderMesh_f342o")
skeleton = NodePath("../..")
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
shape = SubResource("ConcavePolygonShape3D_cgmn0")
[node name="WorldItem" parent="MeshInstance3D" instance=ExtResource("1_l8xgj")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, 0)
item = ExtResource("2_fcmux")
[node name="Label3D" type="Label3D" parent="MeshInstance3D/WorldItem"]
pixel_size = 0.001
billboard = 2
text = "[Eyeballs]"
font_size = 72
outline_size = 24
[node name="ScannerPodium" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5, 1, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="ScannerPodium"]
mesh = SubResource("BoxMesh_goufh")
[node name="CollisionShape3D" type="CollisionShape3D" parent="ScannerPodium"]
shape = SubResource("ConcavePolygonShape3D_bg05n")
[node name="RetinalScanner" parent="ScannerPodium" instance=ExtResource("3_8dd7v")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0.35)
[connection signal="activated" from="ScannerPodium/RetinalScanner" to="." method="_on_retinal_scanner_activated"]