1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-14 07:37:13 +08:00
Files
Dog-Lynx-And-HCN/components/UI/WeaponShow.tscn
T
fallingshrimp ace6d3bf53 feat(武器系统): 添加武器类型支持及相关组件
- 在FeedName.gd中新增WEAPON枚举类型及对应翻译和颜色配置
- 在Feed.gd中添加weapons数组和weaponsBox容器
- 新增WeaponShow.tscn武器展示组件
- 添加NuclearBomb.tscn核弹武器示例
- 修改ComponentManager.gd中主题文件加载路径
- 更新FeedCardBase.tscn和FeedName.tscn以支持武器显示
2025-09-21 16:35:49 +08:00

27 lines
792 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://c7747qr83iojj"]
[ext_resource type="Theme" uid="uid://b6nox1qqh50ub" path="res://themes/smallText.tres" id="1_ua7kx"]
[ext_resource type="PackedScene" uid="uid://bbm8l3hr4ihar" path="res://components/UI/ItemShow.tscn" id="2_yqc2h"]
[node name="WeaponShow" type="HBoxContainer"]
offset_right = 189.0
offset_bottom = 22.0
theme = ExtResource("1_ua7kx")
[node name="operation" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "获得/提炼"
[node name="name" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
text = "武器名称"
[node name="soul" parent="." instance=ExtResource("2_yqc2h")]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
type = 4