Tiered weapons

This commit is contained in:
Marco 2025-05-01 11:10:36 +02:00
commit f3a701d3f9
42 changed files with 700 additions and 16 deletions

View file

@ -7,10 +7,11 @@
[resource]
script = ExtResource("3_cjfxs")
ItemName = &"Ice Shotgun"
ShortName = &"IC-27"
ShortName = &"IC-25"
ItemDescription = &"Shoots ice pellets in a wide spread"
ItemKey = &"ICE_SHOTGUN"
Item = 9
Tier = 0
Price = 0
WeaponData = ExtResource("2_3le6e")
Amount = 1
@ -21,4 +22,4 @@ UiType = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("2_4ibag")
DropScenePath = &"res://Scenes/Items/Ice_Shotgun_Pickup.tscn"
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"

View file

@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://dv0cdlx8d6evm"]
[ext_resource type="Texture2D" uid="uid://byi12qwcnrir8" path="res://Sprites/Items/Ice_Shotgun_Sawed.png" id="1_hq5ny"]
[ext_resource type="Resource" uid="uid://i5cq21er10ew" path="res://Resources/Weapons/Ice_Shotgun_Sawed_T0.tres" id="2_vcy22"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_n0omu"]
[resource]
script = ExtResource("3_n0omu")
ItemName = &"Sawed Ice Shotgun"
ShortName = &"IC-25"
ItemDescription = &"Shoots ice pellets in a wide spread"
ItemKey = &"ICE_SHOTGUN_SAWED"
Item = 9
Tier = 0
Price = 0
WeaponData = ExtResource("2_vcy22")
Amount = 1
Max = 1
PickupIfMaxed = false
ConsumeOnUse = false
UiType = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("1_hq5ny")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"

View file

@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 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"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_eu2qy"]
[resource]
script = ExtResource("3_eu2qy")
ItemName = &"Improved Sawed Ice Shotgun"
ShortName = &"IC-27-S"
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 = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("1_qo2ul")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"

View file

@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://c57od7cpn5kwf"]
[ext_resource type="Texture2D" uid="uid://rr71xb2q8x22" path="res://Sprites/Items/Ice_Shotgun_Sawed_T2.png" id="1_l7ik6"]
[ext_resource type="Resource" uid="uid://bcpa1vhlp7ki4" path="res://Resources/Weapons/Ice_Shotgun_Sawed_T2.tres" id="2_4l2hi"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_4syqt"]
[resource]
script = ExtResource("3_4syqt")
ItemName = &"Advanced Sawed Ice Shotgun"
ShortName = &"IC-27-S"
ItemDescription = &"Shoots ice pellets in a wide spread"
ItemKey = &"ICE_SHOTGUN_SAWED_T2"
Item = 9
Tier = 2
Price = 0
WeaponData = ExtResource("2_4l2hi")
Amount = 1
Max = 1
PickupIfMaxed = false
ConsumeOnUse = false
UiType = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("1_l7ik6")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"

View file

@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://c01jixi7b2s7v"]
[ext_resource type="Texture2D" uid="uid://dceyytbfpbywp" path="res://Sprites/Items/Ice_Shotgun_T1.png" id="1_wkd5q"]
[ext_resource type="Resource" uid="uid://ipwe382oy6nq" path="res://Resources/Weapons/Ice_Shotgun_T1.tres" id="2_um3fl"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_0fud6"]
[resource]
script = ExtResource("3_0fud6")
ItemName = &"Improved Ice Shotgun"
ShortName = &"IC-27"
ItemDescription = &"Shoots ice pellets in a wide spread"
ItemKey = &"ICE_SHOTGUN_T1"
Item = 9
Tier = 1
Price = 0
WeaponData = ExtResource("2_um3fl")
Amount = 1
Max = 1
PickupIfMaxed = false
ConsumeOnUse = false
UiType = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("1_wkd5q")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"

View file

@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://bhllj7r3oxipf"]
[ext_resource type="Texture2D" uid="uid://bcv8wyhfsxenc" path="res://Sprites/Items/Ice_Shotgun_T2.png" id="1_cr14o"]
[ext_resource type="Resource" uid="uid://2ra03y2ohoeh" path="res://Resources/Weapons/Ice_Shotgun_T2.tres" id="2_o24o8"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_pabk4"]
[resource]
script = ExtResource("3_pabk4")
ItemName = &"Advanced Ice Shotgun"
ShortName = &"IC-27"
ItemDescription = &"Shoots ice pellets in a wide spread"
ItemKey = &"ICE_SHOTGUN_T2"
Item = 9
Tier = 2
Price = 0
WeaponData = ExtResource("2_o24o8")
Amount = 1
Max = 1
PickupIfMaxed = false
ConsumeOnUse = false
UiType = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("1_cr14o")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"

View file

@ -1,18 +1,19 @@
[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="Resource" uid="uid://ccyl111fa1j2k" path="res://Resources/Weapons/IcicleRepeater_t0.tres" id="2_d42pt"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="4_k6in2"]
[resource]
script = ExtResource("4_k6in2")
ItemName = &"Icicle Repeater"
ShortName = &"IC-18"
ShortName = &"IC-16"
ItemDescription = &"Shoots ice pellets at a high rate"
ItemKey = &"ICICLE_REPEATER"
ItemKey = &"ICICLE_REPEATER_T0"
Item = 9
Tier = 0
Price = 0
WeaponData = ExtResource("3_5vsuk")
WeaponData = ExtResource("2_d42pt")
Amount = 1
Max = 1
PickupIfMaxed = false
@ -21,4 +22,4 @@ UiType = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("2_3abss")
DropScenePath = &"res://Scenes/Items/Icicle_Repeater.tscn"
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"

View file

@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://dwwbyyy3fo4bt"]
[ext_resource type="Texture2D" uid="uid://b3fwkh5r4aiga" path="res://Sprites/Items/Ice_Repeater_Advanced.png" id="1_mj87v"]
[ext_resource type="Resource" uid="uid://b8eam846atr6y" path="res://Resources/Weapons/IcicleRepeater_T2.tres" id="2_mj87v"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_aikyr"]
[resource]
script = ExtResource("3_aikyr")
ItemName = &"Advanced Icicle Repeater"
ShortName = &"IC-20"
ItemDescription = &"Shoots ice pellets at a high rate"
ItemKey = &"ICICLE_REPEATER_T2"
Item = 9
Tier = 2
Price = 0
WeaponData = ExtResource("2_mj87v")
Amount = 1
Max = 1
PickupIfMaxed = false
ConsumeOnUse = false
UiType = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("1_mj87v")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"

View file

@ -0,0 +1,25 @@
[gd_resource type="Resource" script_class="LootItem" load_steps=4 format=3 uid="uid://cajqlnyvlmybe"]
[ext_resource type="Texture2D" uid="uid://ctqg1b02r5f08" path="res://Sprites/Items/Ice_Repeater_Improved.png" id="1_cked8"]
[ext_resource type="Resource" uid="uid://yuc0v7gojgep" path="res://Resources/Weapons/IcicleRepeater.tres" id="2_540a7"]
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="3_1c8ng"]
[resource]
script = ExtResource("3_1c8ng")
ItemName = &"Improved Icicle Repeater"
ShortName = &"IC-18"
ItemDescription = &"Shoots ice pellets at a high rate"
ItemKey = &"ICICLE_REPEATER"
Item = 9
Tier = 1
Price = 0
WeaponData = ExtResource("2_540a7")
Amount = 1
Max = 1
PickupIfMaxed = false
ConsumeOnUse = false
UiType = 1
Selectable = true
AutoPickup = false
InventorySprite = ExtResource("1_cked8")
DropScenePath = &"res://Scenes/Items/GenericItem.tscn"