Icicle Repeater and tweaks to weapons

This commit is contained in:
Marco 2025-03-04 11:33:29 +01:00
commit d8397ed4d9
9 changed files with 99 additions and 9 deletions

View file

@ -0,0 +1,21 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://bgcgeg187vg1h"]
[ext_resource type="Texture2D" uid="uid://bxe747rnr5xt7" path="res://Sprites/Items/Ice_Repeater.png" id="2_3abss"]
[ext_resource type="Resource" uid="uid://yuc0v7gojgep" path="res://Resources/Weapons/IcicleRepeater.tres" id="3_5vsuk"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="4_k6in2"]
[resource]
script = ExtResource("4_k6in2")
ItemName = "Icicle Repeater"
ItemDescription = "Fast shooting weapon"
ItemKey = "IcicleRepeater"
Item = 9
WeaponData = ExtResource("3_5vsuk")
Amount = 1
Max = 1
PickupIfMaxed = false
ConsumeOnUse = false
UiType = 1
Selectable = true
InventorySprite = ExtResource("2_3abss")
DropScenePath = &"<null>res://Scenes/Items/Icicle_Repeater.tscn"

View file

@ -7,9 +7,9 @@
script = ExtResource("2_m8dps")
Name = "Icicle Gun"
BulletData = ExtResource("1_85ef1")
RateOfFire = 0.1
RateOfFire = 0.2
BulletCapacity = 4
ReloadTime = 0.2
ReloadTime = 0.6
AutoReload = true
InfiniteAmmo = true
BulletsPerShot = 1

View file

@ -8,13 +8,13 @@ script = ExtResource("2_f4135")
Name = "Icicle Gun"
BulletData = ExtResource("1_lg8jo")
RateOfFire = 0.1
BulletCapacity = 100
ReloadTime = 0.4
BulletCapacity = 8
ReloadTime = 0.5
AutoReload = true
InfiniteAmmo = true
InfiniteAmmo = false
BulletsPerShot = 1
SpreadAngle = 0.0
RandomSpread = 0.0
ItemKey = "IcicleRepeater"
AmmoKey = ""
AmmoKey = "Ammo1"
_rotationOffset = 0.0