1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00
Files
Dog-Lynx-And-HCN/components/Characters/Hen.tscn
T
fallingshrimp 4ff690f6f8 feat(角色): 为动物角色添加掉落物品配置
为猫、狗和母鸡角色添加或修改掉落物品的配置,包括物品ID和掉落数量范围
2025-12-07 16:09:18 +08:00

58 lines
1.9 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://c8h1abpbe6cww"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_twxai"]
[ext_resource type="Script" uid="uid://dsfht8qodraln" path="res://scripts/Contents/Characters/Hen.gd" id="2_8u5a0"]
[ext_resource type="AudioStream" uid="uid://cougu5tprpf8d" path="res://resources/sounds/effect/Growl.wav" id="3_1stll"]
[ext_resource type="Texture2D" uid="uid://o0t3oma5l6tu" path="res://resources/characters/hen/hen.png" id="4_1stll"]
[sub_resource type="SpriteFrames" id="SpriteFrames_xwexj"]
animations = [{
"frames": [],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [],
"loop": true,
"name": &"walk",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1stll"]
size = Vector2(85.25, 46.5)
[sub_resource type="CircleShape2D" id="CircleShape2D_rwj47"]
radius = 19.026299
[node name="Hen" instance=ExtResource("1_twxai")]
script = ExtResource("2_8u5a0")
displayName = "母鸡"
drops = Array[int]([1])
dropCounts = Array[Vector2]([Vector2(4, 8)])
hurtAudioRate = 0.1
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_1stll")
volume_db = 10.0
[node name="texture" parent="." index="3"]
sprite_frames = SubResource("SpriteFrames_xwexj")
[node name="staticBackground" parent="texture" index="0"]
scale = Vector2(0.29643428, 0.29643428)
texture = ExtResource("4_1stll")
[node name="hitbox" parent="texture/hurtbox" index="0"]
position = Vector2(-7.625, 2.25)
shape = SubResource("RectangleShape2D_1stll")
[node name="hitbox2" type="CollisionShape2D" parent="texture/hurtbox" index="1"]
position = Vector2(37, -28)
shape = SubResource("CircleShape2D_rwj47")
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
[node name="statebar" parent="." index="4" node_paths=PackedStringArray("entity")]
position = Vector2(0, -107)
entity = NodePath("..")