mirror of
http://junepve.top:3000/chicrobot/CINC.git
synced 2026-10-30 00:31:29 +08:00
feat(item) 添加物品系统
This commit is contained in:
1 parent
606e833f33
commit
2f7210f47e
4 files changed
+1127
No files matched your search
+114
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"id": "water_bottle",
|
||||
"name": "瓶装水",
|
||||
"description": "一瓶干净的饮用水,可以解渴。",
|
||||
"type": "food",
|
||||
"weight": 1.0,
|
||||
"volume": 1.0,
|
||||
"value": 5,
|
||||
"sprite": {
|
||||
"width": 16,
|
||||
"height": 16,
|
||||
"color": 255
|
||||
},
|
||||
"properties": {
|
||||
"drinkable": true,
|
||||
"nutrition": 0,
|
||||
"hydration": 50
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "canned_food",
|
||||
"name": "罐头食品",
|
||||
"description": "一罐保质期很长的食品,可以提供营养。",
|
||||
"type": "food",
|
||||
"weight": 1.5,
|
||||
"volume": 1.0,
|
||||
"value": 10,
|
||||
"sprite": {
|
||||
"width": 16,
|
||||
"height": 16,
|
||||
"color": 16711680
|
||||
},
|
||||
"properties": {
|
||||
"edible": true,
|
||||
"nutrition": 100,
|
||||
"hydration": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "crowbar",
|
||||
"name": "撬棍",
|
||||
"description": "多功能工具,可以撬开门锁或作为武器。",
|
||||
"type": "tool",
|
||||
"weight": 3.0,
|
||||
"volume": 2.0,
|
||||
"value": 20,
|
||||
"sprite": {
|
||||
"width": 16,
|
||||
"height": 16,
|
||||
"color": 8421504
|
||||
},
|
||||
"properties": {
|
||||
"tool_quality": 2,
|
||||
"weapon_damage": 15
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "first_aid_kit",
|
||||
"name": "急救包",
|
||||
"description": "包含基本医疗用品,可以治疗伤口。",
|
||||
"type": "medical",
|
||||
"weight": 1.0,
|
||||
"volume": 1.5,
|
||||
"value": 30,
|
||||
"sprite": {
|
||||
"width": 16,
|
||||
"height": 16,
|
||||
"color": 16777215
|
||||
},
|
||||
"properties": {
|
||||
"heal_amount": 50,
|
||||
"usable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "flashlight",
|
||||
"name": "手电筒",
|
||||
"description": "可以在黑暗中提供照明。",
|
||||
"type": "tool",
|
||||
"weight": 0.5,
|
||||
"volume": 0.5,
|
||||
"value": 15,
|
||||
"sprite": {
|
||||
"width": 16,
|
||||
"height": 16,
|
||||
"color": 16776960
|
||||
},
|
||||
"properties": {
|
||||
"light_range": 10,
|
||||
"battery_life": 100
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "knife",
|
||||
"name": "小刀",
|
||||
"description": "一把锋利的小刀,可以用作工具或武器。",
|
||||
"type": "weapon",
|
||||
"weight": 0.8,
|
||||
"volume": 1.0,
|
||||
"value": 12,
|
||||
"sprite": {
|
||||
"width": 16,
|
||||
"height": 16,
|
||||
"color": 4194304
|
||||
},
|
||||
"properties": {
|
||||
"weapon_damage": 10,
|
||||
"tool_quality": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user