游戏王残局简化版

Check-in [c5096a6a56]
Login

Check-in [c5096a6a56]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c5096a6a56e237ddd12ffac73a86ce51a1acb3884c5b7a9c26feab4765bf1138
User & Date: 顽雨沉风 on 2024-02-12 15:24:25
Other Links: manifest | tags
Context
2024-02-12
15:30
check-in: b0e744e1e3 user: 顽雨沉风 tags: trunk
15:24
check-in: c5096a6a56 user: 顽雨沉风 tags: trunk
14:54
check-in: f989996309 user: 顽雨沉风 tags: trunk
Changes

Added 残局文料/lua_lib/算机_程语_月_注_删_不虑字串.lua version [462c8794d5].























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
local string = string
local d = {}
-- 单行注与多行注
--~ 文
function d.删注(o1)
  o1 = d.删多行注(o1)
  return d.删单行注(o1)
  end
do
  local k1
  --~ 模
  k1 = 文库.连("%-%-", "%[", "(=*)", "%[", ".-", "%]", "%1", "%]")
  --~ 文
  function d.删多行注(o1)
    return string.gsub(o1, k1, "")
    end
  end
do
  local k1
  --~ 模
  k1 = 文库.连("%-%-", "[^\n]*")
  --~ 文
  function d.删单行注(o1)
    return string.gsub(o1, k1, "")
    end
  end
return d

Modified 残局文料/游戏王_则拟器_原版_残局_局名_改名.lua from [c179906a1a] to [5bf68e86e2].

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
local 排算库 = require(字集库.u8_to_a("算机_程语_月_基类_表_排_基类_数"))
local 读文件库 = require(字集库.u8_to_a("算机_基统_窗群_文件系_小文件_读"))
local 写文件库 = require(字集库.u8_to_a("算机_基统_窗群_文件系_小文件_写"))
local string = string
local os = os
local table = table
local d = {}
local 卡档
--~ 卡对排
function d.筛有效果卡(o1_0)
  return 历排库.历排(o1_0, 筛卡库.筛有效果卡)
  end
--~ 卡编排
function d.取卡对_一维(o1_0)
  return 历排库.历排(o1_0, 卡档库.取卡对)







<







16
17
18
19
20
21
22

23
24
25
26
27
28
29
local 排算库 = require(字集库.u8_to_a("算机_程语_月_基类_表_排_基类_数"))
local 读文件库 = require(字集库.u8_to_a("算机_基统_窗群_文件系_小文件_读"))
local 写文件库 = require(字集库.u8_to_a("算机_基统_窗群_文件系_小文件_写"))
local string = string
local os = os
local table = table
local d = {}

--~ 卡对排
function d.筛有效果卡(o1_0)
  return 历排库.历排(o1_0, 筛卡库.筛有效果卡)
  end
--~ 卡编排
function d.取卡对_一维(o1_0)
  return 历排库.历排(o1_0, 卡档库.取卡对)
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
  --~ 新名排
  k9_0 = 历排库.历排(k1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "")
  --~ 编号排
  k10_0 = 历排库.历排(k1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "")
  k9_0 = 历排库.历排(k9_0, string.gsub, 文库.连("%.", "lua", "$"), "")
  for o1 = 1, #k1_0 do
    k9_0[o1] = 文库.连(字集库.a_to_u8(o1_0.文件目), 字集库.a_to_u8(k9_0[o1]), " ", k3_0[o1], "_", 数库.几位整数(k7_0[o1], 2))
    --~ print(k9_0[o1], "_", k8_0[o1], ".", "lua")
    if k8_0[o1] == 0 then
      k9_0[o1] = 文库.连(k9_0[o1], ".", "lua")
    else
      k9_0[o1] = 文库.连(k9_0[o1], "_", k8_0[o1], ".", "lua")
      end
    end
  k1_0 = 历排库.历排(k1_0, 前缀库.加前缀, o1_0.文件目)







<







119
120
121
122
123
124
125

126
127
128
129
130
131
132
  --~ 新名排
  k9_0 = 历排库.历排(k1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "")
  --~ 编号排
  k10_0 = 历排库.历排(k1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "")
  k9_0 = 历排库.历排(k9_0, string.gsub, 文库.连("%.", "lua", "$"), "")
  for o1 = 1, #k1_0 do
    k9_0[o1] = 文库.连(字集库.a_to_u8(o1_0.文件目), 字集库.a_to_u8(k9_0[o1]), " ", k3_0[o1], "_", 数库.几位整数(k7_0[o1], 2))

    if k8_0[o1] == 0 then
      k9_0[o1] = 文库.连(k9_0[o1], ".", "lua")
    else
      k9_0[o1] = 文库.连(k9_0[o1], "_", k8_0[o1], ".", "lua")
      end
    end
  k1_0 = 历排库.历排(k1_0, 前缀库.加前缀, o1_0.文件目)