The activity data registered via activities:registerNew.
maxReducedEnjoyment (0.8)
the lowest our enjoyment will be reduced to.
chanceToGoGrumpynessAffector (1)
the multiplier for the "going" chance reduction based on the grumpyness factor. Lower value = lower impact of the grumpyness affector. notOnTheHouseEnjoymentScale(0.8)
contributingInterests
table containing info what interests contribute to this activity. Please refer to activities:register to a see a structure of this.
description
table containing the description. Please refer to activities:register to a see a structure of this.
costPerEmployee
the cost per each employee.
reducedEnjoymentTime
time period during which enjoyment will be reduced after going to this activity.
baseEnjoymentRating
the base enjoyment rating.
randomEnjoymentOffset
table, min max, additional random multiplier for base enjoyment, does not depend on anything.
minimumPeopleAmount
how many people we need to have to not suffer a decrease in enjoyment.
knowledgeIncrease
the knowledge to progress when visiting this activity. Please refer to activities:registerNew for more info.
chanceToTurnDown
table with 2 potential indexes for affecting the chance to turn down the offer for the activity: mul - multiplies the chance by this much (lower = greater chance), add - adds this much to the chance.
postActivityVisit
function to call after visiting the activity.