游戏王残局简化版

Check-in [6635e5ac89]
Login

Check-in [6635e5ac89]

Overview
Comment:统一
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6635e5ac895d0f836da73c3673240a4cf2ce18d0f649531aa8cbc48d9aa32eeb
User & Date: 顽雨沉风 on 2024-02-03 06:26:37
Other Links: manifest | tags
Context
2024-02-03
06:59
完成 check-in: e85a723505 user: 顽雨沉风 tags: trunk
06:26
统一 check-in: 6635e5ac89 user: 顽雨沉风 tags: trunk
06:05
加释 check-in: 886d224d41 user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lua_lib/常用库.lua from [da46818a11] to [ac65434f80].

83
84
85
86
87
88
89






90
91
  --~ 文件
  k1_4 = io.open(o1, o2 or "r")
  --~ 文
  k1 = k1_4:read("a")
  k1_4:flush()
  k1_4:close()
  return k1






  end
return d_4







>
>
>
>
>
>


83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
  --~ 文件
  k1_4 = io.open(o1, o2 or "r")
  --~ 文
  k1 = k1_4:read("a")
  k1_4:flush()
  k1_4:close()
  return k1
  end
--~ 常量排
function d_4.加对限(o1_11)
  for o1 = 1, #o1_11 do
    o1_11[o1] = 
    end
  end
return d_4

Modified 残局文料/用令行工具排版lua文件.lua from [f976f12b07] to [909dfd2def].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 d_2 = {}
d_2.目对 = {
  ["文件目"] = [[../single]]
  , ["文件类"] = ".lua"
  , ["令行前缀"] = [[stylua --indent-type Spaces  --indent-width 2 --collapse-simple-statement Never ]]
  }
for _, o1 in pairs(d_2.目对) do
  d_2.目对[_] = f.操类(o1, "string", u8)
  end
f.用令行工具操文件(d_2.目对)











|
|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 d_2 = {}
d_2.目对 = {
  ["文件目"] = [[../single]]
  , ["文件类"] = ".lua"
  , ["令行前缀"] = [[stylua --indent-type Spaces  --indent-width 2 --collapse-simple-statement Never ]]
  }
for o1, o2 in pairs(d_2.目对) do
  d_2.目对[o1] = f.操类(o2, "string", u8)
  end
f.用令行工具操文件(d_2.目对)

Modified 残局文料/集YGOPro常量并据此产lua文件.lua from [215a773925] to [1b44a21084].

44
45
46
47
48
49
50
51
52
53
54
55
56
57

58
59
60

61
62




63
64
  --~ k1_11 = 遍历排库.遍历_返排态(k1_11, 判文库.返选文, "[^\t]+")
  --~ k1_11 = 遍历排库.遍历_返排态(k1_11, string.lstrip)
  --~ k1_11 = 遍历排库.遍历_返排态(k1_11, string.gsub, " ", "=", 1)
  --~ k1_11 = 遍历排库.遍历_返排态(k1_11, string.gsub, "|.+", "")
  --~ d_3.入排而加表限并写件(k1_11, 字集码互转库.u8_to_a("字段名.lua"))
  --~ end

local k1 = 字集码互转库.u8_to_a([[D:\install\YGOPro]])
d_3.集YGOPro常量并据此产lua文件(k1)
d_2.目对 = {
  ["文件目"] = [[D:\install\YGOPro]]
  , ["文件路"] = [[script/constant.lua]]
  , ["删文"] = "%-%-" .. "[^\n]*"
  }

--~ 文件路
function d_3.产普常量件(o1)
  local k1

  --~ 文
  k1 = f.读文件(o1)




  end
d_3.产普常量件([[D:\install\YGOPro/script/constant.lua]])







|
|
|
|
|
|
<
>

|

>


>
>
>
>

|
44
45
46
47
48
49
50
51
52
53
54
55
56

57
58
59
60
61
62
63
64
65
66
67
68
69
  --~ k1_11 = 遍历排库.遍历_返排态(k1_11, 判文库.返选文, "[^\t]+")
  --~ k1_11 = 遍历排库.遍历_返排态(k1_11, string.lstrip)
  --~ k1_11 = 遍历排库.遍历_返排态(k1_11, string.gsub, " ", "=", 1)
  --~ k1_11 = 遍历排库.遍历_返排态(k1_11, string.gsub, "|.+", "")
  --~ d_3.入排而加表限并写件(k1_11, 字集码互转库.u8_to_a("字段名.lua"))
  --~ end

--~ local k1 = 字集码互转库.u8_to_a([[D:\install\YGOPro]])
--~ d_3.集YGOPro常量并据此产lua文件(k1)
--~ d_2.目对 = {
  --~ ["文件目"] = [[D:\install\YGOPro]]
  --~ , ["文件路"] = [[script/constant.lua]]
  --~ , ["删文"] = "%-%-" .. "[^\n]*"

  --~ }
--~ 文件路
function d_3.产普常量件(o1)
  local k1
  local k1_11
  --~ 文
  k1 = f.读文件(o1)
  k1 = string.gsub(k1, "%-%-" .. "[^\n]*", "")
  k1 = string.gsub(k1, "[ \t]", "")
  --~ 常量排
  k1_11 = f.历文(k1, string.gmatch, "[^\n]+")
  end
d_3.产普常量件([[D:\install\YGOPro/script/constant.lua]])