1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat(饲料): 添加胡萝卜饲料资源及配置

添加胡萝卜饲料的图片资源、场景文件及导入配置
修改FeedName.gd中的部分主题名称翻译
This commit is contained in:
2025-12-07 14:24:28 +08:00
parent 008d6a7039
commit 2cc9ab5730
4 changed files with 64 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
[gd_scene load_steps=3 format=3 uid="uid://dnf21065jlduj"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_eled5"]
[ext_resource type="Texture2D" uid="uid://dsamh2u7a2bmw" path="res://resources/feeds/carrot.png" id="2_u65vk"]
[node name="Carrot" instance=ExtResource("1_eled5")]
avatarTexture = ExtResource("2_u65vk")
displayName = "胡萝卜"
quality = 2
topic = 5
fields = Array[int]([7])
fieldValues = Array[float]([-5.0])
costs = Array[int]([0, 1])
costCounts = Array[int]([500, 1000])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_u65vk")
[node name="name" parent="container/info" index="1"]
displayName = "胡萝卜"
quality = 2
topic = 5
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dsamh2u7a2bmw"
path="res://.godot/imported/carrot.png-905872dbcc434af2f715269db8f7d42f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://resources/feeds/carrot.png"
dest_files=["res://.godot/imported/carrot.png-905872dbcc434af2f715269db8f7d42f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+2 -2
View File
@@ -55,11 +55,11 @@ enum Topic {
}
@export var topicNameMap = {
Topic.SURVIVAL: "生存",
Topic.ENERGY: "",
Topic.ENERGY: "",
Topic.BULLET: "子弹",
Topic.SPEED: "速度",
Topic.DAMAGE: "伤害",
Topic.PROBABILITY: "概率",
Topic.PROBABILITY: "幸运",
Topic.FEED: "饲料",
Topic.DROP: "掉落物",
Topic.WEAPON: "武器",