Overview
| Comment: | 将有新表 |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b2d67bda642113cee86443789a221fa9 |
| User & Date: | 顽雨沉风 on 2024-02-03 11:57:41.470 |
| Other Links: | manifest | tags |
Context
|
2024-02-03
| ||
| 12:03 | 预备完,可前进了 check-in: 023be319b7 user: 顽雨沉风 tags: trunk | |
| 11:57 | 将有新表 check-in: b2d67bda64 user: 顽雨沉风 tags: trunk | |
| 11:52 | 有字易混,故用真 check-in: d8075946c6 user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/残局改名.lua
from [245cf2514d]
to [c300b61aa5].
1 2 3 4 5 6 7 8 |
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local 简文件库 = require("lfs")
local 简数据库库 = require("lsqlite3")
local d_5 = {}
| > > | > > > > > > | > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local 简文件库 = require("lfs")
local 简数据库库 = require("lsqlite3")
local d_5 = {}
do
--~ 卡对
function d_5.筛真效果卡的卡数(o1_5)
end
end
--~ 卡对排
function d_5.筛真效果卡的卡数_一维(o1_8)
local k1_8
--~ 卡排
k1_8 = f.历排(o1_8, d_5.筛真效果卡的卡数)
return #k1
end
--~ 卡编排
function d_5.筛卡对_一维(o1_8)
return f.历排(o1_8, d_5.筛卡对)
end
--~ 卡编
function d_5.筛卡对(o1_8)
|
| ︙ | ︙ | |||
55 56 57 58 59 60 61 | k2_9 = f.历排(k1_9, d_5.局筛则数) --~ 各文件的卡编排 k3_9 = f.历排(k1_9, d_5.局筛卡编) _G.数据库 = 简数据库库.open(o1.数据库路) --~ 各文件的卡对排 k4_9 = f.历排(k3_9, d_5.筛卡对_一维) --~ 真效果卡的卡数排 | | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
k2_9 = f.历排(k1_9, d_5.局筛则数)
--~ 各文件的卡编排
k3_9 = f.历排(k1_9, d_5.局筛卡编)
_G.数据库 = 简数据库库.open(o1.数据库路)
--~ 各文件的卡对排
k4_9 = f.历排(k3_9, d_5.筛卡对_一维)
--~ 真效果卡的卡数排
k5_9 = f.历排(k4_9, d_5.筛真效果卡的卡数_一维)
end
d_5.目对 = {
["文件目"] = "../single/"
, ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]
}
for o1, o2 in pairs(d_5.目对) do
d_5.目对[o1] = f.操类(o2, "string", u8)
end
d_5.残局改名(d_5.目对)
|