chiark / gitweb /
cargo: update x11rb
[otter.git] / library / cards-oxymoron.toml
1 # Copyright 2020-2021 Ian Jackson and contributors to Otter
2 # SPDX-License-Identifier: AGPL-3.0-or-later OR CC-BY-SA-3.0
3 # There is NO WARRANTY.
4
5 format=2
6
7 [scraper]
8 method = "cards-oxymoron"
9 spdx = "GPL-2.0-or-later"
10 filename_prefix = "cards/src/"
11 filename_suffix = ".gif"
12
13 [group.clubs]
14 item_prefix = "card-oxymoron-"
15 outline = "Rect"
16 size = [18.25, 24.25]
17
18 item_suffix = "-c"
19 sort = "card-playing-c${s}"
20 desc_template = "the ${desc} of clubs"
21
22 occulted.method = "ByBack"
23 occulted.ilk = "card-back"
24
25 files = """
26 :               sort
27 2       -       02      two
28 3       -       03      three
29 4       -       04      four
30 5       -       05      five
31 6       -       06      six
32 7       -       07      seven
33 8       -       08      eight
34 9       -       09      nine
35 T       -       10      ten
36 J       -       11      jack
37 Q       -       12      queen
38 K       -       13      king
39 A       -       14      ace
40 """
41
42 [group.clubs.back]
43 type = "Alias"
44 target = "card-back"
45
46 [group.diamonds]
47 inherit = "clubs"
48 item_suffix = "-d"
49 sort = "card-playing-d${s}"
50 desc_template = "the ${desc} of diamonds"
51
52 [group.hearts]
53 inherit = "clubs"
54 sort = "card-playing-h${s}"
55 item_suffix = "-h"
56 desc_template = "the ${desc} of hearts"
57
58 [group.spades]
59 inherit = "clubs"
60 sort = "card-playing-s${s}"
61 item_suffix = "-s"
62 desc_template = "the ${desc} of spades"