split up the repair cost function a bit, to make it easier to work with
split up the repair cost function a bit, to make it easier to work with

sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud,sneezymud/sneezymud