82 lines
3.0 KiB
Plaintext
82 lines
3.0 KiB
Plaintext
[gd_scene load_steps=11 format=2]
|
|
|
|
[ext_resource path="res://scenes/item_holder.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://scripts/oven/oven.gd" type="Script" id=2]
|
|
[ext_resource path="res://scenes/coin_machine.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://scenes/item_dump.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://scenes/status_light.tscn" type="PackedScene" id=5]
|
|
[ext_resource path="res://item_types/repair_kit.tres" type="Resource" id=6]
|
|
|
|
[sub_resource type="SpatialMaterial" id=1]
|
|
albedo_color = Color( 0, 0, 0, 1 )
|
|
|
|
[sub_resource type="CylinderMesh" id=2]
|
|
material = SubResource( 1 )
|
|
top_radius = 0.5
|
|
bottom_radius = 0.5
|
|
height = 0.1
|
|
radial_segments = 9
|
|
|
|
[sub_resource type="BoxShape" id=4]
|
|
extents = Vector3( 0.648623, 1, 0.516904 )
|
|
|
|
[sub_resource type="CubeMesh" id=3]
|
|
size = Vector3( 1.362, 0.49, 0.081 )
|
|
|
|
[node name="oven" type="Spatial" groups=["damageable"]]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0063355, 0.00319374, -0.00456095 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="CSGBox" type="CSGBox" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.497031, 0 )
|
|
use_collision = true
|
|
width = 1.36825
|
|
height = 1.04121
|
|
depth = 1.24388
|
|
|
|
[node name="CSGBox2" type="CSGBox" parent="CSGBox"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.000755012, -0.038668, 0.154754 )
|
|
operation = 2
|
|
width = 1.20449
|
|
height = 0.784214
|
|
depth = 1.29741
|
|
|
|
[node name="coil" type="MeshInstance" parent="CSGBox"]
|
|
unique_name_in_owner = true
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00424552, 0.556925, -0.00761187 )
|
|
mesh = SubResource( 2 )
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="item_holder" parent="CSGBox/coil" instance=ExtResource( 1 )]
|
|
unique_name_in_owner = true
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00424552, 0.0865635, 0.00761187 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="CSGBox/coil/item_holder"]
|
|
shape = SubResource( 4 )
|
|
|
|
[node name="backsplash" type="MeshInstance" parent="CSGBox"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00424552, 0.556925, -0.575066 )
|
|
mesh = SubResource( 3 )
|
|
skeleton = NodePath("../..")
|
|
|
|
[node name="coin_machine" parent="." instance=ExtResource( 3 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.621351, 0 )
|
|
|
|
[node name="item_dump" parent="." instance=ExtResource( 4 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.733121, 0 )
|
|
collision_layer = 8
|
|
collision_mask = 0
|
|
item_type_0 = ExtResource( 6 )
|
|
item_count_0 = 1
|
|
|
|
[node name="status_light" parent="." instance=ExtResource( 5 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.232042, 0.967385 )
|
|
|
|
[node name="cook_timer" type="Timer" parent="."]
|
|
one_shot = true
|
|
|
|
[connection signal="item_changed" from="CSGBox/coil/item_holder" to="." method="_on_item_holder_item_changed"]
|
|
[connection signal="coin_requirement_met" from="coin_machine" to="." method="_on_coin_machine_coin_requirement_met"]
|
|
[connection signal="item_dump_completed" from="item_dump" to="." method="_on_item_dump_completed"]
|
|
[connection signal="timeout" from="cook_timer" to="." method="_on_cook_timer_timeout"]
|