cfg_equip_masterGroup.lua 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_equip_masterGroup_column
  3. ---部位id+0+类型
  4. ---@field id number @id column=1 A
  5. ---strPartId
  6. ---@field strPartId number @部位id column=2 B
  7. ---1强化
  8. ---2追加
  9. ---@field type number @类型 column=3 C
  10. ---调用组id
  11. ---@field group number @组 column=4 D
  12. ---用来配置前端显示的部位
  13. ---@field strpartShow string @部位显示 column=5 E
  14. ---[[客户端不使用]]@field @ column=6 F
  15. ---[[客户端不使用]]@field @ column=7 G
  16. ---[[客户端不使用]]@field @ column=8 H
  17. local cfg_equip_masterGroup =
  18. {
  19. {id=101, strPartId=1},
  20. {id=201, strPartId=2},
  21. {id=301, strPartId=3},
  22. {id=401, strPartId=4},
  23. {id=501, strPartId=5},
  24. {id=601, strPartId=6},
  25. {id=701, strPartId=7},
  26. {id=801, strPartId=8},
  27. {id=901, strPartId=9},
  28. {id=1001, strPartId=10},
  29. {id=1101, strPartId=11},
  30. {id=1201, strPartId=12},
  31. {id=1301, strPartId=13},
  32. {id=1401, strPartId=14},
  33. {id=102, strPartId=1, type=2, group=2},
  34. {id=202, strPartId=2, type=2, group=2},
  35. {id=302, strPartId=3, type=2, group=2},
  36. {id=402, strPartId=4, type=2, group=2},
  37. {id=502, strPartId=5, type=2, group=2},
  38. {id=602, strPartId=6, type=2, group=2},
  39. {id=702, strPartId=7, type=2, group=2},
  40. {id=802, strPartId=8, type=2, group=2},
  41. {id=902, strPartId=9, type=2, group=2},
  42. {id=1002, strPartId=10, type=2, group=2},
  43. {id=1102, strPartId=11, type=2, group=2},
  44. {id=1202, strPartId=12, type=2, group=2},
  45. {id=1302, strPartId=13, type=2, group=2},
  46. {id=1402, strPartId=14, type=2, group=2},
  47. }
  48. local defaults = {type=1, group=1, strpartShow="武器 防具 首饰 翅膀"}
  49. local mt = {__index = defaults}
  50. for _, v in ipairs(cfg_equip_masterGroup) do
  51. setmetatable(v, mt)
  52. end
  53. return cfg_equip_masterGroup