import { lit } from '../utils/literal' ; export const Category = { HAT : lit ( 'hat' ) , JACKET : lit ( 'jacket' ) , BELT : lit ( 'belt' ) , WRIST : lit ( 'wrist' ) , BOTTOMS : lit ( 'bottoms' ) , SHOES : lit ( 'shoes' ) , NECKLACE : lit ( 'necklace' ) , PENDANT : lit ( 'pendant' ) , RING : lit ( 'ring' ) , SECONDARY_WEAPON : lit ( 'secondaryWeapon' ) , PRIMARY_WEAPON : lit ( 'primaryWeapon' ) , TERTIARY_WEAPON : lit ( 'tertiaryWeapon' ) , } ; export type Category = ( typeof Category ) [ keyof typeof Category ] ; export const CATEGORY_DESC = { hat : '帽子' , jacket : '上衣' , belt : '腰带' , wrist : '护腕' , bottoms : '下装' , shoes : '鞋子' , necklace : '项链' , pendant : '腰坠' , ring : '戒指' , secondaryWeapon : '远程武器' , primaryWeapon : '近程武器' , tertiaryWeapon : '近程武器' , } ; export const Position = { HAT : lit ( 'hat' ) , JACKET : lit ( 'jacket' ) , BELT : lit ( 'belt' ) , WRIST : lit ( 'wrist' ) , BOTTOMS : lit ( 'bottoms' ) , SHOES : lit ( 'shoes' ) , NECKLACE : lit ( 'necklace' ) , PENDANT : lit ( 'pendant' ) , RING1 : lit ( 'ring_1' ) , RING2 : lit ( 'ring_2' ) , SECONDARY_WEAPON : lit ( 'secondaryWeapon' ) , PRIMARY_WEAPON : lit ( 'primaryWeapon' ) , TERTIARY_WEAPON : lit ( 'tertiaryWeapon' ) , } ; export type Position = ( typeof Position ) [ keyof typeof Position ] ; export const School = { 通用 : lit ( '通用' ) , 精简 : lit ( '精简' ) , 万花 : lit ( '万花' ) , 少林 : lit ( '少林' ) , 明教 : lit ( '明教' ) , 唐门 : lit ( '唐门' ) , 七秀 : lit ( '七秀' ) , 五毒 : lit ( '五毒' ) , 纯阳 : lit ( '纯阳' ) , 天策 : lit ( '天策' ) , 丐帮 : lit ( '丐帮' ) , 藏剑 : lit ( '藏剑' ) , 苍云 : lit ( '苍云' ) , 长歌 : lit ( '长歌' ) , 霸刀 : lit ( '霸刀' ) , 蓬莱 : lit ( '蓬莱' ) , 凌雪 : lit ( '凌雪' ) , 衍天 : lit ( '衍天' ) , } ; export type School = ( typeof School ) [ keyof typeof School ] ; export const schoolAbbrMap = { [ School . 万花 ] : 'wanhua' , [ School . 少林 ] : 'shaolin' , [ School . 明教 ] : 'mingjiao' , [ School . 唐门 ] : 'tangmen' , [ School . 七秀 ] : 'qixiu' , [ School . 五毒 ] : 'wudu' , [ School . 纯阳 ] : 'chunyang' , [ School . 天策 ] : 'tiance' , [ School . 丐帮 ] : 'gaibang' , [ School . 藏剑 ] : 'cangjian' , [ School . 苍云 ] : 'cangyun' , [ School . 长歌 ] : 'changge' , [ School . 霸刀 ] : 'badao' , [ School . 蓬莱 ] : 'penglai' , [ School . 凌雪 ] : 'lingxue' , [ School . 衍天 ] : 'yantian' , } ; export const KungFu = { 花间游 : lit ( '花间游' ) , 易筋经 : lit ( '易筋经' ) , 焚影圣诀 : lit ( '焚影圣诀' ) , 天罗诡道 : lit ( '天罗诡道' ) , 冰心诀 : lit ( '冰心诀' ) , 毒经 : lit ( '毒经' ) , 紫霞功 : lit ( '紫霞功' ) , 莫问 : lit ( '莫问' ) , 太虚剑意 : lit ( '太虚剑意' ) , 山居剑意 : lit ( '山居剑意' ) , 问水诀 : lit ( '问水诀' ) , 分山劲 : lit ( '分山劲' ) , 凌海诀 : lit ( '凌海诀' ) , 惊羽诀 : lit ( '惊羽诀' ) , 傲血战意 : lit ( '傲血战意' ) , 笑尘诀 : lit ( '笑尘诀' ) , 北傲诀 : lit ( '北傲诀' ) , 离经易道 : lit ( '离经易道' ) , 云裳心经 : lit ( '云裳心经' ) , 补天诀 : lit ( '补天诀' ) , 相知 : lit ( '相知' ) , 铁牢律 : lit ( '铁牢律' ) , 洗髓经 : lit ( '洗髓经' ) , 明尊琉璃体 : lit ( '明尊琉璃体' ) , 铁骨衣 : lit ( '铁骨衣' ) , 隐龙诀 : lit ( '隐龙诀' ) , 太玄经 : lit ( '太玄经' ) , } ; export type KungFu = ( typeof KungFu ) [ keyof typeof KungFu ] ; export const schoolKungfuMap = { [ School . 万花 ] : [ KungFu . 花间游 , KungFu . 离经易道 ] , [ School . 少林 ] : [ KungFu . 易筋经 , KungFu . 洗髓经 ] , [ School . 明教 ] : [ KungFu . 焚影圣诀 , KungFu . 明尊琉璃体 ] , [ School . 唐门 ] : [ KungFu . 天罗诡道 , KungFu . 惊羽诀 ] , [ School . 七秀 ] : [ KungFu . 冰心诀 , KungFu . 云裳心经 ] , [ School . 五毒 ] : [ KungFu . 毒经 , KungFu . 补天诀 ] , [ School . 纯阳 ] : [ KungFu . 紫霞功 , KungFu . 太虚剑意 ] , [ School . 天策 ] : [ KungFu . 傲血战意 , KungFu . 铁牢律 ] , [ School . 丐帮 ] : [ KungFu . 笑尘诀 ] , [ School . 藏剑 ] : [ KungFu . 山居剑意 , KungFu . 问水诀 ] , [ School . 苍云 ] : [ KungFu . 分山劲 , KungFu . 铁骨衣 ] , [ School . 长歌 ] : [ KungFu . 莫问 , KungFu . 相知 ] , [ School . 霸刀 ] : [ KungFu . 北傲诀 ] , [ School . 蓬莱 ] : [ KungFu . 凌海诀 ] , [ School . 凌雪 ] : [ KungFu . 隐龙诀 ] , [ School . 衍天 ] : [ KungFu . 太玄经 ] , } ; export type EmbedStoneType = 'unified' | 'wood' | 'fire' | 'earth' | 'metal' | 'water' ; export const GamingRole = { DAMAGE_DEALER : lit ( 'DAMAGE_DEALER' ) , HEALER : lit ( 'HEALER' ) , TANK : lit ( 'TANK' ) , } ; export type GamingRole = ( typeof GamingRole ) [ keyof typeof GamingRole ] ;