游戏王残局简化版

Check-in [beb98c727c]
Login

Check-in [beb98c727c]

Overview
Comment:
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: beb98c727c56a4bbd1dca1cd477d4c9ea910b07de69eefb54c329b3288c9cd50
User & Date: 顽雨沉风 on 2024-02-12 15:36:16
Other Links: manifest | tags
Context
2024-02-12
15:43
check-in: b2254565d9 user: 顽雨沉风 tags: trunk
15:36
check-in: beb98c727c user: 顽雨沉风 tags: trunk
15:31
check-in: e9708131c6 user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lua_lib/游戏王_则拟器_原版_卡档.lua from [5c94c46381] to [f0197ce74f].

9
10
11
12
13
14
15




16
17
18
19
20
21





22
23
24
25

26
27
28
29
30
31
32

  local k1_0, k2_0
  --~ 卡文对
  k1_0 = d.取卡文(o1)
  --~ 卡数据对
  k2_0 = d.取卡数据(o1)
  return 对库.连两对(k1_0, k2_0)
  end




--~ 卡编
function d.取卡文(o1)
  for o1_4 in 卡档:nrows(文库.连("select * from texts where id = ", o1)) do
    return o1_4
    end
  end





--~ 卡编
function d.取卡数据(o1)
  for o1_4 in 卡档:nrows(文库.连("select * from datas where id = ", o1)) do
    return o1_4

    end
  end
--~ 卡档路
function d.启卡档(o1)
  卡档 = 档库.open(o1)
  end
return d








>
>
>
>
|
|
|
|
|
|
>
>
>
>
>
|
|
|
|
>







>
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
  local k1_0, k2_0
  --~ 卡文对
  k1_0 = d.取卡文(o1)
  --~ 卡数据对
  k2_0 = d.取卡数据(o1)
  return 对库.连两对(k1_0, k2_0)
  end
do
  local k1
  --~ 模
  k1 = "select * from texts where id = "
  --~ 卡编
  function d.取卡文(o1)
    for o1_4 in 卡档:nrows(文库.连(k1, o1)) do
      return o1_4
      end
    end
  end
do
  local k1
  --~ 模
  k1 = "select * from datas where id = "
  --~ 卡编
  function d.取卡数据(o1)
    for o1_4 in 卡档:nrows(文库.连(k1, o1)) do
      return o1_4
      end
    end
  end
--~ 卡档路
function d.启卡档(o1)
  卡档 = 档库.open(o1)
  end
return d