Regardless of what method i use there is an issue with the code... when you floor the math for the cost of the repair the calculations for the faction discounts become off by up to 2 copper... or at least ive seen it up to 2copper its off by one copper most of the time. Any thoughts? My initial thought is to ditch the floor math and create my own flooring function thats a bit more accurate but... if i remove floor it of course displays accurate amounts but has the really long decimal. maybe ditch the floor and add a string sub to remove the decimal and anything after it?
edit -- grr to do the string edit it think i would have to edit my money to string...