This gem allows you to parse, access, and manipulate a save file from Prison Architect.
Add this line to your application's Gemfile:
gem 'prison_parser'
And then execute:
$ bundle
Or install it yourself as:
$ gem install prison_parser
require 'prison_parser'
prison = PrisonParser::Prison.open("myprison.prison")
puts prison.Finance.Balance # 1318560.0
prison.save("newprison.prison")
- Ability to convert a prison to a blank, but planned prison.
Special thanks to:
- Matvei Stefarov for his work on PASaveEditor, which served as the basis for the parsing implementation.
- Jason Dew for letting me use the name of his original library, prison_parser
Please see the LICENSE for more information.