This library handles creation of contracts for the player to accept or decline.
BASE_WORK_DELAY ({2, 3})
the base amount of time after which the player will be obliged to work on the project (in case of agreement sign).
WORK_DELAY_DUE_TO_PROJECT ({1, 2})
additional time in case at least one team is working on some kind of game project.
AVOID_GENRE_RATING (6)
if the rating of a game is <= to this value, then the contractor will avoid making a game of this genre with the studio.
PREFER_GENRE_RATING (8)
inverse of AVOID_GENRE_RATING.
OFFER_WORK_CHANCE (66)
rolled once in a month, the chance to generate a contract for the player.
OFFER_WORK_EVENT (timeline.EVENTS.NEW_MONTH)
try to offer work every time this event occurs.
IGNORE_GAMES_OLDER_THAN (240 * 5)
all games older than this will be ignored when evaluating the studio.
WORK_OFFER_COOLDOWN_REFUSED (120)
how much time to wait between work offers (in case rejected).
WORK_OFFER_COOLDOWN_FAILED (180)
how much time to wait between work offers (in case failed).
WORK_OFFER_COOLDOWN_FINISHED (240)
how much time to wait between work offers (when finished a contract job).
RATING_TO_WEIGHT (5)
when figuring out which preferred genre to pick, the rating will add this much weight.
TREND_MONTH_TO_WEIGHT (3)
per each month left in the trend we add this much weight to the genre/theme.