2026-03-01 21:16:49 +01:00
|
|
|
[gd_scene format=3 uid="uid://c8wwioforxms3"]
|
2025-06-17 17:49:40 +02:00
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c5k6rsawax3gf" path="res://3D/BlockbenchModels/Box/Box_Green.gltf" id="1_03sp0"]
|
2025-06-19 17:55:23 +02:00
|
|
|
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_e6kl3"]
|
2025-07-01 13:40:13 +02:00
|
|
|
[ext_resource type="Resource" uid="uid://bes254wblt1lm" path="res://Resources/Bullets/3D/Explosion_Harmless_Small_3D.tres" id="2_bguu7"]
|
2025-07-04 22:55:28 +02:00
|
|
|
[ext_resource type="Script" uid="uid://ddsqqfx1usc3j" path="res://Scripts/Resources/DamageResistance.cs" id="3_fntiw"]
|
2026-03-01 21:16:49 +01:00
|
|
|
[ext_resource type="Script" uid="uid://cq65aed620ijo" path="res://Scripts/Resources/Loot/LootDrop.cs" id="4_6tetb"]
|
2025-07-04 22:55:28 +02:00
|
|
|
[ext_resource type="Script" uid="uid://hkmutmmjqh1e" path="res://Scripts/Actors/3D/PropGravityModule3D.cs" id="5_jb4do"]
|
2026-03-01 21:16:49 +01:00
|
|
|
[ext_resource type="Resource" uid="uid://dy53gia1tmkah" path="res://Resources/Items/Points_Pickup.tres" id="5_s7i0r"]
|
2025-06-17 17:49:40 +02:00
|
|
|
|
2025-08-14 10:58:54 +02:00
|
|
|
[sub_resource type="Resource" id="Resource_fntiw"]
|
|
|
|
|
script = ExtResource("3_fntiw")
|
|
|
|
|
DamageType = 4
|
|
|
|
|
Attribute = 2
|
|
|
|
|
metadata/_custom_type_script = "uid://ddsqqfx1usc3j"
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[sub_resource type="Resource" id="Resource_4l2cb"]
|
|
|
|
|
script = ExtResource("4_6tetb")
|
|
|
|
|
Item = ExtResource("5_s7i0r")
|
|
|
|
|
Chance = 70.0
|
|
|
|
|
metadata/_custom_type_script = "uid://cq65aed620ijo"
|
|
|
|
|
|
2025-06-17 17:49:40 +02:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_hsg1w"]
|
|
|
|
|
size = Vector3(0.763428, 0.469452, 0.77832)
|
|
|
|
|
|
2025-07-04 22:55:28 +02:00
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_6tetb"]
|
|
|
|
|
size = Vector3(0.60668945, 0.09439087, 0.595726)
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="BoxBlue" type="StaticBody3D" unique_id=909576797 groups=["Destroyable"]]
|
2025-06-19 17:55:23 +02:00
|
|
|
collision_layer = 16
|
|
|
|
|
collision_mask = 0
|
|
|
|
|
script = ExtResource("1_e6kl3")
|
2025-08-14 10:58:54 +02:00
|
|
|
Health = 8.0
|
2025-06-20 11:28:18 +02:00
|
|
|
ExplosionData = ExtResource("2_bguu7")
|
2025-08-14 10:58:54 +02:00
|
|
|
DamageResistances = Array[ExtResource("3_fntiw")]([SubResource("Resource_fntiw")])
|
2026-03-01 21:16:49 +01:00
|
|
|
LootDrops = Array[ExtResource("4_6tetb")]([SubResource("Resource_4l2cb")])
|
2025-06-17 17:49:40 +02:00
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=948062286]
|
2025-06-17 17:49:40 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.0253752, -0.000488281)
|
|
|
|
|
shape = SubResource("BoxShape3D_hsg1w")
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="blockbench_export" parent="." unique_id=1533213572 instance=ExtResource("1_03sp0")]
|
2025-07-04 22:55:28 +02:00
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="Gravity" type="Area3D" parent="." unique_id=1508369913]
|
2025-07-04 22:55:28 +02:00
|
|
|
collision_layer = 0
|
|
|
|
|
collision_mask = 17
|
|
|
|
|
script = ExtResource("5_jb4do")
|
|
|
|
|
FallingSpeed = -2.0
|
|
|
|
|
|
2026-03-01 21:16:49 +01:00
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Gravity" unique_id=1939247061]
|
2025-07-04 22:55:28 +02:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.024291992, -0.19599915, 0.013088226)
|
|
|
|
|
shape = SubResource("BoxShape3D_6tetb")
|
|
|
|
|
|
2025-08-27 18:17:17 +02:00
|
|
|
[connection signal="body_entered" from="Gravity" to="Gravity" method="OnBodyEntered"]
|
|
|
|
|
[connection signal="body_exited" from="Gravity" to="Gravity" method="OnBodyExited"]
|