This is just a collection of functions in Common Lisp to assist in modeling things for the Android game Idle Oil Tycoon by Moldy Games.
There's not a lot of documentation, but you're welcome to do what you can with all of this.
Note that all calculations here are done with bigints. The game probably uses double-floats. I like the precision of the bigints, though.