diff --git a/components/Feeds/Carrot.tscn b/components/Feeds/Carrot.tscn new file mode 100644 index 0000000..722b174 --- /dev/null +++ b/components/Feeds/Carrot.tscn @@ -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 diff --git a/resources/feeds/carrot.png b/resources/feeds/carrot.png new file mode 100644 index 0000000..9697219 Binary files /dev/null and b/resources/feeds/carrot.png differ diff --git a/resources/feeds/carrot.png.import b/resources/feeds/carrot.png.import new file mode 100644 index 0000000..146ee5e --- /dev/null +++ b/resources/feeds/carrot.png.import @@ -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 diff --git a/scripts/Statemachine/FeedName.gd b/scripts/Statemachine/FeedName.gd index bd0736a..c09f02f 100644 --- a/scripts/Statemachine/FeedName.gd +++ b/scripts/Statemachine/FeedName.gd @@ -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: "武器",