57 lines
2.4 KiB
Plaintext
57 lines
2.4 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://1b2ikdanl66b"]
|
|
|
|
[ext_resource type="Script" uid="uid://bivtfdl3p1brv" path="res://Scenes/CardPrinter/card_printer.gd" id="1_qft15"]
|
|
[ext_resource type="PackedScene" uid="uid://dq8v5e11rvyi6" path="res://plan.tscn" id="2_8jpsw"]
|
|
[ext_resource type="Script" uid="uid://dkfswql8ui0bt" path="res://Scripts/interact_button.gd" id="4_eavi1"]
|
|
[ext_resource type="AudioStream" uid="uid://dknygn5eyuhxt" path="res://Audio/shot1.wav" id="5_m033a"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s02au"]
|
|
albedo_color = Color(0.203922, 0.592157, 0.592157, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_0ebt5"]
|
|
size = Vector3(2, 2.1, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_ikdwj"]
|
|
size = Vector3(1.29447, 0.342125, 0.277604)
|
|
|
|
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_73g2w"]
|
|
random_pitch = 1.1
|
|
streams_count = 1
|
|
stream_0/stream = ExtResource("5_m033a")
|
|
|
|
[node name="CardPrinter" type="StaticBody3D" node_paths=PackedStringArray("button_collider", "button_box")]
|
|
script = ExtResource("1_qft15")
|
|
item_card_scene = ExtResource("2_8jpsw")
|
|
button_collider = NodePath("StaticBody3D/CollisionShape3D2")
|
|
button_box = NodePath("StaticBody3D/CollisionShape3D2/CSGBox3D")
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.05, 0)
|
|
size = Vector3(2, 2.1, 1)
|
|
material = SubResource("StandardMaterial3D_s02au")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.05, 0)
|
|
shape = SubResource("BoxShape3D_0ebt5")
|
|
|
|
[node name="StaticBody3D" type="StaticBody3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.847404, 0.610684)
|
|
collision_layer = 16
|
|
collision_mask = 0
|
|
script = ExtResource("4_eavi1")
|
|
press_cost = 15
|
|
hover_text = "[center]#Interact# to spend $15 on random card"
|
|
|
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="StaticBody3D"]
|
|
shape = SubResource("BoxShape3D_ikdwj")
|
|
|
|
[node name="CSGBox3D" type="CSGBox3D" parent="StaticBody3D/CollisionShape3D2"]
|
|
size = Vector3(1.29447, 0.342125, 0.277604)
|
|
|
|
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="StaticBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.010989, -0.086501)
|
|
stream = SubResource("AudioStreamRandomizer_73g2w")
|
|
bus = &"SFX"
|
|
|
|
[connection signal="button_interacted" from="StaticBody3D" to="." method="_on_static_body_3d_button_interacted"]
|