31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://cgvb0hjrl5h4s"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cdv5n4t47hr8i" path="res://game/entities/weapons/direct_hit__projectile.tscn" id="1_x58hw"]
|
|
[ext_resource type="Script" uid="uid://bu5sjoh4hwkhn" path="res://game/entities/weapons/plasma/plasma_projectile.gd" id="2_0deih"]
|
|
[ext_resource type="Script" uid="uid://c27v705giygv4" path="res://game/health_system/damage/energy_damage.gd" id="3_dlvdm"]
|
|
|
|
[sub_resource type="Resource" id="Resource_5enq5"]
|
|
script = ExtResource("3_dlvdm")
|
|
value = 20
|
|
metadata/_custom_type_script = "uid://c27v705giygv4"
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_dlvdm"]
|
|
size = Vector2(6, 4)
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_5enq5"]
|
|
radius = 1.0
|
|
height = 4.0
|
|
|
|
[node name="PlasmaProjectile" instance=ExtResource("1_x58hw")]
|
|
collision_layer = 0
|
|
collision_mask = 0
|
|
script = ExtResource("2_0deih")
|
|
damage = SubResource("Resource_5enq5")
|
|
speed = 450
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." index="0"]
|
|
texture = SubResource("PlaceholderTexture2D_dlvdm")
|
|
|
|
[node name="CollisionShape2D" parent="." index="1"]
|
|
shape = SubResource("CapsuleShape2D_5enq5")
|