Weapon evolution

This commit is contained in:
MaddoScientisto 2026-02-28 18:44:23 +01:00
commit f58b9646df
10 changed files with 209 additions and 68 deletions

View file

@ -0,0 +1,20 @@
[gd_resource type="Resource" script_class="LootItem" format=3 uid="uid://dx6dwdk3nhsl3"]
[ext_resource type="Texture2D" uid="uid://dceyytbfpbywp" path="res://Sprites/Items/Ice_Shotgun_T1.png" id="1_be46j"]
[ext_resource type="Resource" uid="uid://cc82lnukilbaw" path="res://Resources/Weapons/ICE_SHOTGUN_T1_3D_3D.tres" id="2_n084c"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_eaig5"]
[resource]
script = ExtResource("3_eaig5")
ItemName = &"Improved Ice Shotgun 3D"
ShortName = &"IC-28"
ItemDescription = &"Shoots ice pellets in a wide spread (T1)"
ItemKey = &"ICE_SHOTGUN_T1_3D"
Item = 9
WeaponData3D = ExtResource("2_n084c")
Amount = 1
Max = 1
Selectable = true
InventorySprite = ExtResource("1_be46j")
DropScenePath = null
DropScenePath3D = &"res://Scenes/Items/GenericItem3D.tscn"

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://btk4kojtepwv"]
[gd_resource type="Resource" script_class="LootItem" format=3 uid="uid://btk4kojtepwv"]
[ext_resource type="Texture2D" uid="uid://7r50e2264cnr" path="res://Sprites/Items/Ice_Shotgun_Sawed_T1.png" id="1_qo2ul"]
[ext_resource type="Resource" uid="uid://cea6xftma1sd3" path="res://Resources/Weapons/Ice_Shotgun_Sawed_T1.tres" id="2_d8yv1"]
@ -12,15 +12,11 @@ ItemDescription = &"Shoots ice pellets in a wide spread"
ItemKey = &"ICE_SHOTGUN_SAWED_T1"
Item = 9
Tier = 1
Price = 0
WeaponData = ExtResource("2_d8yv1")
Amount = 1
Max = 1
PickupIfMaxed = false
ConsumeOnUse = false
UiType = 0
UiType = 14
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("1_qo2ul")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"
DropScenePath3D = &"uid://cnot7sft7lpf3"