1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-28 18:54:19 +00:00
pineapple-surf/island/CropTile.tscn

58 lines
3.9 KiB
Text
Raw Normal View History

2023-01-08 09:01:13 +00:00
[gd_scene load_steps=8 format=3 uid="uid://cf35yl04qtru3"]
2023-01-07 22:56:57 +00:00
[ext_resource type="Script" path="res://island/CropTile.gd" id="1_7lls2"]
2023-01-07 23:09:14 +00:00
[ext_resource type="Material" uid="uid://w0ipvdnh4l8s" path="res://island/CropMaterial.tres" id="2_1oajr"]
2023-01-08 09:01:13 +00:00
[ext_resource type="Script" path="res://island/Producer.gd" id="2_jejoo"]
2023-01-08 06:41:28 +00:00
[ext_resource type="AudioStream" uid="uid://lkftwgdun745" path="res://assets/pop.wav" id="3_gur2a"]
[ext_resource type="Script" path="res://island/Pop.gd" id="4_5e7wk"]
2023-01-07 22:56:57 +00:00
[sub_resource type="BoxShape3D" id="BoxShape3D_370jp"]
2023-01-07 22:56:57 +00:00
size = Vector3(1, 0.1, 1)
[sub_resource type="ArrayMesh" id="ArrayMesh_i27yi"]
2023-01-07 22:56:57 +00:00
_surfaces = [{
"aabb": AABB(-0.5, 0, -0.5, 1.00001, 1.00001, 1),
"attribute_data": PackedByteArray(143, 194, 117, 63, 183, 109, 91, 63, 31, 133, 107, 63, 219, 182, 109, 63, 31, 133, 107, 63, 183, 109, 91, 63, 143, 194, 117, 63, 219, 182, 109, 63, 143, 194, 117, 63, 183, 109, 91, 63, 31, 133, 107, 63, 183, 109, 91, 63, 31, 133, 107, 63, 219, 182, 109, 63, 143, 194, 117, 63, 219, 182, 109, 63, 143, 194, 117, 63, 183, 109, 91, 63, 31, 133, 107, 63, 183, 109, 91, 63, 31, 133, 107, 63, 219, 182, 109, 63, 143, 194, 117, 63, 219, 182, 109, 63, 143, 194, 117, 63, 183, 109, 91, 63, 31, 133, 107, 63, 183, 109, 91, 63, 31, 133, 107, 63, 219, 182, 109, 63, 143, 194, 117, 63, 219, 182, 109, 63),
"format": 4119,
"index_count": 24,
"index_data": PackedByteArray(0, 0, 1, 0, 2, 0, 3, 0, 1, 0, 0, 0, 4, 0, 5, 0, 6, 0, 7, 0, 4, 0, 6, 0, 8, 0, 9, 0, 10, 0, 11, 0, 8, 0, 10, 0, 12, 0, 13, 0, 14, 0, 15, 0, 12, 0, 14, 0),
2023-01-07 23:09:14 +00:00
"material": ExtResource("2_1oajr"),
"name": "material0",
2023-01-07 22:56:57 +00:00
"primitive": 3,
"vertex_count": 16,
"vertex_data": PackedByteArray(0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 0, 191, 255, 191, 255, 127, 255, 255, 255, 223, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 0, 63, 255, 191, 255, 127, 255, 255, 255, 223, 0, 0, 0, 191, 0, 0, 128, 63, 0, 0, 0, 63, 255, 191, 255, 127, 255, 255, 255, 223, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 191, 255, 191, 255, 127, 255, 255, 255, 223, 0, 0, 0, 191, 0, 0, 128, 63, 0, 0, 0, 191, 255, 63, 255, 127, 0, 0, 255, 31, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 0, 63, 255, 63, 255, 127, 0, 0, 255, 31, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 63, 255, 63, 255, 127, 0, 0, 255, 31, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 0, 191, 255, 63, 255, 127, 0, 0, 255, 31, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 0, 191, 0, 0, 255, 191, 255, 255, 255, 31, 0, 0, 0, 191, 0, 0, 128, 63, 0, 0, 0, 63, 0, 0, 255, 191, 255, 255, 255, 31, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 0, 63, 0, 0, 255, 191, 255, 255, 255, 31, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 191, 0, 0, 255, 191, 255, 255, 255, 31, 0, 0, 0, 63, 0, 0, 128, 63, 0, 0, 0, 63, 255, 255, 255, 191, 255, 191, 255, 63, 0, 0, 0, 191, 0, 0, 128, 63, 0, 0, 0, 191, 255, 255, 255, 191, 255, 191, 255, 63, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 0, 191, 255, 255, 255, 191, 255, 191, 255, 63, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 63, 255, 255, 255, 191, 255, 191, 255, 63)
}]
[node name="CropTile" type="Node3D"]
script = ExtResource("1_7lls2")
2023-01-08 09:01:13 +00:00
[node name="Producer" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0.5)
script = ExtResource("2_jejoo")
2023-01-07 22:56:57 +00:00
[node name="Plant" type="Area3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0.5)
collision_layer = 16
collision_mask = 0
2023-01-07 22:56:57 +00:00
[node name="PlantableArea" type="CollisionShape3D" parent="Plant"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.05, 0)
shape = SubResource("BoxShape3D_370jp")
2023-01-07 22:56:57 +00:00
[node name="Sprout" type="MeshInstance3D" parent="Plant"]
transform = Transform3D(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
mesh = SubResource("ArrayMesh_i27yi")
2023-01-07 22:56:57 +00:00
skeleton = NodePath("../../..")
[node name="GrowthTimer" type="Timer" parent="."]
2023-01-08 06:41:28 +00:00
wait_time = 2.0
2023-01-08 12:09:34 +00:00
one_shot = true
2023-01-08 06:41:28 +00:00
[node name="Pop" type="AudioStreamPlayer3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0.1, 0.5)
stream = ExtResource("3_gur2a")
attenuation_filter_cutoff_hz = 20500.0
script = ExtResource("4_5e7wk")
2023-01-07 22:56:57 +00:00
[connection signal="timeout" from="GrowthTimer" to="." method="complete"]