[gd_scene load_steps=8 format=2]

[ext_resource path="res://scenes/item_dump.tscn" type="PackedScene" id=1]
[ext_resource path="res://scripts/comm_station/comm_station.gd" type="Script" id=2]
[ext_resource path="res://scenes/coin_machine.tscn" type="PackedScene" id=3]
[ext_resource path="res://item_types/ore.tres" type="Resource" id=4]
[ext_resource path="res://item_types/repair_kit.tres" type="Resource" id=5]

[sub_resource type="PrismMesh" id=2]

[sub_resource type="CylinderShape" id=3]

[node name="comm_station" type="Spatial"]
script = ExtResource( 2 )

[node name="MeshInstance" type="MeshInstance" parent="."]
mesh = SubResource( 2 )

[node name="status_text" type="Label3D" parent="MeshInstance"]
unique_name_in_owner = true
transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 1.63295, -0.727839 )
text = "Status: Broken"

[node name="StaticBody" type="StaticBody" parent="."]

[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
shape = SubResource( 3 )

[node name="item_dump" parent="." instance=ExtResource( 1 )]
unique_name_in_owner = true
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.87031, 0, 0 )
collision_layer = 8
collision_mask = 4
item_type_0 = ExtResource( 5 )
item_count_0 = 1
item_type_1 = ExtResource( 4 )
item_count_1 = 1

[node name="coin_machine" parent="." instance=ExtResource( 3 )]
unique_name_in_owner = true

[connection signal="item_dump_completed" from="item_dump" to="." method="_on_item_dump_item_dump_completed"]
[connection signal="item_dumped" from="item_dump" to="." method="_on_item_dump_item_dumped"]
[connection signal="coin_requirement_met" from="coin_machine" to="." method="_on_coin_machine_coin_requirement_met"]
