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