Enhanced loot drops system

This commit is contained in:
MaddoScientisto 2026-03-01 19:14:34 +01:00
commit acc61f9a0e
12 changed files with 661 additions and 443 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://c2enjjxlfb5or"]
[gd_scene format=3 uid="uid://c2enjjxlfb5or"]
[ext_resource type="Texture2D" uid="uid://du8xcvbnf30o2" path="res://ExternalMaterial/Barrel/Barrels.png" id="1_2libs"]
[ext_resource type="Script" uid="uid://ccxnvbthsvka3" path="res://Scripts/Actors/Destructible3D.cs" id="1_gafco"]
@ -8,19 +8,20 @@
height = 0.564575
radius = 0.321777
[node name="StaticBody3D" type="StaticBody3D" groups=["Destroyable"]]
[node name="StaticBody3D" type="StaticBody3D" unique_id=1481124290 groups=["Destroyable"]]
collision_layer = 16
collision_mask = 0
script = ExtResource("1_gafco")
Health = 0.6
ExplosionData = ExtResource("2_g54tg")
[node name="Barrel" type="Sprite3D" parent="."]
[node name="Barrel" type="Sprite3D" parent="." unique_id=1883029792]
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
pixel_size = 0.05
texture_filter = 0
texture = ExtResource("1_2libs")
hframes = 4
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=287417792]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0376587, 0)
shape = SubResource("CylinderShape3D_2libs")