Files
SpaceBots/Minigames/Initiators/MinigameFuseBox.tscn
2026-01-21 23:40:20 +01:00

39 lines
1.7 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://md1qkedi16r6"]
[ext_resource type="Script" uid="uid://xe2cfvuij76h" path="res://Minigames/Initiators/minigame_fuse_box.gd" id="1_dv4be"]
[ext_resource type="Script" uid="uid://ymaax1x5fos3" path="res://script/interactBox.gd" id="2_s6xia"]
[ext_resource type="Script" uid="uid://cjiiw7cybj24b" path="res://script/ButtonLogicImpulse.gd" id="3_v532u"]
[sub_resource type="BoxShape3D" id="BoxShape3D_j2y4x"]
size = Vector3(1, 0.75, 0.35)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dv4be"]
albedo_color = Color(1, 0.011764706, 0, 1)
[node name="MinigameFuseBox" type="Node3D"]
script = ExtResource("1_dv4be")
[node name="InteractBox" type="Area3D" parent="." node_paths=PackedStringArray("object")]
script = ExtResource("2_s6xia")
object = NodePath("../ButtonLogicImpulse")
type = "minigame"
metadata/_custom_type_script = "uid://ymaax1x5fos3"
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractBox"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
shape = SubResource("BoxShape3D_j2y4x")
[node name="ButtonLogicImpulse" type="Timer" parent="." node_paths=PackedStringArray("interactBox")]
script = ExtResource("3_v532u")
interactBox = NodePath("../InteractBox")
metadata/_custom_type_script = "uid://cjiiw7cybj24b"
[node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0)
size = Vector3(1, 0.75, 0.35)
[node name="CSGBox3D2" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.31196976, 1.6802979, 0.15137061)
size = Vector3(0.3008423, 0.27441406, 0.1696289)
material = SubResource("StandardMaterial3D_dv4be")