FACIL.DAT: - each entry is 16 bytes long
Offset 00 - This is a pointer to string in english.dat.
Offset 01 - Probably a high bit for the string pointer.
Offset 02 & 03 - Price to build/$k (low bit then high bit respectively) - Possible values = no more than FF 7F (which translates to 7F FF), going beyond that makes it negative.
Offset 04 - Amount of days it takes to build - Possible values = 00 to FF
Offset 05 - Upkeep/$k - Possible Values = 00 to FF
Offset 06 - Not sure, but I know it has something to do with . It's only got a value in entries that can carry stuff (hangar, general stores, labs, etc...).
Offset 07 - NEED HELP
Offset 08 & 09 - Defense strength (low bit then high bit respectively) - Possible values = no more than FF 7F (which translates to 7F FF), going beyond that makes it
Offset 0A - Hit ratio percentage. For defenses. Possible values = 00 to 64, you can't really have more than a 100% chance.
Offset 0B - NEED HELP
Offset 0C - Build flag, see below for values
Offset 0D to 0F - NEED HELP
Here is the list of each facility. I'll list them with the number of the first offset as it still counts up easily. The first number after the name is the value that will make this facility NOT able to build, the second is the value that WILL make this facility available for building (this number should be larger than the first).
00 - Access Lift - 01 - 05
10 - Living Quarters - 00 - 04
20 - Laboratories - 00 - 04
30 - Workshop - 00 - 04
40 - Small Radar System - 01 - 05
50 - Large Radar System - 00 - 04
60 - Missile Defenses - 01 - 05
70 - General Stores - 00 - 04
80 - Alien Containment - 00 - 04
90 - Laser Defenses - 0A - 0E
A0 - Plasma Defenses - 0A - 0E
B0 - Fusion Ball Defenses - 0A - 0E
C0 - Grav Shield - 09 - 0D
D0 - Mind Shield - 09 - 0D
E0 - Psionic Lab - 08 - 0C
F0 - Hyper-wave Decoder - 09 - 0D
100 - Hangar - 00 - 04