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(50-1) 字符串中第一个只出现一次的字符
本文参考自<剑指offer>一书,代码采用Java语言. 更多:<剑指Offer>Java实现合集 题目 在字符串中找出第一个只出现一次的字符.如输入"abacc ...
- Machine Learning 学习笔记2 - linear regression with one variable(单变量线性回归)
一.Model representation(模型表示) 1.1 训练集 由训练样例(training example)组成的集合就是训练集(training set), 如下图所示, 其中(x,y) ...
- 通过pyqt5实现俄罗斯方块游戏例子
# *_* coding:utf-8 *_* # 开发团队:中国软件开发团队# 开发人员:Administrator# 开发时间:2019/3/17 2:13# 文件名称:RussiaBoard# 开 ...
- MAC OS X下配置PHP开发、调试环境
操作系统:MAC OS X 工具:MAMP.PhpStorm.xdebug.chrome 1.下载MAMP 2.安装比较简单,安装完成后,应用程序中会增加如下4个应用 MacGDBp是PHP调试器,使 ...
- 动态规划_线性dp
https://www.cnblogs.com/31415926535x/p/10415694.html 线性dp是很基础的一种动态规划,,经典题和他的变种有很多,比如两个串的LCS,LIS,最大子序 ...
- 论文--Topic-Sensitive PageRank
背景 原有的PageRank方法:通过web上链接结构信息得到页面之间相对的重要性,和特定的查询内容无关 论文涉及到的其他算法 HITS Hilltop,处理常见的流行查询 popular query ...
- Winform给TextBox设置默认值
Winform给TextBox设置默认值(获取焦点后默认值消失) 主要是通过TextBox的获取焦点Enter和失去焦点Leave两个事件来实现的, 思路如下: 1.设置一个字符串常量,作为TextB ...
- js滚动分页原理
<!doctype html><html> <head> <!--声明当前页面的编码集:charset=gbk,gb2312(中文编码),utf-8国际编码- ...
- json字符串转换对象的方法1
为了方便读者了解json的使用,读者直接粘贴下面代码看效果即可: var json1 = {'name':'小李','age':'11','sex':'女'};console.log(json1.na ...