Various additions and fixes
This commit is contained in:
@@ -1,29 +1,12 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://1fl6s352e2ej"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://1fl6s352e2ej"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dj28ol2cpeiwm" path="res://src/items/throwable/ThrowableItem.cs" id="1_nac2l"]
|
||||
[ext_resource type="Script" uid="uid://d3wlunkcuv2w2" path="res://src/items/throwable/ThrowableItemStats.cs" id="2_8h2lx"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_b0s4k"]
|
||||
script = ExtResource("2_8h2lx")
|
||||
ThrowableItemTags = Array[int]([])
|
||||
ElementType = 0
|
||||
UsableItemTags = Array[int]([])
|
||||
Name = ""
|
||||
Description = ""
|
||||
SpawnRate = 0.5
|
||||
ThrowSpeed = 12.0
|
||||
HealHPAmount = 0
|
||||
HealVTAmount = 0
|
||||
ThrowDamage = 5
|
||||
metadata/_custom_type_script = ExtResource("2_8h2lx")
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_03cqg"]
|
||||
size = Vector3(0.778381, 0.929947, 0.731567)
|
||||
|
||||
[node name="ThrowableItem" type="Node3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.75, 0)
|
||||
script = ExtResource("1_nac2l")
|
||||
ThrowableItemInfo = SubResource("Resource_b0s4k")
|
||||
|
||||
[node name="Pickup" type="Area3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_ewck5")
|
||||
ThrowableItemTags = Array[int]([7])
|
||||
ThrowableItemTags = Array[int]([1])
|
||||
ElementType = 0
|
||||
UsableItemTags = Array[int]([])
|
||||
Name = "Geomantic Dice"
|
||||
Description = "Inflicts base damage when thrown.
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
size = Vector3(0.46632, 0.507293, 0.586082)
|
||||
|
||||
[node name="Hitbox" type="RigidBody3D"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
|
||||
collision_layer = 16
|
||||
collision_mask = 25
|
||||
gravity_scale = 0.25
|
||||
|
||||
Reference in New Issue
Block a user