游戏王残局简化版

Check-in [7ba1ff2268]
Login

Check-in [7ba1ff2268]

Overview
Comment:(/ω\)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7ba1ff2268e8e7a14b4bae00f7e6fccc8098e96b6ecb17779bd1d1379c0d83dd
User & Date: 顽雨沉风 on 2024-01-23 11:05:24
Other Links: manifest | tags
Context
2024-01-23
16:04
(/ω\) check-in: 0243e12f54 user: 顽雨沉风 tags: trunk
11:05
(/ω\) check-in: 7ba1ff2268 user: 顽雨沉风 tags: trunk
10:00
(/ω\) check-in: c9c3e39b9a user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lib_lua/ipml_mj_ysaf.lua from [e6f41e27e5] to [1d2bcc395a].

47
48
49
50
51
52
53










54
55


56
57
58
59







60
61
62
63
64
65
66
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63


64
65
66



67
68
69
70
71
72
73
74
75
76
77
78
79
80







+
+
+
+
+
+
+
+
+
+
-
-
+
+

-
-
-
+
+
+
+
+
+
+







    k1 = o3(k1)
    end
  d_5.写件(o1, k1, o2)
  end
function d_5.删制表符(o1)
  return o1:gsub("\t", "")
  end
function d_5.删前缀(o1, o2)
  if o1:find(o2, 1, true) then
    return o1:sub(#o2 + 1)
    end
  end
function d_5.删后缀(o1, o2)
  if o1:find(o2, -1, true) then
    return o1:sub(1, #o1 - #o2)
    end
  end
function d_5.删空行(o1)
  return o1:gsub("\n\n+", "")
function d_5.删空行_快态(o1)
  return o1:gsub("\n+", "\n")
  end
function d_5.删制表符与空行(o1)
  o1 = d_5.删制表符(o1)
  return d_5.删空行(o1)
function d_5.删空行_慢态(o1)
  o1 = o1:gsub("\n+", "\n")
  o1 = d_5.删前缀(o1, "\n")
  return d_5.删后缀(o1, "\n")
  end
function d_5.删空格(o1)
  return o1:gsub(" ", "")
  end
function d_5.筛排(o1_9, o1, o2, o3)
  local k1_8
  local k1_9
  k1_9 = {}
  for o4 = 1, #o1_9 do
    k1_8 = o1(o1_9[o4], o2, o3)

Modified 残局文料/产常量件.lua from [22fda43c9d] to [febdad7bf2].

1
2
3
4
5
6
7
8
9
10
11
12





13
14
15
16
17
18
19
1
2
3
4
5
6
7
8
9
10


11
12
13
14
15
16
17
18
19
20
21
22










-
-
+
+
+
+
+







package.path = [[.\lib_lua\?.lua;]] .. package.path
package.cpath = [[.\lib_dll\?.dll;]] .. package.cpath
_G.常用库 = require("ipml_mj_ysaf")
local 字集码互转库 = require("u8_to_a")
local 删注库_月程语态_不虑字串态 = require_u8("删注/月程语_不虑字串")
local d_2 = {}
function d_2.产常量件(o1)
  local k1
  k1 = 常用库.读件(o1 .. "/script/constant.lua", "rb")
  k1 = 删注库_月程语态_不虑字串态.事启(k1)
  k1 = 常用库.删制表符与空行(k1)
  print(k1)
  k1 = 常用库.删制表符(k1)
  k1 = 常用库.删空行(k1)
  k1 = 常用库.删空格(k1)
  --~ print(1)
  print(k1:gsub("\n", "猪"))
  end
function d_2.筛凡常量()
  
  end
function d_2.筛字段量()
  
  end