[gd_scene load_steps=39 format=3 uid="uid://dktbrrlbx7wf1"] [ext_resource type="Script" uid="uid://dla1wn2mlw2d0" path="res://addons/rokojori_action_library/Runtime/Interactions/Pointable.cs" id="1_w2vv5"] [ext_resource type="Script" uid="uid://c5vxa38rgr24k" path="res://addons/rokojori_action_library/Runtime/Selectors/Selectable.cs" id="2_uei4a"] [ext_resource type="Resource" uid="uid://bj6alvuyy0ymt" path="res://Eat Da Rich/Pig/Pig.tres" id="3_xqs7e"] [ext_resource type="Script" uid="uid://h8la67dl42y4" path="res://Eat Da Rich/Eat/Eatable.cs" id="4_kaxbo"] [ext_resource type="Script" uid="uid://ceaglilesxsi4" path="res://addons/rokojori_action_library/Runtime/Actions/ActionSequence.cs" id="5_no8e2"] [ext_resource type="Script" uid="uid://crm7o7w0gumhn" path="res://addons/rokojori_action_library/Runtime/Actions/Conditional/Once.cs" id="5_uei4a"] [ext_resource type="Script" uid="uid://bnhnintao4qu0" path="res://addons/rokojori_action_library/Runtime/Animation/Shake/Shake.cs" id="6_dg4v6"] [ext_resource type="Script" uid="uid://bec6skfqkb2ci" path="res://addons/rokojori_action_library/Runtime/Animation/Shake/ShakeEffect.cs" id="7_8pk3o"] [ext_resource type="Script" uid="uid://dnwqkymbre3vb" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Flash.cs" id="7_kaxbo"] [ext_resource type="Script" uid="uid://dy65lu5p2yf3j" path="res://addons/rokojori_action_library/Runtime/Actions/Sequence/Parallel.cs" id="7_no8e2"] [ext_resource type="Script" uid="uid://c5tm02yj1bhhx" path="res://addons/rokojori_action_library/Runtime/Animation/AnimationCurve.cs" id="8_35rgq"] [ext_resource type="Resource" uid="uid://cwdnm658q3jta" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Presets/Red Hit - Flash.tres" id="8_no8e2"] [ext_resource type="Resource" uid="uid://ch5nsa6yafs5l" path="res://addons/rokojori_action_library/Runtime/Time/TimeLines/GameTime.tres" id="9_oaox2"] [ext_resource type="Script" uid="uid://cbtqgliarexam" path="res://addons/rokojori_action_library/Runtime/Animation/Transform/AnimateTransform.cs" id="10_y4t02"] [ext_resource type="Script" uid="uid://be4oc7tgr55vu" path="res://addons/rokojori_action_library/Runtime/Animation/Transform/TransformCurve.cs" id="11_war2p"] [ext_resource type="Script" uid="uid://bqpiwp16h7614" path="res://addons/rokojori_action_library/Runtime/Animation/Transform/TransformAnimations.cs" id="12_l6ovb"] [ext_resource type="Script" uid="uid://bex6umukt0r8d" path="res://addons/rokojori_action_library/Runtime/Actions/Node/SetNodeState.cs" id="13_1fftn"] [ext_resource type="Script" uid="uid://dq5kae8x62gre" path="res://addons/rokojori_action_library/Runtime/Actions/RemoveNode.cs" id="18_dg4v6"] [ext_resource type="Script" uid="uid://b02vfydrj7lwv" path="res://Eat Da Rich/Pig/Pig.cs" id="19_8pk3o"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_id7i5"] height = 1.47037 [sub_resource type="FastNoiseLite" id="FastNoiseLite_dgrd7"] frequency = 0.0047 [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_u71my"] seamless = true as_normal_map = true noise = SubResource("FastNoiseLite_dgrd7") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u71my"] albedo_color = Color(0.855726, 0.485718, 0.475136, 1) normal_enabled = true normal_texture = SubResource("NoiseTexture2D_u71my") subsurf_scatter_enabled = true subsurf_scatter_strength = 1.0 subsurf_scatter_skin_mode = true [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6c5hc"] albedo_color = Color(0.426682, 0.196358, 0.18977, 1) subsurf_scatter_enabled = true subsurf_scatter_strength = 1.0 subsurf_scatter_skin_mode = true [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_bsxqg"] albedo_color = Color(0.138843, 0.117268, 0.117268, 1) metallic = 0.48 metallic_specular = 0.87 roughness = 0.38 [sub_resource type="FastNoiseLite" id="FastNoiseLite_6c5hc"] [sub_resource type="NoiseTexture2D" id="NoiseTexture2D_7yqqi"] as_normal_map = true noise = SubResource("FastNoiseLite_6c5hc") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cnln1"] albedo_color = Color(0.600472, 0.324842, 0.156492, 1) metallic = 0.05 metallic_specular = 0.87 normal_enabled = true normal_texture = SubResource("NoiseTexture2D_7yqqi") uv1_triplanar = true [sub_resource type="Curve" id="Curve_j2uji"] _data = [Vector2(0, 1), 0.0, -2.52056, 0, 0, Vector2(1, 0), -0.513513, 0.0, 0, 0] point_count = 2 [sub_resource type="Resource" id="Resource_jwnpm"] script = ExtResource("8_35rgq") duration = 1.0 durationRandomRange = 0.0 delay = 0.0 delayRandomRange = 0.0 curve = SubResource("Curve_j2uji") scaleY = 1.0 scaleRandomRange = 0.0 [sub_resource type="Curve" id="Curve_c1l7g"] _limits = [-1.0, 1.0, 0.0, 1.0] _data = [Vector2(0, 1), 0.0, 0.0, 0, 1, Vector2(1, 1), 0.0, 0.0, 1, 0] point_count = 2 [sub_resource type="Resource" id="Resource_qub8t"] script = ExtResource("8_35rgq") duration = 1.0 durationRandomRange = 0.0 delay = 0.0 delayRandomRange = 0.0 curve = SubResource("Curve_c1l7g") scaleY = 30.0 scaleRandomRange = 0.0 [sub_resource type="Resource" id="Resource_vhqgj"] script = ExtResource("7_8pk3o") shakeAmountCurve = SubResource("Resource_jwnpm") shakeChangeFPSCurve = SubResource("Resource_qub8t") timeline = ExtResource("9_oaox2") smooth = true smoothingStrength = 0.477 positionShake = Vector3(0.075, 0, 0.075) globalPosition = false repeatAndFlipFirstPosition = true rotationShake = Vector3(1, 1, 30) globalRotation = false scaleShake = Vector3(1, 1, 1) scaleShakeIsRelative = true [sub_resource type="Curve" id="Curve_5we2d"] _data = [Vector2(0, 1), 0.0, -1.0, 0, 1, Vector2(1, 0), -1.0, 0.0, 1, 0] point_count = 2 [sub_resource type="Curve" id="Curve_1pe2k"] _limits = [0.0, 3.0, 0.0, 1.0] _data = [Vector2(0, 0.947368), 0.0, 12.9274, 0, 1, Vector2(0.100733, 2.24958), 0.0, 0.0, 0, 0, Vector2(0.283883, 0.395586), 0.0, 0.0, 0, 0, Vector2(0.437729, 1.03565), 0.0, 0.0, 0, 0, Vector2(0.661172, 0.417657), 0.0, 0.0, 0, 0, Vector2(1, 0), -0.499578, 0.0, 0, 0] point_count = 6 [sub_resource type="Curve" id="Curve_bpoiw"] _data = [Vector2(0, 1), 0.0, -1.0, 0, 1, Vector2(1, 0), -1.0, 0.0, 1, 0] point_count = 2 [sub_resource type="Resource" id="Resource_w3lcy"] script = ExtResource("11_war2p") transformTarget = 4 operatorMode = 0 duration = 0.5 durationRandomRange = 0.0 delay = 0.0 delayRandomRange = 0.0 xCurve = SubResource("Curve_5we2d") yCurve = SubResource("Curve_1pe2k") zCurve = SubResource("Curve_bpoiw") scaleAll = 1.0 scaleAllRandomRange = 0.0 metadata/_custom_type_script = "uid://be4oc7tgr55vu" [sub_resource type="Resource" id="Resource_t8ff4"] script = ExtResource("12_l6ovb") curves = [SubResource("Resource_w3lcy")] timeline = ExtResource("9_oaox2") metadata/_custom_type_script = "uid://bqpiwp16h7614" [node name="Pig Scene" type="Node3D"] [node name="RigidBody3D" type="RigidBody3D" parent="."] [node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"] shape = SubResource("CapsuleShape3D_id7i5") [node name="Graphics" type="Node3D" parent="RigidBody3D"] transform = Transform3D(1.3506, 0, 0, 0, 1.3506, 0, 0, 0, 1.3506, 0, 0, 0) [node name="Offset" type="Node3D" parent="RigidBody3D/Graphics"] [node name="Body" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.011898, -0.0175414, 0.0182385) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D2" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.159782, 0.160901, 0, -0.0997302, 0.257785, 0, 0, 0, 0.12952, 0.256615, 0.385415, 0) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D3" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(-0.201998, -0.100884, 9.02445e-09, -0.12608, 0.16163, 0, -1.76593e-08, -8.81955e-09, -0.103228, -0.350233, 0.385415, 0) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D4" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.525495, 0, 0, 0, 0.525495, 0, 0, 0, 0.301707, -0.000405312, 0.135923, -0.416048) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D9" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.332198, 0, 0, 0, 0.332198, 0, 0, 0, 0.332198, 0.477757, -0.273362, -0.209122) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D10" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.332198, 0, 0, 0, 0.332198, 0, 0, 0, 0.332198, -0.439013, -0.273362, -0.209122) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D11" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.332198, 0, 0, 0, 0.332198, 0, 0, 0, 0.332198, -0.350773, -0.273362, 0.26837) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D12" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.332198, 0, 0, 0, 0.332198, 0, 0, 0, 0.332198, 0.33382, -0.268165, 0.273206) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D7" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.189214, 0, -0.011165, 0, 0.190211, 0, 0.0194466, 0, 0.108635, 0.0993071, 0.141719, -0.51644) material = SubResource("StandardMaterial3D_6c5hc") [node name="CSGSphere3D8" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.188923, 0, 0.0126864, 0, 0.190211, 0, -0.0220964, 0, 0.108468, -0.0744991, 0.141719, -0.534303) material = SubResource("StandardMaterial3D_6c5hc") [node name="CSGSphere3D5" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.323608, 0, 0, 0, 0.323608, 0, 0, 0, 0.252396, -0.000405312, -0.149691, 0.440471) material = SubResource("StandardMaterial3D_u71my") [node name="CSGSphere3D6" type="CSGSphere3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.179967, 0, 0, 0, 0.174226, -0.0351703, 0, 0.0450935, 0.135886, -0.000405312, -0.248485, 0.533977) material = SubResource("StandardMaterial3D_u71my") [node name="CSGBox3D" type="CSGBox3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.23395, -0.0439187, -0.0170006, 0.079734, 0.128863, -0.0057941, 0.0763209, -1.15745e-09, 0.0581659, 0.163481, 0.428784, -0.32263) material = SubResource("StandardMaterial3D_bsxqg") [node name="CSGBox3D2" type="CSGBox3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.213616, 0.0685158, 0.0154939, -0.124488, 0.117644, -0.00896392, -0.0760623, -0.00012076, 0.0581846, -0.150858, 0.444555, -0.323829) material = SubResource("StandardMaterial3D_bsxqg") [node name="CSGBox3D3" type="CSGBox3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.305897, 0, 0, 0, 0.203093, -0.0203026, 0, 0.0129341, 0.318793, -0.0111122, 0.520152, 0.0322354) material = SubResource("StandardMaterial3D_cnln1") [node name="CSGBox3D6" type="CSGBox3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.119464, 0.111607, 7.02111e-10, -0.0468186, 0.25913, -0.0294627, 0.0147304, -0.0815293, -0.093643, 0.075932, 0.439861, -0.143501) material = SubResource("StandardMaterial3D_cnln1") [node name="CSGBox3D7" type="CSGBox3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.122434, -0.0934989, 0, 0.0392224, 0.265571, -0.0294626, -0.0123404, -0.0835558, -0.093643, -0.0684285, 0.434356, -0.14075) material = SubResource("StandardMaterial3D_cnln1") [node name="CSGBox3D4" type="CSGBox3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.322653, 0, 0, 0, 0.187757, -0.0956778, 0, 0.104032, 0.172678, -0.0111122, 0.405746, 0.296903) material = SubResource("StandardMaterial3D_cnln1") [node name="CSGBox3D5" type="CSGBox3D" parent="RigidBody3D/Graphics/Offset"] transform = Transform3D(0.22669, -0.011877, 0, 0.00783738, 0.0662055, -0.125005, 0.0160406, 0.135501, 0.0610773, 0.00179768, 0.243894, 0.438004) material = SubResource("StandardMaterial3D_cnln1") [node name="Pointable" type="Node3D" parent="RigidBody3D" node_paths=PackedStringArray("highlightTargets")] script = ExtResource("1_w2vv5") highlightTargets = [null] metadata/_custom_type_script = "uid://dla1wn2mlw2d0" [node name="Selectable" type="Node" parent="RigidBody3D"] script = ExtResource("2_uei4a") flags = [ExtResource("3_xqs7e")] metadata/_custom_type_script = "uid://c5vxa38rgr24k" [node name="Eatable" type="Node" parent="RigidBody3D" node_paths=PackedStringArray("onGotEaten")] script = ExtResource("4_kaxbo") onGotEaten = NodePath("../Once") metadata/_custom_type_script = "uid://h8la67dl42y4" [node name="Once" type="Node" parent="RigidBody3D" node_paths=PackedStringArray("action")] script = ExtResource("5_uei4a") action = NodePath("ActionSequence") metadata/_custom_type_script = "uid://crm7o7w0gumhn" [node name="ActionSequence" type="Node" parent="RigidBody3D/Once"] script = ExtResource("5_no8e2") metadata/_custom_type_script = "uid://ceaglilesxsi4" [node name="Parallel" type="Node" parent="RigidBody3D/Once/ActionSequence"] script = ExtResource("7_no8e2") mode = 0 metadata/_custom_type_script = "uid://dy65lu5p2yf3j" [node name="Flash" type="Node" parent="RigidBody3D/Once/ActionSequence/Parallel" node_paths=PackedStringArray("targets")] script = ExtResource("7_kaxbo") flashEffect = ExtResource("8_no8e2") targets = [NodePath("../../../../Graphics/Offset/Body")] metadata/_custom_type_script = "uid://dnwqkymbre3vb" [node name="Shake" type="Node" parent="RigidBody3D/Once/ActionSequence/Parallel" node_paths=PackedStringArray("targets")] script = ExtResource("6_dg4v6") shakeEffect = SubResource("Resource_vhqgj") targets = [NodePath("../../../../Graphics/Offset")] metadata/_custom_type_script = "uid://bnhnintao4qu0" [node name="SetNodeState2" type="Node" parent="RigidBody3D/Once/ActionSequence" node_paths=PackedStringArray("disable")] script = ExtResource("13_1fftn") disable = [NodePath("../../../CollisionShape3D")] metadata/_custom_type_script = "uid://bex6umukt0r8d" [node name="AnimateTransform" type="Node" parent="RigidBody3D/Once/ActionSequence" node_paths=PackedStringArray("target")] script = ExtResource("10_y4t02") animations = SubResource("Resource_t8ff4") target = NodePath("../../../Graphics") metadata/_custom_type_script = "uid://cbtqgliarexam" [node name="SetNodeState" type="Node" parent="RigidBody3D/Once/ActionSequence" node_paths=PackedStringArray("disable")] script = ExtResource("13_1fftn") disable = [null] metadata/_custom_type_script = "uid://bex6umukt0r8d" [node name="RemoveNode" type="Node" parent="RigidBody3D/Once/ActionSequence" node_paths=PackedStringArray("target")] script = ExtResource("18_dg4v6") target = NodePath("../../../..") metadata/_custom_type_script = "uid://dq5kae8x62gre" [node name="Pig" type="Node" parent="." node_paths=PackedStringArray("rigidBody3D")] script = ExtResource("19_8pk3o") rigidBody3D = NodePath("../RigidBody3D") speed = 0.01 metadata/_custom_type_script = "uid://b02vfydrj7lwv"