cfg_equip_tips.lua 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_equip_tips_column
  3. ---一个id为一个属性模块,增加新id需要与程序沟通,否则无法生效
  4. ---1=基础属性
  5. ---2=强化属性
  6. ---3=追加属性
  7. ---4=卓越属性
  8. ---5=萤石属性
  9. ---6=套装属性
  10. ---7=再生属性
  11. ---8=大天使-成长属性
  12. ---9=大天使-圣杯属性
  13. ---10=首饰属性
  14. ---@field id number @id column=1 A
  15. ---策划备注用
  16. ---@field remarks string @备注 column=2 B
  17. ---属性标题使用的图片文件名称
  18. ---此字段与 标题文字 字段互斥 两者填写一个即可 如果两者都填写 优先使用标题图片字段数据 不读标题文字数据
  19. ---@field picture string @标题图片 column=3 C
  20. ---属性标题使用的图片背景名称
  21. ---@field bg string @标题背景 column=4 D
  22. ---属性标题使用的文字
  23. ---此字段与 标题图片 互斥
  24. ---@field text string @标题文字 column=5 E
  25. ---属性标题使用文字时 文字的颜色 引援cfg_color表id
  26. ---@field textColor number @文字颜色 column=6 F
  27. ---具体模块下的属性名的颜色
  28. ---引援cfg_color表id
  29. ---@field attNameColor number @属性名称颜色 column=7 G
  30. ---具体模块下的属性值的颜色
  31. ---引援cfg_color表id
  32. ---@field attColor number @属性颜色 column=8 H
  33. ---具体模块下的属性背景图
  34. ---@field attBg string @属性背景图 column=9 I
  35. ---类型在tips排序顺序
  36. ---@field sort number @排列顺序 column=10 J
  37. ---0.不显示
  38. ---1.显示
  39. ---不填默认为0
  40. ---@field show number @是否显示 column=11 K
  41. local cfg_equip_tips =
  42. {
  43. {id=1, remarks="基础属性", picture="tips_attribute1", attNameColor=2671, attColor=2671, sort=101},
  44. {id=2, remarks="强化属性", picture="", bg="", attNameColor=267, attColor=267, sort=201},
  45. {id=3, remarks="追加属性", picture="", bg="", attNameColor=267, attColor=267, sort=301},
  46. {id=4, remarks="卓越属性", picture="tips_attribute3", attColor=2672, sort=401},
  47. {id=5, remarks="萤石属性", picture="tips_attribute5", attColor=2672, sort=501, show=0},
  48. {id=6, remarks="套装属性", picture="tips_attribute2", attNameColor=274, attColor=274, sort=601},
  49. {id=7, remarks="再生属性", picture="", text="再生属性", textColor=251, attColor=2672, sort=701},
  50. {id=8, remarks="大天使-成长属性", picture="tips_attribute23", attNameColor=265, attColor=265, sort=801},
  51. {id=9, remarks="大天使-圣杯属性", picture="tips_attribute28", attNameColor=265, attColor=265, sort=901},
  52. {id=10, remarks="首饰属性", picture="tips_attribute21", attColor=3004, sort=202},
  53. }
  54. local defaults = {bg="img_tips_shuxing_di", text="", textColor=0, attNameColor=2672, attBg="img_tips_shuxing_di", show=1}
  55. local mt = {__index = defaults}
  56. for _, v in ipairs(cfg_equip_tips) do
  57. setmetatable(v, mt)
  58. end
  59. return cfg_equip_tips