mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 00:03:48 +00:00
working spder bomb
This commit is contained in:
parent
6125565d8c
commit
f1f40a91dd
17 changed files with 400 additions and 105 deletions
43
Resources/Items/Spider_Bomb_Pickup.tres
Normal file
43
Resources/Items/Spider_Bomb_Pickup.tres
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[gd_resource type="Resource" script_class="LootItem" load_steps=7 format=3 uid="uid://dhbltvgsa3g88"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://epnwjptvks3t" path="res://Scripts/Resources/LootItem.cs" id="1_lus3u"]
|
||||
[ext_resource type="Script" uid="uid://b6fmrnipv88bk" path="res://Scripts/Resources/WeaponResource.cs" id="1_qd764"]
|
||||
[ext_resource type="Texture2D" uid="uid://huo14jdekj6n" path="res://Sprites/Bullets/spiderbomb.png" id="1_v5a4k"]
|
||||
[ext_resource type="Resource" uid="uid://dwxn7f1ue0m4s" path="res://Resources/Bullets/Spider_Bomb_Bullet.tres" id="2_gpot4"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_gpot4"]
|
||||
atlas = ExtResource("1_v5a4k")
|
||||
region = Rect2(0, 0, 16, 16)
|
||||
|
||||
[sub_resource type="Resource" id="Resource_v5a4k"]
|
||||
script = ExtResource("1_qd764")
|
||||
Name = "Spider Bomb"
|
||||
BulletData = ExtResource("2_gpot4")
|
||||
RateOfFire = 1.0
|
||||
BulletCapacity = 10
|
||||
ReloadTime = 1.0
|
||||
AutoReload = true
|
||||
InfiniteAmmo = true
|
||||
BulletsPerShot = 1
|
||||
SpreadAngle = 0.0
|
||||
RandomSpread = 0.0
|
||||
ItemKey = "SPIDER_BOMB"
|
||||
AmmoKey = "SPIDER_BOMB"
|
||||
_rotationOffset = 0.0
|
||||
metadata/_custom_type_script = "uid://b6fmrnipv88bk"
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_lus3u")
|
||||
ItemName = "Spider Bomb"
|
||||
ItemDescription = "A bomb that spiders"
|
||||
ItemKey = "SPIDER_BOMB"
|
||||
Item = 5
|
||||
WeaponData = SubResource("Resource_v5a4k")
|
||||
Amount = 1
|
||||
Max = 10
|
||||
PickupIfMaxed = false
|
||||
ConsumeOnUse = false
|
||||
UiType = 0
|
||||
Selectable = true
|
||||
InventorySprite = SubResource("AtlasTexture_gpot4")
|
||||
metadata/_custom_type_script = "uid://epnwjptvks3t"
|
||||
Loading…
Add table
Add a link
Reference in a new issue