Overview
Comment: | 不指了 |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
987280ca92034d3e68e69089b12e53ea |
User & Date: | 顽雨沉风 on 2024-02-04 11:34:58 |
Other Links: | manifest | tags |
Context
2024-02-04
| ||
11:35 | 不指了 check-in: d75e496659 user: 顽雨沉风 tags: trunk | |
11:34 | 不指了 check-in: 987280ca92 user: 顽雨沉风 tags: trunk | |
11:32 | 不指了 check-in: eda1d2cdc8 user: 顽雨沉风 tags: trunk | |
Changes
Modified 残局文料/残局改名.lua from [13a6e9f031] to [a4e8b1e0e1].
︙ | ︙ | |||
72 73 74 75 76 77 78 | k1_9 = f.历文(o1, string.gmatch, "[^\n]+") k1_9 = f.历排(k1_9, f.全筛前缀, "Debug.ReloadFieldBegin") --~ 则数 k1 = string.match(k1_9[1], "[0-9]") return k1 or 3 end --~ 目对 | | | | | | | | | | | | | | | | | | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | k1_9 = f.历文(o1, string.gmatch, "[^\n]+") k1_9 = f.历排(k1_9, f.全筛前缀, "Debug.ReloadFieldBegin") --~ 则数 k1 = string.match(k1_9[1], "[0-9]") return k1 or 3 end --~ 目对 function d.残局改名(o1_0) local k1_0, k2_0, k3_0, k4_0, k5_0, k6_0 --~ 文件排 k1_0 = f.历文(o1_0.文件目, 简文件库.dir) k1_0 = f.历排(k1_0, f.全筛后缀, ".lua") for o1 = 1, #k1_0 do k1_0[o1] = f.加前缀(k1_0[o1], o1_0.文件目) k1_0[o1] = f.读文件(k1_0[o1]) k1_0[o1] = string.gsub(k1_0[o1], "%-%-" .. "%[(=*)%[" .. ".-" .. "%]%1%]", "") k1_0[o1] = string.gsub(k1_0[o1], "%-%-" .. "[^\n]*", "") end --~ 则数排 k2_0 = f.历排(k1_0, d.局筛则数) --~ 各文件的卡编排 k3_0 = f.历排(k1_0, d.局筛卡编) _G.数据库 = 简数据库库.open(o1_0.数据库路) --~ 各文件的卡对排 k4_0 = f.历排(k3_0, d.取卡对_一维) --~ 有效果卡的张数排 k5_0 = f.历排(k4_0, d.筛有效果卡的张数) --~ 卡文排 --~ k6_0 = f.历排(k3_0, d.取卡文) --~ print(k5_0[2]) end d.目对 = { ["文件目"] = "../single/" , ["数据库路"] = [[D:\install\YGOPro\cards.cdb]] } for o1_0, o2_0 in pairs(d.目对) do d.目对[o1_0] = f.操类(o2_0, "string", u8) |
︙ | ︙ |