cfg_model_default.lua 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_model_default_column
  3. ---唯一ID
  4. ---1=战士,2=法师,3=弓箭,4=魔剑,5=圣导,6=召唤
  5. ---@field id number @编号 column=1 A
  6. ---身体骨骼
  7. ---@field body number @身体骨骼 column=2 B
  8. ---头盔
  9. ---@field head number @头部 column=3 C
  10. ---盔甲
  11. ---@field armor number @身体 column=4 D
  12. ---手套
  13. ---@field hand number @手 column=5 E
  14. ---裤子
  15. ---@field pants number @裤子 column=6 F
  16. ---鞋子
  17. ---@field boot number @鞋子 column=7 G
  18. ---影子
  19. ---@field shadow number @影子 column=8 H
  20. ---策划自用
  21. ---[[客户端不使用]]@field remark string @备注 column=9 I
  22. local cfg_model_default =
  23. {
  24. {id=1, head=20100002, armor=20020002, hand=20090002, pants=20150002, boot=20050002},
  25. {id=2, body=20230002, head=20100001, armor=20020001, hand=20090001, pants=20150001, boot=20050001},
  26. {id=3, body=20230003, head=20100003, armor=20020003, hand=20090003, pants=20150003, boot=20050003},
  27. {id=4, head=20100004, armor=20020004, hand=20090009, pants=20150044, boot=20050004},
  28. {id=5, body=20230002, head=20100005, armor=20020005, hand=20090010, pants=20150045, boot=20050005},
  29. {id=6, body=20230003, head=20100006, armor=20020006, hand=20090011, pants=20150046, boot=20050006},
  30. {id=101, head=20400011, armor=20600011, hand=20700011, pants=20900011, boot=20900011},
  31. {id=102, body=20230002, head=20400031, armor=20600031, hand=20700031, pants=20800031, boot=20900031},
  32. {id=103, body=20230003, head=20400141, armor=20600141, hand=20700141, pants=20800141, boot=20900141},
  33. {id=201, head=20110071, armor=20020008, hand=20090013, pants=20150048, boot=20050008},
  34. {id=202, body=20230002, head=20110070, armor=20020007, hand=20090012, pants=20150047, boot=20050007},
  35. {id=203, body=20230003, head=20110072, armor=20020009, hand=20090014, pants=20150049, boot=20050009},
  36. {id=301, head=20110075, armor=20020012, hand=20090017, pants=20150052, boot=20050012},
  37. {id=302, body=20230002, head=20110074, armor=20020011, hand=20090016, pants=20150051, boot=20050011},
  38. {id=303, body=20230003, head=20110076, armor=20020013, hand=20090018, pants=20150053, boot=20050013},
  39. }
  40. local defaults = {body=20230001, shadow=20170001}
  41. local mt = {__index = defaults}
  42. for _, v in ipairs(cfg_model_default) do
  43. setmetatable(v, mt)
  44. end
  45. return cfg_model_default