Talk:PRODUCT.DAT

From UFOpaedia
Revision as of 00:25, 15 May 2008 by Zombie (talk | contribs) (Note to MTR about bugginess of the FBL.)
Jump to navigation Jump to search

Manufacturing Requirements

Bytes 8-10 have the following values for objects:

88 = Alloys
60 = E115
80 = Power Source
81 = Navigation


You know, I always wondered why the FBL entry for prereq and qty were offset. Obviously it is a programming glitch. As a test, I edited Product.dat so that the prereq and qty numbers happened at the beginning of the list and bingo, FBL's now take 1 unit alien alloys per launcher. Editing product.dat while you are currently manufacturing FBL's doesn't stop the bug, as BPROD.DAT is active. Just to note, the bug cannot be completely eliminated by editing product.dat as that file is created from the executable. Editing the executable fixes it permanently.

Not sure I agree with lumping the prereq and qty types in the same entry on the article page though. Those two should stay separate as they are different things. Anyway, nice job nonetheless.