# User activities
Each *User* of a given *User Type* will spawn with a set of *Activities* which determine the requests they make, the providers they select, and the bandwidth they consume.
Each Activity is independently simulated. This means that, at any tick, a given User may perform none, one, or all of their Activities. The chance of performing an Activity (in other words, the average number of ticks between uses) depends on the User Type, and is the same for all Activities.
Users will have a set schedule for when they are online, which is influenced by their User Type but set individually. Furthermore for most users, all but the first Activity in their list will be hidden until a suitable Provider is available. This has the effect that bandwidth requirements will tend to grow as the game progresses, up to a stable maximum.
When a User performs an Activity, they will, in order:
* Perform a DNS request (consuming 1 unit of `reply-dns-queries`) with their configured DNS Server(s), or send a broadcast;
* Send a request to the address that the DNS server responded with. This counts as a single 'visit' by the Provider, but consumes multiple units of bandwidth based on the 'Bandwidth Consumed' parameter of the Activity;
* Based on success or failure, and the relative Importance of the Activity, they update their Satiety accordingly.
The full list of User Types and Activities and their chances of spawning are visible in the Tower Catalog, while other parameters like Importance are shown in Surveyor.
Below is a summary table of common User Types and the count of their non-malicious Activities grouped by bandwidth consumed, assuming they spawn with all possible Activities.
The table also includes the average ticks per usage of each User Type. Unlike other parameters, this information is not directly shown in the game, but we can obtain it by experimentation.
With all this data together, we can use the [binomial distribution function](https://en.wikipedia.org/wiki/Binomial_distribution) to calculate the bandwidth consumption for a set of users at different probability thresholds.
User Type|Ticks/Request|Bandwidth Consumed|Activity Count
-|-:|-:|-:
Tower Worker|6|1|10
Casual Dweller|5|1|10
Casual Glancer|5|1|8
Scientific Researcher||1|7
Social Dweller|6|1|10
|||2|1
Digital Minimalist|6|1|6
Night Dweller|6|1|11
Private Dweller||10|1
Exclusive Coder (Gaming)||1|1
Liberal Announcer||25|1
Scifi Movie Director||1|1
|||5|1
Decentro Farmer||1|2
Home Chef||3|1
|||1|1
Lifestyle Blogger||1|2
Digital Salesman||2|1
|||1|1
Night Chatter||5|1
|||1|2
Vocal Connector||5|1
Freelance Worker|5|1|12
Neighbour Helper|4|1|11
Strategic Investor|4|1|5
Heavy Viewer||1|8
Stability Seeker|6|1|7
Greedy Dweller||2|4
|||1|8
Digital Hoarder||3|1
|||1|8
Night Learner||3|1
|||1|7
Exclusive Coder|6|1|10
Minimum Spender||1|7