cirnogodot/Resources/Weapons/LaserWeapon.tres
2025-05-02 13:10:38 +02:00

26 lines
982 B
Text

[gd_resource type="Resource" script_class="WeaponResource" load_steps=5 format=3 uid="uid://do0jwf5jhx1i5"]
[ext_resource type="Resource" uid="uid://eu6n6c5175y8" path="res://Resources/Bullets/simple_ice_bullet.tres" id="1_1h0tt"]
[ext_resource type="AudioStream" uid="uid://jsv3yjluv1au" path="res://SFX/Weapons/Reload_01.wav" id="2_h0bjj"]
[ext_resource type="AudioStream" uid="uid://cjg8r7bthkfsy" path="res://SFX/Laser_shoot 11.wav" id="3_iquwk"]
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="4_70v4a"]
[resource]
script = ExtResource("4_70v4a")
Name = &"Laser"
BulletData = ExtResource("1_1h0tt")
Priority = 1
AmmoPerShot = 2
RateOfFire = 0.3
BulletCapacity = 5
ReloadTime = 0.6
AutoReload = true
InfiniteAmmo = true
ItemKey = &"LASER_WEAPON"
AmmoKey = &"SHIELD"
BulletsPerShot = 1
SpreadAngle = 5.0
RandomSpread = 2.5
_rotationOffset = 0.0
ReloadSound = ExtResource("2_h0bjj")
ShootSound = ExtResource("3_iquwk")