Traveller/data/itemRegs/packsacks.yaml
Cold-Mint e54b62cb82
Item ids can only be specified in yaml files.
物品的id只能在yaml文件内指定了。
2024-08-01 23:30:28 +08:00

13 lines
863 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#Register an item container here.
#在这里注册物品容器。
#Note: The id must be the same as the item id in the scene. Otherwise, an ArgumentException will be thrown.
#备注id必须和场景内的物品id保持一致。否则会抛出ArgumentException。
#After you declare the id of the item, add the corresponding localized text to the csv file in the locals' folder. For example, if the id is a corresponding name is item_a and the corresponding description is item_a_desc.
#当您声明物品的id后请在locals文件夹中的csv文件中添加相应的本地化文本。例如id为a则对应的名称为item_a对应的描述为item_a_desc。
#portable_backpacks
#便携式背包
- id: portable_backpacks
scene_path: res://prefab/packsacks/PortableBackpacks.tscn
icon_path: res://sprites/PortableBackpacks.png
max_stack_value: 1