Powerstone Cost Calculator

in

After watching some people on the GURPS forums go through strange gyrations to calculate the costs for powerstones, I thought I should do my part to make it a little easier. I've attached the C source code for a program to do the calculations, as well as an OSX binary that will calculate it for you. I'll get a Windows binary as soon as I get access to a windows compiler.

To install the binary on OSX, just download the file and copy it to a convenient folder. You may also need to issue the command "chmod 755 powerstone" from the terminal.

If you want to compile it for your system, the command line is

gcc powerstone.c -lm -o powerstone

Do what you wish with this program. I make no assurances about correctness. I pulled this formula from a forum post, which may have been complete horse-manure. I've tested it to ensure that it runs and doesn't blow up the computer.

Windows Installer

AttachmentSize
powerstone.c - Source code794 bytes
OSX binary8.8 KB