Menu

Data files format

Data files (1)
Ganje

I plan unite all bases so they will belong to us.
Or at least create united base of materials.
I'm not sure i's necessary.

Fabric.dat

  • count of all fabric data (n)
  • name of fabric #1 (string)
  • color of fabric #1 (hexadecimal string)
  • amount of fabric #1 (single equivalently float)
    ...
  • name of fabric #n
  • color of fabric #n
  • amount of fabric #n

Thread.dat

similar
count of all thread data (n)
name of thread #1 (string)
color of thread #1 (hexadecimal string)
amount of thread #1 (single equivalently float)
...
name of thread #n
color of thread #n
* amount of thread #n

Stuffing.Dat

analogical
count of all stuffing data (n)
name of stuffing #1 (string)
color of stuffing #1 (hexadecimal string)
amount of stuffing #1 (single equivalently float)
...
name of stuffing #n
color of stuffing #n
* amount of stuffing #n

Pony.dat

a bit complex
count of all ponies (n)
name of pony #1
count of all materials of pony#1 (m)
kind of resource #1
name of resource #1
color of resource #1
amount of resource #1
...
kind of resource #m
name of resource #m
color of resource #m
amount of resource #m
name of pony #2
count of all materials of pony#2
...and so on
name of pony #n
* count of all materials of pony#n (l)
...
EOF