catchy title? I think so,
Through the help of a few of the guru's and some self intuition I have made great leaps in knowledge skill and logic over the past few months. However as seems to be the case I have run into another speed bump. However this time, it is not an error per say, but a poor coding style in my opinion.
I have a segment of code for crafting items, at the present one entry, ie for creating a helmet is about 20 lines, and it has the flexability to use that one entry for 15 metal types and 7 qualities, however I have an entry for every type of armor and weapon, each crafting entry does relatively the same thing with minor changes (sound familiar?). It is my goal to remove these multiple entries and consolidate even further than before. However unlike before there are different variables that go into the equation.
Before I had an entry for every armor type and every metal, and each of these entries calculated 7 types of quality, for a grand total of 6 billion lines of code ;). I am not so superfluous now, but I would like to cut down. At this point the code is very functional and close to completion so I would rather not post it, however I would be more than happy to send it to Lummox JR, or someone of that category of trust. and no I am not flattering myself into thinking I have the holy grail of coding, I just think my work shouldn't find its way into other projects without permission, and I am merely ensuring it doesn't.
I will be making an attempt at it while I await help.
Apr 20 2007, 3:21 am