Skip to content

genIterator/Patrizier2Verbrauchsrechner

Repository files navigation

Patrizier2Verbrauchsrechner

Tool for Patrizier 2 Gold (Patrician 3) to calculate consumption of goods

  • Use the following options to calculate the consumption for one city:
    • -r <number of rich inhabitants>
    • -w <number of wealthy inhabitants>
    • -a <number of poor inhabitants>
    • -t <traveltime in days to the city> (may be omitted, see below)
  • In order to store the calculated values, the following parameters are required as well:
    • -c <name of the city>
    • -u
  • If traveltime is omitted, it is calculated from the "Traveltime.csv"
    • modify the "Traveltime.csv" depending on the used ship and the kontor
    • please note that the travel time is calculated with 75% average ship load
    • currently, only travel times starting in Stettin are provided
    • currently, only travel times with ship type Kraier are provided
  • Print the consumption for all stored cities:
    • -g
  • Print the consumption of each stored city:
    • -p

Examples:

  1. Calculating consumption for one city:
python main.py -r 100 -w 400 -a 600 -t 7
  1. Storing calculated consumption values:
python main.py -r 100 -w 400 -a 600 -t 7 -c Danzig -u
  1. Calculating consumption for one city and calulating consumption for whole Hanse (not including the provided city!):
python main.py -r 100 -w 400 -a 600 -t 7 -c Danzig -g
  1. Output consumption of all stored cities and calculating consumption for whole Hanse:
python main.py -p -g

About

Tool for Patrizier 2 Gold to calculate consumption of goods

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages