File: README.levels

package info (click to toggle)
katomic 4%3A21.08.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 2,964 kB
  • sloc: cpp: 2,164; xml: 128; perl: 32; makefile: 8; sh: 3
file content (83 lines) | stat: -rw-r--r-- 1,603 bytes parent folder | download | duplicates (7)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Levels are stored in level sets. Level set has a simple ini-file format which includes:

1. Header

[LevelSet]
Name=KAtomic levels
Description=This is the additional collection of KAtomic levels.
Author=Mr. Foo Bar
AuthorEmail=foo@bar.mr
LevelCount=27

Fields Name and LevelCount are required

2. Levels description

Each level described by a separate ini-file group entry named [LevelNNN] where NNN is level number, for example:

[Level1]
Name=Water
atom_1=1-c
atom_2=3-cg
atom_3=1-g
feld_00=...............
feld_01=...............
feld_02=...............
feld_03=..###########..
feld_04=..#..#......#..
feld_05=..#.3#......#..
feld_06=..#.##......#..
feld_07=..#.#..#.####..
feld_08=..#....#.2..#..
feld_09=..###.#.....#..
feld_10=..#1....#...#..
feld_11=..###########..
feld_12=...............
feld_13=...............
feld_14=...............
mole_0=123

Explanation of level description format:
(could be improved, currently please read levels/default_levels.dat for examples)

atom_1=2-bdD

Here's how to decode that.
Atoms are the chars that go before dash,
Bonds are the chars that go after dash.

Atoms:
1=H
2=C
3=O
4=N
5=S
6=F
7=Cl
8=Br
9=P
0=J
o=Crystal
E,F,G,H,I,J,K,L - flasks with ranging fullness, E - being an empty flask, L - full flask.
A=horizontal connector
B=slash-like connector
C=vertical connector
D=backslash-like connector

Bonds:
a=single top
b=single top-right
c=single right
d=single bot-right
e=single bottom
f=single bot-left
g=single left
h=single top-left
A=double top
B=double right
C=double bottom
D=double left
E=triple top
F=triple right
G=triple bottom
H=triple left