lua -- 物品的配置文件,表的形式保存
do local goodsprop=
{
RECORDS={
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="初級經驗書",
Name_CN="初级经验书",
ID= --
,
UseCD=
,
Icon="",
Dsc_CN="增加100点经验"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="中級經驗書",
Name_CN="中级经验书",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="增加1000点经验"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="高級經驗書",
Name_CN="高级经验书",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="增加2000点经验"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="1階寶石碎片",
Name_CN="1阶宝石碎片",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="能够合成一阶宝石"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="2階寶石碎片",
Name_CN="2阶宝石碎片",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="能够合成二阶宝石"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="1階寶石",
Name_CN="1阶宝石",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="能够在装备镶嵌"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="2階寶石",
Name_CN="2阶宝石",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="能够在装备镶嵌"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="3階寶石",
Name_CN="3阶宝石",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="能够在装备镶嵌"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="4階寶石",
Name_CN="4阶宝石",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="能够在装备镶嵌"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="5階寶石",
Name_CN="5阶宝石",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="能够在装备镶嵌"
},
[]={
BuyGold=
,
UseCD=
,
Value=
,
UseTimesPerDay=
,
MainKindID=
,
Param2=
,
BuyCoin=
,
UseLevel=
,
Dsc_CN="内部宝箱",
Name_CN="内部宝箱",
ID=
,
Param1=
,
Icon="",
RecoverPrice=
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="1階寶石碎片袋",
Name_CN="1阶宝石碎片袋",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="袋中有10个1阶宝石碎片"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="2階寶石碎片袋",
Name_CN="2阶宝石碎片袋",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="袋中有10个2阶宝石碎片"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="小銅錢袋",
Name_CN="小铜钱袋",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="2000铜钱"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="銅錢袋",
Name_CN="铜钱袋",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="5000铜钱"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="小元神袋",
Name_CN="小元神袋",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="10元神"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="元神袋",
Name_CN="元神袋",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="50元神"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="大元神袋",
Name_CN="大元神袋",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="100元神"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="體力50點",
Name_CN="体力50点",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="50点体力"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="體力5點",
Name_CN="体力5点",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="5点体力"
},
[]={
BuyGold=
,
RecoverPrice=
,
Value=
,
Param2=
,
UseTimesPerDay=
,
MainKindID=
,
Param1=
,
BuyCoin=
,
UseLevel=
,
Name_TW="宝箱test",
Name_CN="普通宝箱",
ID=
,
UseCD=
,
Icon="",
Dsc_CN="测试宝箱"
}
}
}
return goodsprop end
lua -- 物品的配置文件,表的形式保存的更多相关文章
- 创新手机游戏《3L》开发点滴(1)——道具、物品、装备表设计
一.游戏物品/道具系统数据模型设计特点 为了让游戏更加的丰富,我们1201团队的新手机游戏设计了道具系统.于是丰富了游戏.取悦了玩家,哭了开发——道具/物品数据子系统是简单的.复杂的.不确定的: 简单 ...
- 创新手机游戏《3L》开发点滴(3)——道具、物品、装备表设计 V2(最终版)
我们正在开发一款新手游,里面有道具,之前也写了一篇博文记录了下我们的设计思路,但是国庆到了,于是我有了时间继续纠结这个问题. 其实我主要是在到底是用mysql还是mongodb上纠结.这个复杂.痛苦. ...
- 解决spring-boot配置文件使用加密方式保存敏感数据启动报错No decryption for FailsafeTextEncryptor. Did you configure the keystore correctly
spring-boot配置文件使用加密方式保存敏感数据 application.yml spring: datasource: username: dbuser password: '{cipher} ...
- java中的http请求的封装(GET、POST、form表单形式)
目前JAVA实现HTTP请求的方法用的最多的有两种:一种是通过HTTPClient这种第三方的开源框架去实现.HTTPClient对HTTP的封装性比较不错,通过它基本上能够满足我们大部分的需求,Ht ...
- Lua中的weak表——weak table
弱表(weak table)是一个很有意思的东西,像C++/Java等语言是没有的.弱表的定义是:A weak table is a table whose elements are weak ref ...
- Lua中的weak表——weak table(转)
弱表(weak table)是一个很有意思的东西,像C++/Java等语言是没有的.弱表的定义是:A weak table is a table whose elements are weak ref ...
- lua工具库penlight--02表和数组
类Python的List lua的优美之处在于把数组和关联数组都用table实现了(Python中叫list和dict,C++中叫vector和map). 一般我们把数字索引的table叫做list. ...
- 第九篇 数据表设计和保存item到json文件
上节说到Pipeline会拦截item,根据设置的优先级,item会依次经过这些Pipeline,所以可以通过Pipeline来保存文件到json.数据库等等. 下面是自定义json #存储item到 ...
- 多线程报表生成其中报表以pdf形式保存
设计思路采用生产者消费者模式,生产者生产报表消费者消费报表生成pdf文件其中报表以html形式存储在线程安全列表中.使用到技术有:多线程协作,线程池,线程安全,html 生成pdf. 一.生产者生成h ...
随机推荐
- 【Java】 剑指offer(15) 数值的整数次方
本文参考自<剑指offer>一书,代码采用Java语言. 更多:<剑指Offer>Java实现合集 题目 实现函数double Power(double base, int ...
- 【Java】 剑指offer(67) 把字符串转换成整数
本文参考自<剑指offer>一书,代码采用Java语言. 更多:<剑指Offer>Java实现合集 题目 请你写一个函数StrToInt,实现把字符串转换成整数这个功能 ...
- Java 并发编程整体介绍 | 内含超多干货
前段时间一直在学习多线程相关的知识,目前也算有了一个整体的认识,今天呢,主要从整体介绍一下,只谈造火箭,拧螺丝这种细节还需要自己深究. 首先是操作系统级别对于多线程的支持,由 CPU 的多级缓存.缓存 ...
- 模拟页面获取的php数据(三)
<?php return array( "aData" => [//通勤方式 "trafficType" => [ 0 => [ &qu ...
- python-docx
pip install python-docx 注意不要直接下载docx包 from docx import Document from docx.shared import RGBColor,Inc ...
- bzoj 3811: 玛里苟斯
3811: 玛里苟斯 Time Limit: 10 Sec Memory Limit: 256 MBSubmit: 190 Solved: 95[Submit][Status][Discuss] ...
- BZOJ.4753.[JSOI2016]最佳团体(01分数规划 树形背包DP)
题目链接 \(Description\) 每个点有费用si与价值pi,要求选一些带根的连通块,总大小为k,使得 \(\frac{∑pi}{∑si}\) 最大 \(Solution\) 01分数规划,然 ...
- 潭州课堂25班:Ph201805201 第十五课 迭代器,生成器 (课堂笔记)
推导表达式 li1 = list() for i in range(10): # 迭代循环内容 li1.append(i) print( li1 ) ---->>> [0, 1, 2 ...
- RouterOS双线进行IP分流上网
环境: 1.第一条:电信静态IP,一级路由分配的IP:第二条:移动光纤 2.通过指定某些IP走电信,某些走移动 注意: 1.当有多条线路进行NAT伪装时,Out. Interface这个必须选择具体的 ...
- ADC and DAC Analog Filters for Data Conversion
Figure 3-7 shows a block diagram of a DSP system, as the sampling theorem dictates it should be. Bef ...