if the estimate of 1-6K lines of code is correct, then generating lots of recipes would be easier. (although I don't know how well the recipe parser would cope under load....)
Well, to do the simplist part, of just adding resists and bonuses based on certain things, I estimate the amount of code to be more around 200-600 lines.
And in many ways, what would be easier than manually adding recipies, would be doing somehting inbetween: a simple perl or python script that generates the possible combinations.
finnaly getting the idea. i think there will be a small recipie file though, that has the base archs in it. probably have the script dissasemble the items, find a good base arch, then layer the enchantments on top of that.
Aaron wrote:i think there will be a small recipie file though
Yes, that is probably the best way to store things such as what affect differerent items have on the result (fire resist on armor for fire resist potions type of things)
well you would probably end up with chaos type armour, or just something with resists to both. are there any things in the game that do this currently?
Aaron wrote:well you would probably end up with chaos type armour, or just something with resists to both. are there any things in the game that do this currently?
No idea, if there is such an item. Though I think such equipment should be very difficult to create.