feat(inventory) 添加网格背包系统

This commit is contained in:
chicrobot committed 2026-01-04 21:32:31 +08:00
1 parent b9a5180293
commit ae26209a24
8 files changed
+1857 -43

No files matched your search

+30 -6
View File
@@ -8,9 +8,13 @@
"weight": 1.0,
"volume": 1.0,
"value": 5,
"gridSize": {
"width": 1,
"height": 2
},
"sprite": {
"width": 16,
"height": 16,
"height": 32,
"color": 255
},
"properties": {
@@ -27,6 +31,10 @@
"weight": 1.5,
"volume": 1.0,
"value": 10,
"gridSize": {
"width": 1,
"height": 1
},
"sprite": {
"width": 16,
"height": 16,
@@ -46,9 +54,13 @@
"weight": 3.0,
"volume": 2.0,
"value": 20,
"gridSize": {
"width": 1,
"height": 3
},
"sprite": {
"width": 16,
"height": 16,
"height": 48,
"color": 8421504
},
"properties": {
@@ -64,9 +76,13 @@
"weight": 1.0,
"volume": 1.5,
"value": 30,
"gridSize": {
"width": 2,
"height": 2
},
"sprite": {
"width": 16,
"height": 16,
"width": 32,
"height": 32,
"color": 16777215
},
"properties": {
@@ -82,9 +98,13 @@
"weight": 0.5,
"volume": 0.5,
"value": 15,
"gridSize": {
"width": 1,
"height": 2
},
"sprite": {
"width": 16,
"height": 16,
"height": 32,
"color": 16776960
},
"properties": {
@@ -100,9 +120,13 @@
"weight": 0.8,
"volume": 1.0,
"value": 12,
"gridSize": {
"width": 1,
"height": 2
},
"sprite": {
"width": 16,
"height": 16,
"height": 32,
"color": 4194304
},
"properties": {