feat: 完成数据端数据类型的构建

This commit is contained in:
AncTe committed 2026-09-20 19:11:43 +08:00
1 parent c0a58706d9
commit d12790280a
30 files changed
+885 -52

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
// Type: packages-user/data-state/src/types.ts ICoreStateCoreConfig
{
"name": "template",
"title": "魔塔样板",
"version": "Ver 2.C",
"content": {
"mapsDir": "content/maps",
"mapListDir": "content/maps/.list.jsonc",
"enemyDir": "content/enemy.jsonc",
"itemDir": "content/item.jsonc",
"tileDir": "content/tile.jsonc"
},
"init": {
"startEvent": "game-start",
"hero": {
"x": 6,
"y": 6,
"floorId": "MT0",
"equipSlots": ["武器", "盾牌"],
"attribute": {
"name": "阳光",
"level": 0,
"hp": 10000,
"atk": 100,
"def": 100,
"mdef": 0,
"mana": 0,
"manamax": 0,
"money": 0,
"exp": 0
}
}
},
"flag": {
"flyNearStair": false,
"flyRecordPosition": true,
"itemHint": true,
"enableNegativeDamage": false,
"betweenDamageMax": true,
"enablePick": true,
"ignoreChangeFLoor": true,
"allowDeadZone": false,
"enableTeleport": true,
"enableRouteFolding": true,
"enableTeleportMerge": true
}
}