An Average Life Simulator

An Average Life Simulator is a simulator found on Perchance.

It can be used here: https://perchance.org/a-life-sim-i-guess

## Basic Info

This is a simulation of ten people living in a house together. Clicking the button at the top proceeds to the next day, while the clicking the button at the bottom resets the simulation back to Day 1 with the user's inputs. The user can customize names, jobs, and personalities at the bottom.

## Output

The subheadings below detail each section of the output.

### Plugins

* Comments Plugin
* Remember Plugin

### Event Dice

This variable randomizes to a random number between 10 and 20.

### Holidays

* Valentine's Day (Month 2, Day 14)
* Juneteenth (Month 6, Day 19)
* Independence Day (Month 7, Day 4)
* Halloween (Month 10, Day 31)
* Thanksgiving Day (Month 11, Day 24)
* Christmas Eve (Month 12, Day 24)
* Christmas Day (Month 12, Day 25)
* New Years Eve (Month 12, Day 31)

### Main Output

[length = people.consumableList.getLength,""]
Year [year], Month [month], Day [day][checkHolidays(), ""]

## *Rise and shine! {It's [holiday]!^[holiday != "none"]|^[holiday == "none"]}[timeOfDay = "day", danger = 0.07,""]*
[eventGen(7, "AM")]
[eventGen(8, "AM")]

## *All businesses have opened.*
[eventGen(9, "AM")]
[eventGen(10, "AM")]
[eventGen(11, "AM")]
[eventGen(12, "PM")]
[eventGen(13, "PM")]
[eventGen(14, "PM")]
[eventGen(15, "PM")]
[eventGen(16, "PM")]
[eventGen(17, "PM")]
[eventGen(18, "PM")]
[eventGen(19, "PM")]

## *Night quickly falls. [timeOfDay = "night",""]*
[eventGen(20, "PM")]
[eventGen(21, "PM")]

## *Most businesses have closed at this point. [closure = 1,""]*
[eventGen(22, "PM")]
[eventGen(23, "PM")]

## *Dangerous activity has increased.*
[eventGen(0, "AM")]
[eventGen(1, "AM")]
[eventGen(2, "AM")]
[eventGen(3, "AM")]
[eventGen(4, "AM")]
[eventGen(5, "AM")]
[eventGen(6, "AM")]

## *The sun slowly begins to rise.*

### Setup

[pl = people.consumableList, p1 = pl.selectOne, p2 = pl.selectOne, p3 = pl.selectOne, p4 = pl.selectOne, p5 = pl.selectOne, p6 = pl.selectOne, p7 = pl.selectOne, p8 = pl.selectOne, p9 = pl.selectOne, p10 = pl.selectOne]

### Events

#### Outside

* [p1.name] returns home {|and places all the groceries where they should be}. (Change's person's location to "home". Empties cart if person went shopping.)
* [p1.name] and [p2.name] return home{|, both having become friends in the process}. (Two people that left together have their location changed to "home". There's a chance that the two people will become friends.)
* [p1.name] gets distracted by a visually appealing restaurant, {but ignores it since it's closed.|and enters.} (Only available if a person is trying to head home. Changes person's location to "restaurant" if businesses are open.)
* [p1.name] wanders into a park and sits on a nearby bench. {|It's a bit desolate.} (Only available if a person is trying to head home. Changes person's location to "park".)
* [p1.name] and [p2.name] wander into a park, both sitting on a bench. {|It's a bit desolate, but at least they have each other.} (Two people head out together towards the park. Locations changed to "park".)
* [p1.name] mentally prepares themself for the interview, {but finds out the building is closed. They decide they'll try again tomorrow. |and enters.} (Only available if a person is trying to apply for a job. Changes person's location to "apply" if businesses are open, otherwise they attempt to head home.)
* [p1.name] finds some money off the sidewalk. (Only available if a person is heading towards the shop. Adds $5 to person's money and decreases person's hunger by 1.
* [p1.name] {finds out the shop is closed. Disappointed, they walk back home.|enters the shop.} (Only available if a person is heading towards the shop. Changes person's location to "shop" if businesses are open, otherwise they attempt to head home.)
* [p1.name] eventually finds a restaurant only to find out it's closed. Disappointed, they begin their walk back home.|and goes inside. (Only available if a person is heading towards the restaurant. Changes person's location to "restaurant" if businesses are open, otherwise they attempt to head home.)
* [p1.name] eventually finds a fast food restaurant {only to find out it's closed. Disappointed, they begin their walk back home.|and goes inside.} (Only available if a person is heading towards the fast food restaurant. Changes person's location to "fast food" if businesses are open, otherwise they attempt to head home.)
* [p1.name] begins work as {a} [p1.job]. (Only available if a person is heading towards their job. Changes person's location to "job".)
* [p1.name] eventually finds a gym {only to find out it's closed. Disappointed, they begin their walk back home.|and heads inside.} (Only available if a person is heading towards the gym. Changes person's location to "gym" if businesses are open, otherwise they attempt to head home.)
* [p1.name] eventually finds a bank {only to find out it's closed. Disappointed, they begin their walk back home.|and goes inside.} (Only available if a person is heading towards the bank. Changes person's location to "bank" if businesses are open, otherwise they attempt to head home.)
* [p1.name] suddenly decides they want to go home. (Causes a person to change paths from whatever they were going outside to do to attempting to head home.)

### Person's Default Values

* name = [name]
* status = alive
* health = 100
* hunger = 100
* energy = 100
* fun = 100
* mood = happy
* money = 100
* personality = [personality]
* location = home
* job = [job]
* shift = day
* bank = 0
* cart = 0
* groupWith = none
* friendsWith = none
* jobSelect = none

### Pets

* cat
* dog
* horse
* pig
* duck

### Paychecks

* 16.43 ^[p1.job == "baker"]
* 18.73 ^[p1.job == "farmer"]
* 19.86 ^[p1.job == "ace-trainer"]
* 23.32 ^[p1.job == "plumber"]
* 57 ^[p1.job == "astrophysicist"]

### Home Food

* chocolate cookies
* cobbler
* cookies
* crispy tofus
* fried peanut butter & banana sandwiches
* grilled cheese sandwiches
* peanut butter & jelly sandwiches
* spaghetti & meatballs

### Fast Food

* cheese pizza (cost = 8.06)
* cheesesteak (cost = 5.89)
* french fries (cost = 1)
* hamburger (cost = 2.18)
* hot dog (cost = 3.54)
* pepperoni pizza (cost = 11.99)

### Other Food

* lasagna (cost = 2.50)
* porcini risotto (cost = 9)
* rice (cost = 8)
* spaghetti & marinara sauce (cost = 8.75)

### Drinks

* water
* apple juice
* orange juice
* pineapple soda
* wine
* beer
* MUG Root Beer
* Coca-Cola
* Sprite
* Red Bull
* coffee
* Fanta
* 7-UP
* cinnamon tea
* rose hip tea
* oolong tea
* bubble tea
* ginger tea
* pearl vinegar
* non-alcoholic wine

### Games

* Minecraft
* Super Mario Odyssey
* Super Smash Bros. Ultimate

### Dreams

* absolutely nothing ^1.8
* suddenly turning giant and destroying a city while being watched by [p2.name]
* being part of a team of rangers with [p2.name], [p3.name], [p4.name], and [p5.name]
* choking someone to death ^[p1.personality == "sociopathic"]
* eating all the food they could possibly think of
* being abducted by aliens{. Hah|}
* seeing [p2.name] nude. How perverted ^[p1.personality != "kind"]
* floating away into deep space
* being eerily stared at by [p2.name]
* falling into a hole
* [p2.name]
* becoming the richest person on Earth
* going 50 years into the future
* being friends with [p2.name] ^[p1.friendsWith != p2.name]
* [p2.name] telling them a ridiculous and impossible to believe secret{|, only to learn from them that everyone knows said secret}
* you :\) ^0.1
* the Krabby Patty secret formula ^0.01
* deez nuts in yo mouth ^0.005

### Job Messages

* tends to the fields ^[p1.job == "farmer"]
* fertilizes some crops ^[p1.job == "farmer"]
* bakes some goods ^[p1.job == "baker"]
* tries to think of ideas for new inventions ^[p1.job == "inventor"]
* tries to find the cure for cancer ^[(p1.job == "inventor") \* 0.04]
* unclogs some troublesome pipes ^[p1.job == "plumber"]
* repairs a leaking pipe ^[p1.job == "plumber"]
* rearranges some books ^[p1.job == "librarian"]
* collects data on the positioning of stars ^[p1.job == "astrophysicist"]
* just does their job as intended
* feels rather lethargic.. ^[p1.energy < 30]

### Selectable Jobs

* Ace trainer
* Baker
* Farmer
* Homemaker (default)
* Inventor
* Librarian
* Plumber

### Personalities

* Kind (default)
* Energetic
* Laid-back
* Cool
* Stubborn
* Air-headed
* Cautious
* Sociopathic
* Devious

## Trivia

* BT Productions found a copy of this simulator: https://perchance.org/w6ldtcouok
* This generator has since been discontinued. The new version can be found at A Better Life Simulator (Link: https://perchance.org/a-better-life-sim)