Unfortunately, I can't really help here as I don't have access to CoC2's source code. I also don't think using the TiTS source code would be helpful here, as it's entirely possible that minimum/maximum values for things have been changed for CoC2; for example, the wetness and looseness examples...