mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-30 15:22:30 +08:00
feat(武器系统): 添加武器类型支持及相关组件
- 在FeedName.gd中新增WEAPON枚举类型及对应翻译和颜色配置 - 在Feed.gd中添加weapons数组和weaponsBox容器 - 新增WeaponShow.tscn武器展示组件 - 添加NuclearBomb.tscn核弹武器示例 - 修改ComponentManager.gd中主题文件加载路径 - 更新FeedCardBase.tscn和FeedName.tscn以支持武器显示
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://x8moaidokct"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_kytcq"]
|
||||
[ext_resource type="Texture2D" uid="uid://cp57lmeohvo3o" path="res://resources/weapons/nuclear-bomb.png" id="2_l6mhl"]
|
||||
[ext_resource type="PackedScene" uid="uid://b2qhes4apaxsj" path="res://components/Weapons/NuclearBomb.tscn" id="3_3jrcs"]
|
||||
|
||||
[node name="NuclearBomb" instance=ExtResource("1_kytcq")]
|
||||
avatarTexture = ExtResource("2_l6mhl")
|
||||
displayName = "核弹控制器"
|
||||
topic = 8
|
||||
weapons = Array[PackedScene]([ExtResource("3_3jrcs")])
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
texture = ExtResource("2_l6mhl")
|
||||
|
||||
[node name="name" parent="container/info" index="1"]
|
||||
displayName = "核弹控制器"
|
||||
topic = 8
|
||||
Reference in New Issue
Block a user