<<nobr>><<silently>>
<<playerName>>
<<parish>>
<<playerAge>>
<<if $socio is "merchant">><<set $role to randomeither($trades)>><</if>>
<<if $religion is "member of a dissident Protestant church">>
<<set $religion to "Presbyterian">><</if>>
<</silently>>
<<if $gender is "non-binary">><<set _x to random(1,4)>><<if _x is 1>>Your friends and family call you <<set _name = ["Charles", "Charlotte"]>><<listbox "$name">><<optionsfrom _name>><</listbox>><<elseif _x is 2>>Your friends and family call you <<set _name = ["Phillip", "Phillippa"]>><<listbox "$name">><<optionsfrom _name>><</listbox>><<elseif _x is 3>>Your friends and family call you <<set _name = ["John", "Joan"]>><<listbox "$name">><<optionsfrom _name>><</listbox>><<else>>Your friends and family call you <<set _name = ["Thomas", "Thomasina"]>><<listbox "$name">><<optionsfrom _name>><</listbox>><</if>><<else>>Your name is $name<</if>>, and you are $agenum years old. You are proud to have been born and raised in <<if $origin eq "London">>London.<<else>>$origin, though you now make your home in London.<</if>><br><br>
You currently live in the <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> of $parish, which is $location.<br><br>
<<silently>>
/* add family for young children */
<<if $age is "child" or $age is "adolescent" or $age is "young adult">>
<<if $relationship is "single" or $relationship is "betrothed">>
<<addParentNPC>>
<<if $socio is "beggars">>
<<set _x to random(0,1)>><<for _i to 0; _i lt _x; _i++>><<addSiblingsNPC>><</for>>
<<elseif $socio is "day labourers" or $socio is "servants">>
<<set _x to random(0,2)>><<for _i to 0; _i lt _x; _i++>><<addSiblingsNPC>><</for>>
<<elseif $socio is "artisans">>
<<set _x to random(1,2)>><<for _i to 0; _i lt _x; _i++>><<addSiblingsNPC>><</for>>
<<elseif $socio is "merchants">>
<<set _x to random(1,4)>><<for _i to 0; _i lt _x; _i++>><<addSiblingsNPC>><</for>>
<<elseif $socio is "nobles">>
<<set _x to random(2,6)>><<for _i to 0; _i lt _x; _i++>><<addSiblingsNPC>><</for>>
<</if>>
<</if>>
<</if>>
/* add family for married YA, MA, elderly adults */
<<if $age is "young adult" or $age is "middle-aged adult" or $age is "elderly adult">>
<<if $relationship is "married">><<addPartnerNPC>>
<</if>>
<<if $relationship is "married" or $relationship is "widowed">>
<<if $socio is "beggars">>
<<set _x to random(0,1)>><<for _i to 0; _i lt _x; _i++>><<addChildNPC>><</for>>
<<elseif $socio is "day labourers" or $socio is "servants">>
<<set _x to random(0,2)>><<for _i to 0; _i lt _x; _i++>><<addChildNPC>><</for>>
<<elseif $socio is "artisans">>
<<set _x to random(1,3)>><<for _i to 0; _i lt _x; _i++>><<addChildNPC>><</for>>
<<elseif $socio is "merchants">>
<<set _x to random(1,4)>><<for _i to 0; _i lt _x; _i++>><<addChildNPC>><</for>>
<<elseif $socio is "nobles">>
<<set _x to random(2,6)>><<for _i to 0; _i lt _x; _i++>><<addChildNPC>><</for>>
<</if>>
<</if>>
<<addParentNPC>>
<<set _x to random(0,3)>><<for _i to 0; _i lt _x; _i++>><<addSiblingsNPC>><</for>>
<</if>>
/* add unmarried or widowed adult family */
<<if $age is "elderly adult">>
<<if $relationship is "single" or $relationship is "widowed">>
<<if $socio is "beggars" or $socio is "day labourers">>
<<if random(1,2) is 1>>
<<set $NPCs.push({name: weightedEither($fNames), age: either("young adult", "middle-aged adult"), relationship: either("sister", "niece"), health: "healthy"})>>
<<else>>
<<set $NPCs.push({name: weightedEither($mNames), age: either ("young adult", "middle-aged adult"), relationship: either("brother", "nephew"), health: "healthy"})>>
<</if>>
<<else>>
<<if random(1,2) is 1>>
<<set $NPCs.push({name: weightedEither($fNames), age: either("young adult", "middle-aged adult"), relationship: either("sister", "niece"), health: "healthy"})>>
<<else>>
<<set $NPCs.push({name: weightedEither($mNames), age: either ("young adult", "middle-aged adult"), relationship: either("brother", "nephew"), health: "healthy"})>>
<</if>>
<</if>>
<</if>>
<</if>>
<<NPCpronouns>>
<</silently>>
<<if $NPCs.length gt 0>>You live with your
<<for _i, _idx range $NPCs>>
<<if $NPCs.length eq 1>>$NPCs[_i].relationship, $NPCs[_i].name.
<<elseif _i < $NPCs.length - 1>>$NPCs[_i].relationship, $NPCs[_i].name;
<<else>> and $NPCs[_i].relationship, $NPCs[_i].name.
<</if>>
<</for>>
<<elseif $NPCs.length eq 0>>You have no family.<<set $hoh to 1>>
<</if>>
<br><br>
<<if $NPCsExtended.length gt 0>>Your
<<for _e, _idx range $NPCsExtended>>
<<if $NPCsExtended.length eq 1>>$NPCsExtended[_e].relationship, $NPCsExtended[_e].name
<<elseif _e < $NPCsExtended.length - 1>>$NPCsExtended[_e].relationship, $NPCsExtended[_e].name;
<<else>> and $NPCsExtended[_e].relationship, $NPCsExtended[_e].name
<</if>>
<</for>>also live<<if $NPCsExtended.length eq 1>>s<</if>> in London.<br><br>
<</if>>
<<silently>><<addServantNPC>><</silently>>
<<if $socio is "nobles">>Your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> also includes $servants servants.<br><br><</if>>
If that sounds right, [[click this link to begin our story->December 1664]].
<br><br>
If that doesn't sound right, you can refresh the game and start again.
/*<<click "click this link to try again">><<script>>Engine.play()<</script>><</click>>.*/
<</nobr>><<nobr>>It is December 1664 and you are looking forward to the Christmas holidays. You are<<if $age is "child">>n't<</if>> old enough to remember the days before King Charles II was <span class="def" title="After the death of the Lord Protector Oliver Cromwell, his son was not strong enough to hold together the Commonwealth government. The exiled Charles II issued the Declaration of Breda, in which he promised to pardon and uphold the property rights of everyone except the people who signed his father’s execution warrant, in exchange for the throne.">restored to his rightful throne</span>, when Christmas was banned as <span class="def" title="A person or act which shows contempt for God or other sacred/holy things and people">blasphemous</span>, and it makes the weeks of celebration and feasting all the merrier.<br><br>
Not everything is perfect, though. Rumors swirl throughout the city about the possibility of a coming war with the Dutch Republic after several Dutch ships were captured and brought into <span class="def" title="An English port city about 75 miles south of London">Portsmouth</span> as prizes. <<if $origin is "the Dutch Republic">>You make merry with your neighbors even while you fear they will turn against you in the months ahead. <</if>>Worse, it is common knowledge that <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> has been spreading in the Dutch fleet for months, though it hasn't yet reached English shores.<br><br>
But those are worries for the future! For now, it is time to eat, drink, and play games with dice and cards to celebrate the Christmas season. <<if $religion is "member of the Church of England">>You look forward to gathering with your neighbors in the <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> church to celebrate the birth of Jesus Christ.<<elseif $religion is "Catholic">> You enjoy gathering with your fellow Catholics at the magnificent chapel attached to <span class="def" title="The traditional London residence of the Queen of England during the seventeenth century, also known as Denmark House. It was originally constructed by the Duke of Somerset in 1547 in the Tudor style and Queen Elizabeth I lived there as a young woman. Upon the ascension of King James I, he gave it to his wife, Queen Anne of Denmark, as her primary residence and renamed Denmark House in her honor. It was subsequently the primary residence of King Charles I’s wife Queen Henrietta Maria. However, King Charles II’s wife Catherine of Braganza only took up residence there after his death in 1685 and lived there until 1693. Since the 18th century, it has been rebuilt and enlarged in the Renaissance style.">Somerset House</span>, the <span class="def" title="The mother of the current monarch. In 1665-7, this was Queen Henrietta Maria, the wife of the executed King Charles I.">Queen Mother</span> <span class="def" title="The mother of King Charles II. Born a French princess, she became the wife of King Charles I of England until his execution in 1649. She then served as an advisor to her son, but her Catholicism and repeated attempts to convert people at court made her unpopular among the Protestant people of England. Charles I ordered that she be referred to in public as Queen Mary, but she disliked this title and signed her name as Henriette.">Henrietta Maria's</span> London home.
<<else>>You might not be able to celebrate as openly as a conforming member of the Church of England, or the <span class="def" title="A derogatory term for Catholics.">papists</span> who flock to the chapels of the Catholic <span class="def" title="Queen Catherine of Braganza was a Portuguese princess who married King Charles II in 1662, becoming the Queen of England, Scotland, and Ireland. After the death of her husband, she returned to her homeland and served as the regent of Portugal until her death. She was unpopular in England due to her strong Catholic faith. Catherine had no children, so Charles was succeeded by his brother.">Queen Catherine</span> and <span class="def" title="The mother of the current monarch. In 1665-7 England, this was Queen Henrietta Maria, the wife of the executed King Charles I.">Queen Mother</span> <span class="def" title="The mother of King Charles II. Born a French princess, she became the wife of King Charles I of England until his execution in 1649. She then served as an advisor to her son, but her Catholicism and repeated attempts to convert people at court made her unpopular among the Protestant people of England. Charles I ordered that she be referred to in public as Queen Mary, but she disliked this title and signed her name as Henriette.">Henrietta Maria</span>, but you will still enjoy the holidays in the comfort and privacy of your home.
<</if>><br><br>
On Christmas Eve, you see a comet in the sky and you wonder if it is [[a sign of good things to come->January 1665]].
<</nobr>>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6c/Comet_1665.png" height="500px" width="900px">
//Great Comet of 1665//
<<set $murder =0>>This is a text-based adventure game. Click the underlined teal text to advance in the game. Hover over the bold purple text for definitions. Best of luck surviving!
The year is 1664 and you are a resident of the great city of London in England. After decades of <span class="def" title="A series of armed civil conflicts in the 1640s and early 1650s that culminated in the execution of King Charles I, the flight of his son King Charles II, and the installation of Oliver Cromwell as the Lord Protector of England. The period was one of significant economic, political, and religious turmoil in England, Scotland, Wales, and Ireland. Eventually Cromwell died and Charles II was reinstated as the English monarch in 1660, an act called the Restoration.">civil war</span> and <span class="def" title="Refers to the government of Oliver Cromwell, who served as the Lord Protector of England from 1653-1658. This government was referred to as the Commonwealth (1649-1660) and was held together by Cromwell’s strong personality and military control.">experimental government</span>, the merry monarch King Charles II was restored to the thrones of England, Scotland, and Ireland just four years ago and (most of) the kingdoms rejoiced.
But enough about the king! [[What about you->identity]]?
<img src="https://wesleyan-dac-open-access.s3.amazonaws.com/images/DAC_1940-D1-131_001_OA.jpg" width="900px" height="500px">
//Map of London, before the Fire of 1666 by Wencelaus Holler. Wesleyan University Davison Art Center.//<<chunkText>>
You are a <<set _gender = ["female", "male", "non-binary"]>><<listbox "$gender">><<optionsfrom _gender>><</listbox>> <<set _age = ["child", "adolescent", "young adult", "middle-aged adult", "elderly adult"]>><<listbox "$age">><<optionsfrom _age>><</listbox>>.
<<next>>
<<if $age is "child" or $age is "adolescent">>While the rich and powerful might get <span class="def" title="Engaged to be married">betrothed</span> as children and marry as teenagers, most people wait until their mid or late 20s when they have enough wealth to establish their own <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">households</span>. You are currently <<set _relationship = ["single", "betrothed"]>><<listbox "$relationship">><<optionsfrom _relationship>><</listbox>>.<<else>>Most people get married in their mid or late 20s to start a family, and those who are widowed often remarry as well. You are currently <<set _relationship = ["single", "married", "widowed"]>><<listbox "$relationship">><<optionsfrom _relationship>><</listbox>><</if>>
<<next>>
The city has recently settled after the religious upset of the <span class="def" title="A series of armed civil conflicts in the 1640s and early 1650s that culminated in the execution of King Charles I, the flight of his son King Charles II, and the installation of Oliver Cromwell as the Lord Protector of England. The period was one of significant economic, political, and religious turmoil in England, Scotland, Wales, and Ireland. Eventually Cromwell died and Charles II was reinstated as the English monarch in 1660, an act called the Restoration.">civil war</span>, and now there is relative harmony between <span class="def" title="Members of the Catholic Church, the royal family is part of this faith">Catholics</span>, <span class="def" title="Members of the official religion of England. Henry VIII established this church when he married Anne Boleyn and divorced his first wife, Catherine of Aragon">members of the Church of England</span>, and members of <span class="def" title="Differing from the ecclesiastical majority. In this case Protestant Christians who are not members of the dominant Anglican faith, for example Presbyterians.">dissident</span> <span class="def" title="Dissidents from the Catholic faith. In England these were most commonly Anglicans (Church of England) or Presbyterians, but there were other smaller groups such as Quakers and Baptists.">Protestant</span> churches. As a devout <<set _religion = ["member of the Church of England", "member of a dissident Protestant church", "Catholic"]>><<listbox "$religion">><<optionsfrom _religion>><</listbox>>, you know God loves all His children.
<<next "Continue" "bio">>
You are originally from <<set _origin = ["London", "the English countryside", "another English town or city", "Scotland", "Ireland", "the Dutch Republic", "France", "somewhere else"]>><<listbox "$origin">><<optionsfrom _origin>><</listbox>> and currently live in London, the greatest city in all the British Isles. It is a diverse city, with people of all ages, origins, and socioeconomic statuses. The city is home to <span class="def" title="A member of the hereditary class of landowners with high social and political status. They have noble titles either given to them by a monarch or inherited from their ancestors, such as duke/duchess, marquis/marchioness, earl/countess, or baron/baroness. In 1688, statistician Gregory King estimated there were about 160 noble households in England, which makes up less than 1/10 of 1% of the English population.">nobles</span>, <span class="def" title="A person employed in a skilled trade such as grocers, tailors, cordwainers, butchers, joiners, weavers, carpenters, bakers, goldsmiths, apothecaries, chandlers, and more. They were usually members of a guild and their business often involved the entire household, including spouses, children, and any apprentices and journeymen in residence. In 1688, statistician Gregory King estimated there were about 100,000 shopkeeper, tradesmen, and artisan households in England, which makes up ~7% of the English population.">artisans</span>, and <span class="def" title="A person involved in wholesale trade, particularly between cities or countries. In 1688, statistician Gregory King estimated there were about 10,000 merchant households in England, which makes up ~1% of the English population.">merchants</span>, who employ <span class="def" title="A person who is hired and paid on a daily basis, usually for unskilled or semi-skilled labor. Their tasks might include agricultural work like plowing, sowing, harvesting; construction work; and lifting and hauling, such as collection of the dead. Their pay is dependent on winning work each day and thus might be very irregular and low. In 1688, statistician Gregory King estimated there were about 364,000 households led by laboring people and servants in England, which makes up ~20% of the English population.">day labourers</span> and <span class="def" title="A person who is hired long-term to work on domestic duties or as a personal attendant. Their tasks might include cooking, cleaning, dressing, sewing, running errands, driving carts and carriages, taking care of household animals, etc. On many occasions, servants lived in the homes of their employers, meaning their lodgings were part of their wages. Their pay could vary significantly based on the wealth and social status of their employer. Many people were not servants for long periods of time, but rather were employed as servants while young until they had built up enough resources to form their own household.">servants</span> in their households and businesses. And there are also <span class="def" title="There are two types of beggars: itinerant beggars who roam the country illegally and members of the “deserving poor” who are embedded in their local communities and licensed to beg in their home parish. The latter usually still have a permanent place of residence, often provided by the parish, but their income depends on the charity of their neighbors. It is not legal to beg outside of your parish and itinerant beggars are both feared and often harshly punished. In 1688, statistician Gregory King estimated there were about 400,000 paupers households and 30,000 wandering beggars, which makes up ~22% of the English population.">beggars</span> living in all 97 <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parishes</span> within its ancient walls. There are also more parishes spread out around those walls that can be considered part of its suburbs. This includes people living in the city of Westminster and those living across the river Thames, which can only be crossed by boat or by the <span class="def" title="In this period, the only bridge across the Thames connecting the two halves of London. It was preceded by several Roman and medieval bridges which were destroyed and rebuilt many times. The bridge in this period was built in 1209. The bridge had 19 piers with thick protective pilings around them. These restricted water flow so much that the water level could be up to 6 feet higher on one side of the bridge than the other. Many houses and shops stood on the bridge until they were removed in the 19th century.">London Bridge</span>.
It's a great city for people like you - <<set _socio = ["day labourers", "servants", "artisans", "merchants", "nobles", "beggars"]>><<listbox "$socio">><<optionsfrom _socio>><</listbox>> - to live in.
Your home is <<set _location = ["inside the City walls", "in the western suburbs, specifically Westminster", "in another part of the western suburbs", "in the northern suburbs", "in the eastern suburbs", "across the river in the southern suburbs"]>><<listbox "$location">><<optionsfrom _location>><</listbox>>.
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/4/48/Claude_de_Jongh_-_View_of_London_Bridge_-_Google_Art_Project_bridge.jpg" width="900px" height="150px">
//Claude de Jongh - "View of London Bridge," 1632.//
<</chunkText>><<nobr>>
Send not to know for whom the church bells toll. They toll for you. <<if $religion is "Catholic">>As a God-fearing Catholic, you know you are destined to spend time in purgatory before you can ascend to heaven but you hope that will not take too long<<if $reputation lte 0>>, despite your poor reputation on earth.<</if>><<else>>As a good Protestant, you know that Christ the Redeemer has died for you and your admittance to heaven is guaranteed.<</if>>
<br><br>
<<if $reputation lte 0>>You died with such a poor reputation that most of your neighbors didn't care. The rest of them probably cursed your name and hoped you were suffering in hell. Luckily,
<<else>>You died with a good enough reputation that your neighbors say prayers for your soul. Because of the plague ordinances, none of your neighbors could attend your funeral but
<<if $socio is "nobles">>as a member of the nobility, you were interred in a position of honor in a vault within your family's private chapel.
<<elseif $socio is "merchants">>you were rich enough to be buried within the walls of your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> churchyard. Your heirs, of course, paid extremely well for that privilege.
<<elseif $socio is "artisans">>your body was at least carefully wrapped in a burial shroud before being put into the communal plague pits, late at night with no one to witness your burial.
<<else>>your body was at least put into the communal plague pits, instead of being left out to rot.
<</if>>
<</if>>
<</nobr>>
NTS: This is also what happened to your family.
[[How typical was your experience of the Great Plague of London? Let's find out!->stats]]<<nobr>><<silently>><<check-NPCs>><<set _remedyEffect to 0>>
<<set $plagueInfection to 2>><</silently>>
<<if ndef $textGroup>><<set $textGroup = 1>><</if>>
<<switch $textGroup>>
<<case 1>>
<<if $quarantine gt 0>>
''Lord have mercy! A strange lump has appeared on your
<<set _x to random(1,3)>>
<<if _x == 1>>leg
<<elseif _x == 2>>armpit
<<elseif _x == 3>>neck
<</if>>, and there's no hiding that you have caught the dreaded plague.'' <br><br>
<<if _infectedFamily.length gt 0>>Worse yet, you learn that your
<<for _z, _y range _infectedFamily>>
<<if _infectedFamily.length eq 1>>$NPCs[_y].relationship, $NPCs[_y].name has also fallen ill.<br>
<<elseif _z < _infectedFamily.length - 1>>$NPCs[_y].relationship $NPCs[_y].name, <<else>>and $NPCs[_y].relationship $NPCs[_y].name have also fallen ill.
<</if>>
<</for>>
<</if>>
<<else>>
Your neighbors shut up the entrances to your house and paint a red cross with the words //Lord Have Mercy// on the front door.
<</if>>
<br><br>
<<link "You pray that God does have mercy on you as take to your sickbed." `passage()`>><</link>>
<<case 2>>
<<player-treatments>>
<<link "You pray the treatments work." `passage()`>><</link>>
<<case 3>>
<<link "Unfortunately, your fever spikes, you grow weak, and you fear for your life." `passage()`>><</link>>
<br><br>
<img src="https://upload.wikimedia.org/wikipedia/commons/c/cb/Two_holy_men_lie_side_by_side_affected_by_the_plague_Wellcome_L0073320.jpg" height="1261px" width="900px">
//Italian drawing of two men who lie side by side affected by the plague, c. 17th century. Wellcome Images//
<br>
<<case 4>>
/* NTS: should we have text in this part about the health of the rest of your family, or wait til the end? */
<<if $hoh is 1>><<if $socio is "merchants">>It occurs to you that perhaps you ought to write your will<<if $reputation lte 2>>, but your reputation is so poor that no one can be convinced to bring you the writing materials you need<</if>>.
<<elseif $socio is "artisans">>It occurs to you that perhaps you ought to write your will<<if $reputation lte 2>>, but your reputation is so poor that you can't convince a <span class="def" title="A person employed to copy or transcribe documents or to write documents for someone else, especially legal documents">scrivener</span> to come help you.<</if>>.
<</if>>
<</if>>
/* smuggle out any healthy children if your rep is good enough */
<<if $reputation gte 6>>
<<set $getaway = []>>
<<for _e, _household range $NPCs>>
<<if _household.health is "healthy" and (_household.age is "child" or _household.age is "infant")>>
<<set $getaway.push(_e)>>
<</if>>
<</for>>
<<for _s range $getaway>>
<<set $NPCs[_s].location to "the countryside">><<set $NPCs[_s].health to "safe from harm">>
<</for>>
/* NTS: need to update text! */
<<if $getaway.length gt 0>><br><br>
In the meantime, your family has resorted to desperate measures to protect the health of the youngest. One evening, someone manages to smuggle
<<for _f, _g range $getaway>>
<<if $getaway.length eq 1>>your $NPCs[_g].relationship $NPCs[_g].name,
<<elseif _f < $getaway.length - 1>>your $NPCs[_g].relationship $NPCs[_g].name, <<else>>and your $NPCs[_g].relationship $NPCs[_y].name
<</if>>
<</for>>out of the house and to a safer location.
<</if>>
<</if>><br><br>
<<link "The days continue to pass with agonizing slowness." `passage()`>><</link>>
<<case 5>>
You spend most of your waking hours in a terrible, fevered state. <<if $NPCs.length gt 0>>In your brief moments of <span class="def" title="Ability to think clearly, particularly after a period of confusion">lucidity</span>, you ask after your family<<if _infectedFamily.length eq 0>> and are grateful to hear no more have fallen ill... yet<</if>><</if>>.
<<silently>>
/* determine if sick family die or recover */
<<for _s range _infectedFamily>>
<<if _remedyEffect is 1 and random(1,3) is 1>><<set $NPCs[_s].health to "deceased-pq">>
<<elseif _remedyEffect is 0 and random(1,2) is 1>><<set $NPCs[_s].health to "deceased-pq">>
<<else>><<set $NPCs[_s].health to "recovered-pq">>
<</if>>
<</for>>
/* Check for family members who died or recovered */
<<set _deceased = []>>
<<set _recovered = []>>
<<for _d, _household range $NPCs>>
<<if _household.health is "deceased-pq">><<set _deceased.push(_d)>>
<</if>>
<<if _household.health is "recovered-pq">><<set _recovered.push(_d)>>
<</if>>
<</for>>
<</silently>>
/* reveal if sick family members have died or survived*/
<<if _recovered.length gt 0>><br><br>You are grateful to hear that your
<<for _r, _d range _recovered>>
<<if _recovered.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has<<elseif _r < _recovered.length - 1>>$NPCs[_d].relationship $NPCs[_d].name, <<else>>and $NPCs[_d].relationship $NPCs[_d].name have
<</if>>
<</for>>started to recover from their illness.
<br><br>
<</if>>
<<if _deceased.length gt 0>><<if _recovered.length gt 0>>Unfortunately, not all have fared the same. <</if>>Your
<<for _x, _d range _deceased>>
<<if _deceased.length eq 1>> $NPCs[_d].relationship $NPCs[_d].name has died.<<elseif _x < _deceased.length - 1>> $NPCs[_d].relationship $NPCs[_d].name,<<else>>and $NPCs[_d].relationship $NPCs[_d].name have died.
<</if>>
<</for>>
<br><br>
<</if>>
<<silently>>
/* check if plague spreads */
<<fumigant-check>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if _fumes eq 1 and random(1,4) is 1>><<set $NPCs[_i].health to "infected">>
<<elseif _fumes eq 0 and random(1,2) is 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<</silently>>
<<health-update>>
<br><br>
<<link "As your condition declines, you pray constantly." `passage()`>><</link>>
<<default>>
<<if $reputation lte 2>>Unfortunately, your reputation is so poor that you cannot convince any of your neighbors to bring food or medical supplies to your household any longer.
<<elseif $reputation gt 2>>Your friends and neighbors continue to bring you food and plague remedies, which they pass in through the windows taking care to keep their distance from you.
<br><br>
<</if>>
/* check if player used a helpful remedy earlier */
<<unset $textGroup>>
<<if _remedyEffect is 0 and random(1,2) is 1>> But nothing works. At least you will grow too delirious to notice how miserable you are in the hours before your [[death]].
<<elseif _remedyEffect is 1 and random(1,3) is 1>> But nothing works. At least you will grow too delirious to notice how miserable you are in the hours before your [[death]].
<<else>> Miraculously, after a few days you feel your fever break and your <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> begin to go down. Thanks be to God, you have survived the plague.
<br><br>
[[Too bad you and your household still have to be for the full 40 days, to make sure you don't spread the plague to anyone else.->Reconnecting]]
/* NTS: Set choice in here about breaking quarantine if running out of money, tie to money and reputation of course. */
<</if>>
<</switch>><<if def $textGroup>><<set $textGroup += 1>><</if>>
<</nobr>>/* infection code - London
/* This adjusts the rate of infection for a specific location depending on how much time has passed in the game, starting at 6 plays (the first passage after the game starts proper). The play number roughly corresponds to our broad time events.
<<nobr>>
<<silently>>
<<if hasVisited("Sickness")>>
<<set $plagueInfection to 2>>
<<elseif passage() is "December 1664" or passage() is "January 1665" or passage() is "May 1665" or passage() is "June 1665">>
<<elseif passage() is "July 1665">>
<<if random(1,100) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,100) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "August 1665">>
<<if random(1,12) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,12) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "September 1665">>
<<if random(1,7) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,7) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "October 1665">>
<<if random(1,10) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,10) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "November 1665">>
<<if random(1,75) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,75) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<else>>
<<if random(1,1000) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,1000) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<</if>>
<<set _infectedFamily = []>>
<<for _idx, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_idx)>>
<</if>>
<</for>>
<</silently>>
<</nobr>>/* This adjusts the rate of infection for a specific location depending on how much time has passed in the game, starting at 6 plays (the first passage after the game starts proper). The play number roughly corresponds to our broad time events.
<<nobr>>
<<silently>>
<<if visited("Sickness")>>
<<set $plagueInfection to 2>>
<<elseif passage() is "December 1664" or passage() is "January 1665" or passage() is "May 1665">>
<<elseif passage() is "June 1665">>
<<if random(1,100) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,100) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "July 1665">>
<<if random(1,20) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,20) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "August 1665">>
<<if random(1,4) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,4) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "September 1665">>
<<if random(1,3) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,3) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "October 1665">>
<<if random(1,5) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,5) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "November 1665">>
<<if random(1,20) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,500) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "December 1665">>
<<if random(1,100) lte 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,100) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<else>>
<<if random(1,1000) lte 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,1000) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<</if>>
<<set _infectedFamily = []>>
<<for _idx, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_idx)>>
<</if>>
<</for>>
<</silently>>
<</nobr>><<nobr>>
The Christmas festivities end with a great snowfall. It's bitterly cold and the frost doesn't break for over two weeks. <<if $socio is "nobles">><<if $age is "child">>Your family leaves you safe and warm at home while they attend on the king and queen at Court.<<else>>That isn't enough to stop you from attending on the king and queen at Court and buying them expensive New Year's gifts to gain their favor. <</if>><</if>>Freezing rain alternates with snow all winter and rumors swirl about the Dutch fleet.<br><br>
/*Beggar story*/
<<if $socio is "beggars">>Even though you are one of the deserving poor and have a license to beg in your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span>, few people are in a charitable mood. At least you have a roof over your head and receive bread each week, thanks to your parish's <span class="def" title="Two parish officials elected to administer to the needs of the poor in their parish. These positions were created by the Poor Relief Act of 1597.">Overseers of the Poor</span>
<<if $age isnot "child" or $age isnot "elderly adult">>, even if they put you to work to earn it
<</if>>.
You are not freezing or starving to death, even if you are always cold and hungry.
<</if>>
/*Day Labourer story */
<<if $socio is "day labourers">>
<<if $age is "child" or $age is "adolescent">>As the child of a <span class="def" title="A person who is hired and paid on a daily basis, usually for unskilled or semi-skilled labor. Their tasks might include agricultural work like plowing, sowing, harvesting; construction work; and lifting and hauling, such as collection of the dead. Their pay is dependent on winning work each day and thus might be very irregular and low. In 1688, statistician Gregory King estimated there were about 364,000 households led by laboring people and servants in England, which makes up ~20% of the English population.">day labourer</span>, each member of your family has
<<else>>As a <span class="def" title="A person who is hired and paid on a daily basis, usually for unskilled or semi-skilled labor. Their tasks might include agricultural work like plowing, sowing, harvesting; construction work; and lifting and hauling, such as collection of the dead. Their pay is dependent on winning work each day and thus might be very irregular and low. In 1688, statistician Gregory King estimated there were about 364,000 households led by laboring people and servants in England, which makes up ~20% of the English population.">day labourer</span>, you have
<</if>> to search for a job every day and the weather is so miserable that some days you can’t find work. But at least you have a roof over your head and there is enough money to buy at least bread for your <span class ="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> every week. You are not freezing or starving to death, even if you are always cold and hungry.
<</if>>
/* Servant Story */
<<if $socio is "servants">>As
<<if $age is "child" or $age is "adolescent">>the child of a servant
<<else>>a servant,
<</if>> you spend as much time running errands outside as inside, but at least you have a roof over your head, warm clothes, and plenty to eat. But you can’t help but worry about how the war will impact your life.
<</if>>
/*Artisan Story */
<<if $socio is "artisans">>As
<<if $age is "child" or $age is "adolescent">> the child of
<</if>> a <<set _role = ["baker", "chandler", "grocer", "tailor", "weaver"]>><<listbox "$role">><<optionsfrom _role>><</listbox>>, you spend much of your time working inside and are very glad to have a roof over your head, a fire in your hearth, and enough money for you and your <span class ="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> to eat well. But you can’t help but worry about how the war will impact your
<<if $age is "child" or $age is "adolescent">>family's
<</if>>trade.
<</if>>
/* Merchant Story */
<<if $socio is "merchants">>As <<if $age is "child" or $age is "adolescent">>the child of a merchant, you spend much of your time working inside and are very glad to have a roof over your head, a fire in each of your many hearths, and plenty of money to buy the latest fashions. But your family can’t help but worry about how the war will impact their trade.<<else>>a merchant, you spend much of your time working inside and are very glad to have a roof over your head, a fire in each of your many hearths, and plenty of money to buy the latest fashions. But you can’t help but worry about how the war will impact your trade.<</if>>
<</if>>
/* Noble Story */
<<if $socio is "nobles">>As <<if $age is "child" or $age is "adolescent">>the child of <</if>>a minor noble, you spend much of your time inside at the royal Court of King Charles II in hopes of securing more titles, honor, and riches for yourself and your family<<if $religion is "Catholic">>, especially since <span class="def" title="Queen Catherine of Braganza was a Portuguese princess who married King Charles II in 1662, becoming the Queen of England, Scotland, and Ireland. After the death of her husband, she returned to her homeland and served as the regent of Portugal until her death. She was unpopular in England due to her strong Catholic faith. Catherine had no children, so Charles was succeeded by his brother, King James II.">Queen Catherine</span> and the <span class="def" title="The mother of the current monarch. In 1665-7, this was Queen Henrietta Maria, the wife of the executed King Charles I.">Queen Mother</span> both share your <span class="def" title="Members of the Catholic Church, the royal family is part of this faith">Catholic</span> faith<</if>>. You fill your days traveling among the royal family's various London palaces--including attending the <span class="def" title="The mother of the current monarch. In 1665-7, this was Queen Henrietta Maria, the wife of the executed King Charles I.">Queen Mother's</span> weekly social circle as faithfully as if it were church--and spending money on the latest fashions and trends. But you can’t help but worry about how the war will impact your life.
<br><br>
<img src="https://upload.wikimedia.org/wikipedia/commons/2/2d/Anthony_van_Dyck_-_Queen_Henrietta_Maria_of_England_-_KMSsp240_-_Statens_Museum_for_Kunst.jpg" height="720px" width="556px">
<br>
//Anthony van Dyck, Queen Henrietta Maria of England, c. 1614-1641.//
<</if>>
<br><br>
<<if $origin isnot "the Dutch republic">>It's almost a relief when war officially breaks out on March 4th.<<else>>Things go from bad to worse for you when war officially breaks out on March 4th.<</if>> Men pass back and forth through London, headed for the <span class="def" title="The English Royal Navy, which was primarily composed of heavily armed warships.">fleet</span>—some voluntarily, some after having been <span class="def" title="The seventeenth-century English Navy (and other militaries) often had labor shortages and had to force men to serve in its ranks. This mostly meant kidnapping, either by force, trickery, or coercion. After being impressed, sailors who were not British could petition to be let back out, but British subjects had to serve their term. Though the Navy typically impressed merchant seamen or fishermen, they sometimes abducted non-sailors. The practice was very unpopular and provoked much protest.">impressed</span> and forced into service.
<br><br>
/* Beggar options */
<<if $socio is "beggars">><<highway>><br>
<</if>>
/* Day Labourer options */
<<if $socio is "day labourers">>Finally, there is plenty of work to be had.
<<if $gender is "female">>You are doing laundry day in and day out in the city fields, which brings in enough money that you finally have enough to spend on things other than food and rent.<br><br>
Do you:<ul>
<li>[[save it->May 1665][$money to Math.clamp($money + 120, 0, 1000000)]]</li>
<li>[[increase your donations to the poor->May 1665][$reputation to Math.clamp($reputation + 2, 0, 10); $money to Math.clamp($money - 120, 0, 1000000)]]</li>
<li>[[take a day off and splurge on a trip to the theatre->May 1665][$reputation to Math.clamp($reputation - 1, 0, 10); $money to Math.clamp($money - 120, 0, 1000000)]]</li>
</ul>
<<else>>A friend of one of your neighbors offers you twice your normal wages to help haul and cart goods for the Navy. <br>
Do you:<ul>
<li><<if random(1,2) eq 1>>[[decide to accept this generous offer.|impressed][$impressed += 1]]<<else>>[[decide to accept this generous offer.|May 1665][$money to Math.clamp($money + 480, 0, 1000000); $reputation to Math.clamp($reputation - 1, 0, 10)]]<</if>></li>
<li>[[choose to continue working for one of your regular employers instead.|May 1665]]</li>
</ul>
<</if>>
<</if>>
/* Servant options */
<<if $socio is "servants">>Your master warns you to keep a sharp eye out to avoid <<if $gender is "male">>being <span class="def" title="The seventeenth-century English Navy (and other militaries) often had labor shortages and had to force men to serve in its ranks. This mostly meant kidnapping, either by force, trickery, or coercion. After being impressed, sailors who were not British could petition to be let back out, but British subjects had to serve their term. Though the Navy typically impressed merchant seamen or fishermen, they sometimes abducted non-sailors. The practice was very unpopular and provoked much protest.">impressed</span> into the Navy yourself.
<br><br>Are you:
<ul>
<li>[[careful to heed his warning->May 1665]]</li>
<li><<if random(1,2) is 1>>[[not convinced it would be a worse life and spend as much of your--admittedly little--free time in the streets and alehouses as you did before|impressed][$impressed += 1]]<<else>>[[not convinced it would be a worse life and spend as much of your--admittedly little--free time in the streets and alehouses as you did before|May 1665][$reputation to Math.clamp($reputation - 1, 0, 10]]</li>
</ul>
<</if>>
<<else>>being harassed or mistaken for a woman of loose morals.
<br>Do you:
<ul>
<li>[[agree with his warning->May 1665][$reputation to Math.clamp($reputation + 1, 0, 10)]]</li>
<li>[[think he's overreacting and spend as much of your--admittedly little--free time in the streets and alehouses as you did before->May 1665][$reputation to Math.clamp($reputation - 1, 0, 10)]]</li>
</ul>
<</if>>
<</if>>
/* Artisan options */
<<if $socio is "artisans">>For now, at least, your <<if $age is "child" or $age is "adolescent">>family's <</if>>business is booming.
<br><br>
When you go to church on Easter Sunday, you are reminded of how lucky you are as one of God’s chosen people.
<br><br>Do you: <ul>
<li>[[celebrate your good fortune by increasing your donations to the poor->May 1665][$reputation to Math.clamp($reputation + 1, 0, 10); $money to Math.clamp($money - 560, 0, 1000000)]]</li>
<li>[[save your money in case of future misfortune->May 1665][$money to Math.clamp($money + 560, 0, 1000000)]]</li>
<li>[[take a day off and splurge on a trip to the theatre->May 1665][$reputation to Math.clamp($reputation - 1, 0, 10); $money to Math.clamp($money - 132, 0, 1000000)]]</li>
</ul>
<</if>>
/* Merchant options */
<<if $socio is "merchants">>For now, at least, your <<if $age is "child" or $age is "adolescent">>family's <</if>>business is booming.
<br><br>
When you go to church on Easter Sunday, you are reminded of how lucky you are as one of God’s chosen people.
<br><br>Do you:
<ul>
<li>[[celebrate your good fortune by increasing your donations to the poor->May 1665][$reputation to Math.clamp($reputation + 1, 0, 10); $money to Math.clamp($money - 2800, 0, 1000000)]]</li>
<li>[[save your money in case of future misfortune->May 1665][$money to Math.clamp($money + 2800, 0, 1000000)]]</li>
<li>[[take some time off and go fox hunting in the countryside->May 1665][$reputation to Math.clamp($reputation - 1, 0, 10)]]</li>
</ul>
<</if>>
/* Noble options */
<<if $socio is "nobles">>Court is abuzz with gossip about the war and there’s plenty to keep an ambitious courtier busy.
<br><br>Do you: <ul>
<li>[[throw in and help with the war effort->May 1665][$reputation to Math.clamp($reputation + 2, 0, 10); $money to Math.clamp($money - 10000, 0, 1000000)]]</li>
<li>[[keep yourself out of the fray and focus on your own needs->May 1665][$reputation to Math.clamp($reputation - 1, 0, 10)]]</li>
</ul>
<</if>>
<</nobr>><<set $money to 0>>
<<set $expenses to 0>>
<<set $income to 0>>
<<set $hoh to 0>>
<<set $role to "0">>
<<set $disability to 0>>
<<set $reputation to 6>>
<<set $plagueInfection to 0>>
<<set $location to 0>>
<<set $impressed to 0>>
<<set $NPCs = []>>
<<set $NPCsExtended = []>>
<<set $FledFamily = []>>
<<set $fNames = {
Elizabeth: 400,
Anne: 370,
Mary: 300,
Margaret: 230,
Jane: 150,
Catherine: 190,
Agnes: 50,
Eleanor: 50,
Bridget: 30,
Sarah: 30,
Isabel: 30,
Margery: 28,
Lucy: 20,
Ursula: 20,
}>>
<<set $mNames = {
John: 1500,
Thomas: 1300,
William: 1300,
Richard: 620,
Robert: 600,
Henry: 500,
James: 430,
George: 420,
Edward: 400,
Charles: 210,
Francis: 200,
Samuel: 200,
Alexander: 150,
Nicholas: 148,
Abraham: 30,
}>>
<<set $nbNames to ["Thomas", "Thomasina", "Charlotte", "Charles", "Philippa", "Phillip", "John", "Joan"]>>
<<set $childRole to ["son", "daughter", "child"]>>
<<set $article to ["a", "an"]>>
<<set $heshe to ["he", "she", "they"]>>
<<set $hishers to ["his", "hers", "theirs"]>>
<<set $fumes = {}>>
<<set $remedies = {}>>
<<set $fumes.Incense = { name: "incense to burn in your home to prevent plague and clear out rooms after infection", quantity: 0, cost: 36 }>>
<<set $fumes.Purse = { name: "a purse of incense", quantity: 0, cost: 60 }>>
<<set $fumes.Fancy = { name: "St. Giles Powder", quantity: 0, cost: 192 }>>
<<set $fumes.Generic = { name: "brimstone and saltpeter with a little myrrh", quantity: 0, cost: 24 }>>
<<set $remedies.Plaster = { name: "a blistering plaster to break the buboes and draw out malignity", quantity: 0, cost: 21 }>>
<<set $remedies.Celestial = { name: "celestial water", quantity: 0, cost: 36 }>>
<<set $remedies.Treacle = { name: "a posset of London Treacle", quantity: 0, cost: 36 }>>
<<set $remedies.Suppository = { name: "a suppository of a fig filled with salt", quantity: 0 }>>
<<set $remedies.Cordial = { name: "a cordial tincture to be drunk for two days after infection", quantity: 0, cost: 12 }>>.
<<set $remedies.Immodium = { name: "an anti-diarrheal posset made of plantain, sorrel, or knot grass", quantity: 0, cost: 0 }>>
<<set $quarantine to 0>><<nobr>>
<<silently>>
<<fumigant-check>>
<<if $plagueInfection lt 2>>
<<if tags().includes("storyline")>>
<<if _fumes gt 0 and random(1,2) eq 1>><<infection-program>>
<<elseif _fumes lt 1>><<infection-program>>
<</if>>
<<if visited() lte 1>><<income>><<expenses>><<disposable>><</if>>
<</if>>
<</if>>
<</silently>>
<<if tags().includes("storyline")>><h2><<print passage()>>, $location</h2><</if>>
<<if tags().includes("quarantine")>><h2><<print passage()>></h2><</if>>
<<silently>>
<<if $location is "inside the City walls" and hasVisited("June 1665") is "July 1665">><<set $apothecary to 1>>
<<elseif $location isnot "in another part of the western suburbs">>
<<if $location isnot "inside the City walls" and passage() is "June 1665">><<set $apothecary to 1>>
<</if>>
<<elseif $location is "in another part of the western suburbs" and passage() is "May 1665">><<set $apothecary to 1>>
<</if>>
<<if ndef _infectedFamily>><<set _infectedFamily = []>><</if>>
<</silently>>
<</nobr>>/* This adjusts the rate of infection for a specific location depending on how much time has passed in the game, starting at 5 plays (the first passage after the game starts proper). The play number roughly corresponds to our broad time events. */
<<nobr>>
<<silently>>
<<if visited("Sickness")>>
<<set $plagueInfection to 2>>
<<elseif passage() is "December 1664" or passage() is "January 1665" or passage() is "May 1665">>
<<elseif passage() is "June 1665">>
<<if random(1,100) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,100) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "July 1665">>
<<if random(1,13) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,13) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "August 1665">>
<<if random(1,4) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,4) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "September 1665">>
<<if random(1,20) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,20) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "October 1665">>
<<if random(1,10) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,10) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "November 1665">>
<<if random(1,50) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,50) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "December 1665">>
<<if random(1,500) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,500) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<else>>
<<if random(1,1000) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,1000) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<</if>>
<<set _infectedFamily = []>>
<<for _idx, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_idx)>>
<</if>>
<</for>>
<</silently>>
<</nobr>>/* This adjusts the rate of infection for a specific location depending on how much time has passed in the game, starting at 5 plays (the first passage after the game starts proper). The play number roughly corresponds to our broad time events.
<<nobr>>
<<silently>>
<<if visited("Sickness")>>
<<set $plagueInfection to 2>>
<<elseif passage() is "December 1664" or passage() is "January 1665" or passage() is "May 1665">>
<<elseif passage() is "June 1665">>
<<if random(1,500) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,500) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "July 1665">>
<<if random(1,50) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,50) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "August 1665">>
<<if random(1,3) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,3) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "September 1665">>
<<if random(1,2) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,2) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "October 1665">>
<<if random(1,5) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,5) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "November 1665">>
<<if random(1,30) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,30) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "December 1665">>
<<if random(1,100) lte 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,100) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<else>>
<<if random(1,1000) lte 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,1000) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<</if>>
<<set _infectedFamily = []>>
<<for _idx, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_idx)>>
<</if>>
<</for>>
<</silently>>
<</nobr>><<widget "addPartnerNPC">>
<<nobr>>
<<if $age is "young adult">>
<<if $gender is "female">>
<<set $NPCs.push({name: weightedEither($mNames), age: either("young adult", "middle-aged adult"), relationship: "husband", health: "healthy", location: $location})>>
<</if>>
<<if $gender is "male">>
<<set $NPCs.push({name: weightedEither($fNames), age: either("young adult", "middle-aged adult"), relationship: "wife", health: "healthy", location: $location})>>
<</if>>
<<if $gender is "non-binary">>
<<set $NPCs.push({name: $nbNames.pluck(), age: either("young adult", "middle-aged adult"), relationship: "spouse", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "middle-aged adult">>
<<if $gender is "female">>
<<set $NPCs.push({name: weightedEither($mNames), age: either("middle-aged adult", "elderly adult"), relationship: "husband", health: "healthy", location: $location})>>
<</if>>
<<if $gender is "male">>
<<set $NPCs.push({name: weightedEither($fNames), age: either("middle-aged adult", "elderly adult"), relationship: "wife", health: "healthy", location: $location})>>
<</if>>
<<if $gender is "non-binary">>
<<set $NPCs.push({name: $nbNames.pluck(), age: either("middle-aged adult", "elderly adult"), relationship: "spouse", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "elderly adult">>
<<if $gender is "female">>
<<set $NPCs.push({name: weightedEither($mNames), age: either("middle-aged adult", "elderly adult"), relationship: "husband", health: "healthy", location: $location})>>
<</if>>
<<if $gender is "male">>
<<set $NPCs.push({name: weightedEither($fNames), age: either("middle-aged adult", "elderly adult"), relationship: "wife", health: "healthy", location: $location})>>
<</if>>
/* <<if $gender is "non-binary">>
<<set $NPCs.push({name: $nbNames.pluck(), age: either("middle-aged adult", "elderly adult"), relationship: "spouse", health: "healthy", location: $location})>>
<</if>> */
<</if>>
<</nobr>>
<</widget>>
/* Add children depending on age and marital status */
<<widget "addChildNPC">><<nobr>>
<<if $age is "young adult">>
<<if random(1,2) eq 1>>
<<set $NPCs.push({ name: weightedEither($fNames), age: either("infant", "child"), relationship: "daughter", health: "healthy", location: $location})>>
<<else>>
<<set $NPCs.push({ name: weightedEither($mNames), age: either("infant", "child"), relationship: "son", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "middle-aged adult">>
<<if random(1,2) eq 1>>
<<set $NPCs.push({ name: weightedEither($fNames), age: "adolescent", relationship: "daughter", health: "healthy", location: $location})>>
<<else>>
<<set $NPCs.push({ name: weightedEither($mNames), age: "adolescent", relationship: "son", health: "healthy", location: $location})>>
<</if>>
<<if random(1,9) eq 1>>
<<set $NPCs.push({ name: $nbNames.pluck(), age: "adolescent", relationship: "child", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "elderly adult" or $age is "middle-aged adult">>
<<if random(1,2) eq 1>>
<<set $NPCsExtended.push({ name: weightedEither($fNames), age: either("young adult", "middle-aged adult"), relationship: "daughter", health: "healthy", location: $location})>>
<<else>>
<<set $NPCsExtended.push({ name: weightedEither($mNames), age: either("child", "young adult"), relationship: "son", health: "healthy", location: $location})>>
<</if>>
<<if random(1,9) eq 1>>
<<set $NPCsExtended.push({ name: $nbNames.pluck(), age: "adolescent", relationship: "child", health: "healthy", location: $location})>>
<</if>>
<</if>>
<</nobr>><</widget>>
/* add parents */
<<widget "addParentNPC">>
<<if $age is "child">>
<<if random(1,4) lte 3>>
<<set $NPCs.push({ name: weightedEither($fNames), age: either("young adult", "middle-aged adult"), relationship: "mother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,4) lte 3>>
<<set $NPCs.push({ name: weightedEither($mNames), age: either("young adult", "middle-aged adult"), relationship: "father", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "adolescent">>
<<if random(1,4) lte 3>>
<<set $NPCs.push({ name: weightedEither($fNames), age: "middle-aged adult", relationship: "mother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,4) lte 2>>
<<set $NPCs.push({ name: weightedEither($mNames), age: "middle-aged adult", relationship: "father", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "young adult">>
<<if random(1,3) lte 2>>
<<set $NPCsExtended.push({ name: weightedEither($fNames), age: either("middle-aged adult", "elderly adult"), relationship: "mother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,4) lte 1>>
<<set $NPCsExtended.push({ name: weightedEither($mNames), age: either("middle-aged adult", "elderly adult"), relationship: "father", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "middle-aged adult">>
<<if random(1,10) lte 2>>
<<set $NPCsExtended.push({ name: weightedEither($fNames), age: "elderly adult", relationship: "mother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,10) lte 1>>
<<set $NPCsExtended.push({ name: weightedEither($mNames), age: "elderly adult", relationship: "father", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "elderly adult">>
<<if random(1,20) lte 1>>
<<set $NPCsExtended.push({ name: weightedEither($fNames), age: "elderly adult", relationship: "mother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,20) lte 1>>
<<set $NPCsExtended.push({ name: weightedEither($mNames), age: "elderly adult", relationship: "father", health: "healthy", location: $location})>>
<</if>>
<</if>>
<</widget>>
/* add siblings */
<<widget "addSiblingsNPC">>
<<if $age is "child" or $age is "adolescent">>
<<if random(1,2) eq 1>>
<<set $NPCs.push({ name: weightedEither($fNames), age: either("child", "adolescent"), relationship: "sister", health: "healthy", location: $location})>>
<<else>>
<<set $NPCs.push({ name: weightedEither($mNames), age: either("child", "adolescent"), relationship: "brother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,20) eq 1>>
<<set $NPCs.push({ name: $nbNames.pluck(), age: "adolescent", relationship: "sibling", health: "healthy", location: $location})>>
<</if>>
/* add siblings who live in household if unmarried and YA, add "extended" siblings if married or widowed and YA */
<<elseif $age is "young adult">>
<<if $relationship is "single">>
<<if random(1,2) eq 1>>
<<set $NPCs.push({ name: weightedEither($fNames), age: either("child", "adolescent", "young adult", "middle-aged adult"), relationship: "sister", health: "healthy", location: $location})>>
<<else>>
<<set $NPCs.push({ name: weightedEither($mNames), age: either("child", "adolescent", "young adult", "middle-aged adult"), relationship: "brother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,20) eq 1>><<set $NPCs.push({ name: $nbNames.pluck(), age: "adolescent", relationship: "sibling", health: "healthy", location: $location})>>
<</if>>
<<else>>
<<if random(1,2) eq 1>>
<<set $NPCsExtended.push({ name: weightedEither($fNames), age: either("child", "adolescent", "young adult", "middle-aged adult"), relationship: "sister", health: "healthy", location: $location})>>
<<else>>
<<set $NPCsExtended.push({ name: weightedEither($mNames), age: either("child", "adolescent", "young adult", "middle-aged adult"), relationship: "brother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,20) eq 1>><<set $NPCsExtended.push({ name: $nbNames.pluck(), age: "adolescent", relationship: "sibling", health: "healthy", location: $location})>>
<</if>>
<</if>>
<<elseif $age is "middle-aged adult">>
<<if random(1,2) eq 1>>
<<set $NPCsExtended.push({ name: weightedEither($fNames), age: either("young adult", "middle-aged adult", "elderly adult"), relationship: "sister", health: "healthy", location: $location})>>
<<else>>
<<set $NPCsExtended.push({ name: weightedEither($mNames), age: either("young adult", "middle-aged adult", "elderly adult"), relationship: "brother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,20) eq 1>>
<<set $NPCsExtended.push({ name: $nbNames.pluck(), age: either("young adult", "middle-aged adult", "elderly adult"), relationship: "sibling", health: "healthy", location: $location})>>
<</if>>
<<elseif $age is "elderly adult">>
<<if random(1,2) eq 1>>
<<set $NPCsExtended.push({ name: weightedEither($fNames), age: either("middle-aged adult", "elderly adult"), relationship: "sister", health: "healthy", location: $location})>>
<<else>>
<<set $NPCsExtended.push({ name: weightedEither($mNames), age: either("middle-aged adult", "elderly adult"), relationship: "brother", health: "healthy", location: $location})>>
<</if>>
<<if random(1,20) eq 1>><<set $NPCsExtended.push({ name: $nbNames.pluck(), age: either("middle-aged adult", "elderly adult") relationship: "sibling", health: "healthy", location: $location})>>
<</if>>
<</if>>
<</widget>>
<<widget "NPCpronouns">><<nobr>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].relationship is "niece" or $NPCs[_i].relationship is "daughter" or $NPCs[_i].relationship is "sister" or $NPCs[_i].relationship is "mother">>
<<set $NPCs[_i].hishers to "her">><<set $NPCs[_i].heshe to "she">>
<<elseif $NPCs[_i].relationship is "nephew" or $NPCs[_i].relationship is "son" or $NPCs[_i].relationship is "brother" or $NPCs[_i].relationship is "father">>
<<set $NPCs[_i].hishers to "her">><<set $NPCs[_i].heshe to "she">>
<<else>><<set $NPCs[_i].hishers to "theirs">><<set $NPCs[_i].heshe to "they">>
<</if>>
<</for>>
<<for _e = 0; _e < $NPCsExtended.length; _e++>>
<<if $NPCsExtended[_e].relationship is "sister" or $NPCsExtended[_e].relationship is "niece" or $NPCsExtended[_e].relationship is "mother" or $NPCsExtended[_e].relationship is "daughter">>
<<set $NPCsExtended[_e].hishers to "her">><<set $NPCsExtended[_e].heshe to "she">>
<<elseif $NPCsExtended[_e].relationship is "brother" or $NPCsExtended[_e].relationship is "nephew" or $NPCsExtended[_e].relationship is "father" or $NPCsExtended[_e].relationship is "son">>
<<set $NPCsExtended[_e].hishers to "his">><<set $NPCsExtended[_e].heshe to "he">>
<<else>><<set $NPCsExtended[_e].hishers to "their">><<set $NPCsExtended[_e].heshe to "they">>
<</if>>
<</for>>
<</nobr>><</widget>>
/* add household members for upper class */
<<widget "addServantNPC">>
<<if $socio is "nobles">>
<<set $servants to random(8,12)>>
<<elseif $socio is "merchants">>
<<set $servants to random(1,3)>>
<</if>>
<</widget>>
/* set player name based on frequency of names in 1665 */
<<widget "playerName">>
<<if $gender eq "female">><<set $name = weightedEither($fNames)>>
<<elseif $gender eq "male">><<set $name = weightedEither($mNames)>>
<</if>>
<</widget>>
<<widget "playerAge">>
<<if $age eq "child">><<set $agenum to random(5,9)>>
<<elseif $age eq "adolescent">><<set $agenum to random(10,15)>>
<<elseif $age eq "young adult">><<set $agenum to random(16,29)>><<set $hoh to 1>>
<<elseif $age eq "middle-aged adult">><<set $agenum to random(30,49)>><<set $hoh to 1>>
<<elseif $age eq "elderly adult">><<set $agenum to random(50,76)>><<set $hoh to 1>><</if>>
<</widget>>
<<widget "parish">>
<<if $location is "inside the City walls">>
<<set $parish to either("St Alban Wood Street", "All Hallows Barking", "All Hallows Bread Street", "All Hallows the Great", "All Hallows Honey Lane", "All Hallows the Less", "All Hallows Lombard Street", "All Hallows Staining", "All Hallows London Wall", "St Alphage", "St Andrew Hubbard", "St Andrew Undershaft", "St Andrew Wardrobe", "St Anne Aldersgate", "St Ann Blackfriars", "St Antholin", "St Austin", "St Bartholomew Exchange", "St Benet Fink", "St Benet Gracechurch", "St Benet Paul's Wharf", "St Benet Sherehog", "St Botolph Billingsgate", "Christ Church", "St Christopher", "St Clement Eastcheap", "St Dionis Backchurch", "St Dunstan East", "St Edmund the King", "St Ethelburga", "St Faith under St Paul's", "St Vedast alias Foster", "St Gabriel Fenchurch", "St George Botolph Lane", "St Gregory by St Paul's", "St Helen", "St James Duke's Place", "St James Garlickhithe", "St John Baptist", "St John Evangelist", "St John Zachary", "St Katherine Coleman", "St Katherine Creechurch", "St Lawrence Jewry", "St Lawrence Pountney", "St Leonard Eastcheap", "St Leonard Foster Lane", "St Magnus", "St Margaret Lothbury", "St Margaret Moses", "St Margaret New Fish Street", "St Margaret Pattens", "St Mary Abchurch", "St Mary Aldermanbury", "St Mary Aldermay", "St Mary le Bow", "St Mary Bothaw", "St Mary Colechurch", "St Mary Hill", "St Mary Mounthaw", "St Mary Somerset", "St Mary Staining", "St Mary Woolchurch", "St Mary Woolnoth", "St Martin Ironmonger Lane", "St Martin Ludgate", "St Martin Orgar", "St Martin Outwich", "St Martin Vintry", "St Matthew Friday Street", "St Mary Magdalen Milk Street", "St Mary Magdalen Old Fish Street", "St Michael Bassishaw", "St Michael Cornhill", "St Michael Crooked Lane", "St Michael Queenhithe", "St Michael Quern", "St Michael Royal", "St Michael Wood Street", "St Mildred Bread Street", "St Mildred Poultrey", "St Nicholas Acons", "St Nicholas Cole Abbey", "St Nicholas Olave", "St Olave Hart Street", "St Olave Jewry", "St Olave Silver Street", "St Pancras Soper Lane", "St Peter Ad Vincula", "St Peter Cheap", "St Peter Cornhill", "St Peter Paul's Wharf", "St Peter Poor", "St Stephen Coleman Street", "St Stephen Walbrook", "St Swithin", "St Thomas Apostle", "Trinity")>>
<<elseif $location is "in the eastern suburbs">>
<<set $parish to either("Holy Trinity Minories", "St Katharine Tower", "St Mary Whitechapel", "St Dunstan Stepney", "St Botolph Aldgate", "St John at Hackney")>>
<<elseif $location is "in the northern suburbs">>
<<set $parish to either("St Bartholomew Great", "St Bartholomew Less", "St Botolph Aldersgate", "St Botolph Bishopsgate", "St Giles Cripplegate", "St Giles in the Field", "St James Clerkenwell", "St Leonard Shoreditch", "St Mary Islington", "St Botolph Aldgate", "St John at Hackney")>>
<<elseif $location is "across the river in the southern suburbs">>
<<set $parish to either("St George Southwark", "St Olave Southwark", "St Saviour Southwark", "St Thomas Southwark", "Christ Church Surrey", "St Mary Lambeth", "St Mary Magdalen Bermondsey", "St Mary Newington", "St Mary Rotherhithe")>>
<<elseif $location is "in another part of the western suburbs">>
<<set $parish to either("St Andrew Holbom", "Bridewell Precinct", "St Bride", "St Dunstan West", "St Sepulchre")>>
<<elseif $location is "in the western suburbs, specifically Westminster">>
<<set $parish to either("St Clement Danes", "St Paul Covent Garden", "St Martin in the Fields", "St Mary Savoy", "St Margaret Westminster")>>
<</if>>
<</widget>>
/* list NPCs in sidebar menu */
<<widget "ListNPCs">>
<<nobr>>Household size: <<set _hhSize to $NPCs.length>> _hhSize<br><br>
''Household:'' <<if $fled is 5>>''fled to $hhlocation''<</if>><br>
<<for _i, _idx range $NPCs>>
$NPCs[_i].name, $NPCs[_i].age $NPCs[_i].relationship: $NPCs[_i].health.<br>
<</for>>
<br><br>
<<if $NPCsExtended.length gt 0>>
''Extended family:'' <br><<for _e, _idx range $NPCsExtended>>
$NPCsExtended[_e].name, $NPCsExtended[_e].age $NPCsExtended[_e].relationship: $NPCsExtended[_e].health<br>
<</for>>
<</if>>
<</nobr>>
<</widget>>
<<nobr>>/* NTS: for those not booted out, need to add reputation/money hits */
<<if $impressed gte 2>>You've been caught again!
<<if $age is "child">>As a child, you won't be transported to the New World or <span class="def" title="The seventeenth-century English Navy (and other militaries) often had labor shortages and had to force men to serve in its ranks. This mostly meant kidnapping, either by force, trickery, or coercion. After being impressed, sailors who were not British could petition to be let back out, but British subjects had to serve their term. Though the Navy typically impressed merchant seamen or fishermen, they sometimes abducted non-sailors. The practice was very unpopular and provoked much protest.">impressed</span> into His Majesty's Navy, but you are forced into service with a local merchant.
<br><br> /*NTS: insert text here about what happens to children who are impressed as servants */
<<set $socio to "servants">>
<<storyline-return>>
<<elseif $age is "elderly">>/* NTS: need text about what happens to elderly players caught 2+ times. Also, confirm if age overrides nationality/means you'll be deported? */ As an elderly resident, you are released with another warning. <<storyline-return>>
<<else>>
<<if $origin is "somewhere else" or $origin is "France">>
/* NTS: text for debtor's prison */ You are thrown into debtor's prison as punishment. [[stats]]
<<elseif $origin isnot "London" or $gender isnot "male">>/* NTS: text about indentured servitude and transport to americas */
As punishment, you are <span class="def" title="A person who has signed a labor contract, such as that of an apprentice or servant, to work for a set number of years in exchange for housing, food, clothing, training in a trade, and/or some other material benefit.">indentured into servitude</span> and will be shipped to the Americas. [[stats]]
<</if>>
<</if>>
<<else>>''You have been <span class="def" title="The seventeenth-century English Navy (and other militaries) often had labor shortages and had to force men to serve in its ranks. This mostly meant kidnapping, either by force, trickery, or coercion. After being impressed, sailors who were not British could petition to be let back out, but British subjects had to serve their term. Though the Navy typically impressed merchant seamen or fishermen, they sometimes abducted non-sailors. The practice was very unpopular and provoked much protest.">impressed</span> into His Majesty's Navy!''<br><br>
<<if $age is "child" or $age is "elderly adult">>Luckily for you, once they realize your age, they release you back onto the streets of London.<br><br><<storyline-return>>
<<elseif $gender isnot "male">>Luckily for you, once you convince them that you are not a man, they release you back on the streets on London.<br><br><<storyline-return>>
<<elseif $origin is "France" or $origin is "somewhere else">>.Luckily for you, you are not a subject of the British monarch and should not have been impressed. You bribe a literate crewmate to write a letter to the Naval Board on your behalf, protesting your impressment.<br><br>
Your captain, on hearing about the letter, sends you back to London where you successfully argue your case and are set at liberty.<br><br><<storyline-return>>
<<elseif $origin is "the Dutch Republic">>Luckily for you, you are not a subject of the British monarch and should not have been impressed. You bribe a literate crewmate to write a letter to the Naval Board on your behalf, protesting your impressment.
<br><br>
Your captain, on hearing about the letter, sends you back to London. While you successfully argue your case in front of the Naval Board, they are not pleased to hear they had a Dutchman on their ships. They imprison you as a spy.
<br><br>
[[How typical was your experience of the Great Plague of London? Let's find out!->stats]]
<<else>>You are sent off to fight against the Dutch and can only hope you don't manage to die in battle. But at least you didn't die of plague!<br><br>
[[How typical was your experience of the Great Plague of London? Let's find out!->stats]]
<</if>>
<</if>>
<</nobr>><<nobr>>
As if war wasn’t bad enough, you begin to hear rumors around the city that several houses have been shut up because their inhabitants have <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span>. After a few days, you decide to go see the truth of it for yourself and are horrified to find the rumors are true: several houses throughout the city had been locked up. Red crosses and the phrase //Lord Have Mercy Upon Us// have been painted on their front doors, to ensure that everyone knows this is a plague house.
<br>
<<if $location isnot "in another part of the western suburbs">><<no-plague-yet>><br>
<<if $socio isnot "beggars">>
[[You know that plague only grows worse as the weather warms and you dread the coming of June and the first real heat of summer.->June 1665]]
<</if>>
<<else>>[[Worse, the first case of plague has appeared in your parish.->First Plague Day]]
<</if>>
<<fumigant>>
<</nobr>>
<img src="https://upload.wikimedia.org/wikipedia/commons/c/c4/Lord_haue_mercy_on_London.jpg" height="654px" width="900px">
//Lord haue mercy on London, c. 1665.//<<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
On June 3rd, everyone throughout the city hears the sound of cannon fire—not the celebratory firing of cannons in ceremony but the sounds of battle. It is obvious that the English and Dutch <span class="def" title="The English Royal Navy, which was primarily composed of heavily armed warships.">fleets</span> have engaged in battle, but where? How close are they to London? Who is winning? No one knows. <<if $origin is "Dutch">>You keep your head down and hide from your neighbors as much as possible, for fear that they will turn on you.<</if>>
<br><br>
It takes almost a week, but news finally arrives of a great battle that killed many important men, especially on the ship of the <span class="def" title="The younger brother of King Charles II and heir to the English throne, who eventually reigned as King James II from 1685-88. Charles and his wife Catherine of Braganza had no children of their own, although Charles had many illegitimate children by several mistresses. James II was the last Catholic monarch of England and was deposed by his Protestant daughter, Mary, and her husband, William of Orange.">Duke of York, James Stuart</span>, the current heir to the throne—at least until the King and Queen manage to have children of their own. According to rumor, the battle came so close to killing the Duke that he was covered with blood and the head of a man named Mr. Boyle flew off and struck down the Duke. You happily repeat the rumors to anyone who will listen as bonfires break out in the street and people make merry, freely sharing their food and wine in celebration.
<br><br>
<img src="https://upload.wikimedia.org/wikipedia/commons/9/99/James_II_by_Peter_Lely.jpg" height="720" width="576">
<br>
//Peter Lely, James II, c. 1650-1675//
<br><br>
<<linkappend "That is the last good day of the month, though.">> The <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> grows worse and the streets are soon filled with coaches and wagons full of people fleeing with their goods to the countryside. The <span class="def" title="The mother of the current monarch. In 1665-7, this was Queen Henrietta Maria, the wife of the executed King Charles I.">Queen Mother</span> <span class="def" title="The mother of King Charles II. Born a French princess, she became the wife of King Charles I of England until his execution in 1649. She then served as an advisor to her son, but her Catholicism and repeated attempts to convert people at court made her unpopular among the Protestant people of England. Charles I ordered that she be referred to in public as Queen Mary, but she disliked this title and signed her name as Henriette.">Henrietta Maria</span> moves back to France<<if $religion is "Catholic">>, much to your dismay, and that of your fellow Catholics who flock to her chapel each week<<else>>, much to your relief, and that of all your fellow God-fearing <span class="def" title="Dissidents from the Catholic faith. In England these were most commonly Anglicans (Church of England) or Presbyterians, but there were other smaller groups such as Quakers and Baptists.">Protestants</span><</if>>. On June 29th, the King packs up his entire <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> in 148 carriages and moves 12 miles away, to his palace at <span class="def" title="A palace south of London famed for its gardens. Cardinal Wolsey began construction on the palace in the early 16th century and King Henry VIII adopted it as his primary residence. King James I, King Charles I, Lord Protector Oliver Cromwell, King Charles II, and King James II also lived in the palace. After the Glorious Revolution in 1688 the co-monarchs William and Mary commissioned the architect Christopher Wren to build a new baroque-style palace on the site. Later monarchs continued to reside there until the mid-18th century. Queen Victoria opened the palace to the public in 1838 and it remains a popular tourist destination.">Hampton Court</span>.
<br><br>
<img src="https://upload.wikimedia.org/wikipedia/commons/4/41/Wilson_%22The_plague...%22%3B_people_fleeing_from_plague_Wellcome_L0016623.jpg" height="348px" width="900px">
//Runaways fleeing from the plague, a woodcut from 'A Looking-glasse for City and Countrey', printed by H. Gosson in 1630 and sold by E. Wright, c. 1630. Wellcome Images//
<br><br>
<<if $location is "inside the City walls">> There are still no plague cases in your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span>, but everyone knows that it is only a matter of time
/* Beggars */
<<if $socio is "beggars">> and your neighbors are no longer willing to give you food or money when you come begging to their doors.<br>
<<highway>>
/* Day Labourers, Artisans, Merchants */
<<else>>
<<if $socio is "day labourers" or $socio is "artisans" or $socio is "merchants">>. You<<if $age is "child" or $age is "adolescent">>r family<</if>> will soon need to decide if you want to flee<<if $gender isnot "female">> or at least send the rest of your household away<</if>> before things get worse.
/* Servants */
<<elseif $socio is "servants">>. You anxiously await your master's decision about whether the household will flee or stay.
/* Nobles */
<<elseif $socio is "nobles">>. Unfortunately, you are not important enough to merit lodgings at <span class="def" title="A palace south of London famed for its gardens. Cardinal Wolsey began construction on the palace in the early 16th century and King Henry VIII adopted it as his primary residence. King James I, King Charles I, Lord Protector Oliver Cromwell, King Charles II, and King James II also lived in the palace. After the Glorious Revolution in 1688 the co-monarchs William and Mary commissioned the architect Christopher Wren to build a new baroque-style palace on the site. Later monarchs continued to reside there until the mid-18th century. Queen Victoria opened the palace to the public in 1838 and it remains a popular tourist destination.">Hampton Court</span> and the surrounding village is already full to bursting. You<<if $age is "child" or $age is "adolescent">>r family<</if>> will soon need to decide if it's worth the risk of staying in London, near enough to visit the Court regularly, or if you <<if $gender isnot "female">>or your household<</if>>should flee before things get worse.
<</if>><br>
[[Continue to July 1665->July 1665]]
<</if>>
/* If not in city walls or western suburbs */
<<elseif $location isnot "in another part of the western suburbs">>[[Worse, the first case of plague has appeared in your parish.->First Plague Day]]
/* If location is western suburbs */
<<else>>
<<if $socio is "beggars">>
<<if $role is "corpsebearer" or $role is "searcher" or $role is "nurse">>
<<plague-work>>
<br><br>Do you:
<ul><li>
<<if _fumes gt 0>>
<<if random(1,6) is 1>>[[swallow your fears and go to do your Christian duty.->July 1665][$plagueInfection to 1]]<<else>>[[swallow your fears and go to do your Christian duty.->July 1665]]<</if>>
<<else>>
<<if random(1,3) eq 1>>[[swallow your fears and go to do your Christian duty.->July 1665][$plagueInfection to 1]]<<else>>[[swallow your fears and go to do your Christian duty.->July 1665]]<</if>>
<</if>></li>
<li>[[refuse to do as you've been tasked.->work-refusal][$reputation to 0]]</li>
</ul>
<</if>>
<<elseif $socio is "day labourers">>
<<if $role is "corpsebearer" or $role is "searcher" or $role is "nurse">>
<<plague-work>>
<br><br>Do you:
<ul><li>
<<if _fumes gt 0>>
<<if random(1,6) is 1>>[[swallow your fears and go to do your Christian duty.->July 1665][$plagueInfection to 1]]<<else>>[[swallow your fears and go to do your Christian duty->July 1665]]<</if>>
<<else>>
<<if random(1,3) is 1>>[[swallow your fears and go to do your Christian duty.->July 1665][$plagueInfection to 1]]<<else>>[[swallow your fears and go to do your Christian duty->July 1665]]
<</if>></li>
<li>[[decide to quit and look for other work.->July 1665][$reputation to Math.clamp($reputation - 3, 0, 10); $role to "quit"]]</li>
</ul>
<</if>>
<<elseif $socio is "servants">><br>
/* NTS: include text about option to flee? */
<<late-departure>>
Otherwise, you can [[remain in the city with your entire household.->July 1665]]<br><br>
/* Artisans */
<<elseif $socio is "artisans">><br>
<<late-departure>>
Otherwise, you can [[remain in the city with your entire household.->July 1665]]<br><br>
/* Merchants */
<<elseif $socio is "merchants">>
<<late-departure>>
Otherwise, you can [[remain in the city with your entire household.->July 1665]]<br><br>
/* Nobles */
<<elseif $socio is "nobles">>Do you:
<<late-departure>>
Otherwise, you can [[remain in the city with your entire household.->July 1665]]<br><br>
<</if>>
<</if>>
<</if>>
<</linkappend>>
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
/* Beggar & Day Labourer choices */
/* nts: need text if day labourers don't have a job */
<<if $role is "corpsebearer" or $role is "searcher" or $role is "nurse">>
<<if ndef $textGroup>><<set $textGroup = 1>><</if>>
<<switch $textGroup>>
People are dying so fast now that burials have to happen night and day to keep corpses from piling up throughout the city.<br><br>
<<case 1>><<if $role is "corpsebearer">>As you take the dead to the graveyards<<elseif $role is "searcher">>Almost all the bodies you inspect are of <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> victims and<<elseif $role is "nurse">>Your patients die almost as fast as you are assigned to care for them and<</if>> you marvel at how much money is being wasted through the clothing that is buried with them. It’s illegal to take goods off the dead, and you know it’s dangerous as well.
<br><br>
You decide to:
<ul>
<li><<link "take some of the clothing to sell. You figure no one will notice, and you need the money." `passage()`>><<set $plagueclothes to 1>><<set $plagueInfection to random(0,1)>><<set $reputation -=1>><</link>></li>
<li><<link "leave things where they are." `passage()`>><<set $plagueclothes to 0>><</link>></li>
</ul>
<<default>>
So many people are sick and shut up in their houses that the city has imposed a 9pm curfew for healthy people, so that the sick can go out for a bit of air. There is sickness in the <span class="def" title="The English Royal Navy, which was primarily composed of heavily armed warships.">fleet</span> and everyone worries what that means for the war.
<br><br>
The city has ordered public <span class="def" title="Fasting is the practice of restricting food and/or drink. During this period, Christians observed holy days such as Lent by refraining from eating red meat.">fasts</span> and prayers to help combat the plague. <<if $religion is "Presbyterian">>You attempt to join a private meeting of your fellow <span class="def" title="Protestants who wanted their church to be ruled by presbyteries, or a collection of elders and ministers, rather than a hierarchical system of bishops. This system was popular in Scotland and an attempt to overturn it in favor of bishops sparked a series of uprisings in the British Isles that eventually turned into the Civil War.">Presbyterians</span> in <span class="def" title="A large open square in London. In 1630, the Earl of Bedford commissioned the architect Inigo Jones to build a church and several nice houses around a large square. This construction attracted wealthy buyers, who quickly moved out when a market, taverns, and sex workers moved into the south side of the square. The large open space could be used for outdoor meetings.">Covent Garden</span> but are too poor and turned away, which is lucky for you because everyone who attends the meeting is arrested. They are told they can be released if they pay £5 each to help care for the poor of the city, but they refuse and so are imprisoned.<</if>>
<br><br>
<<preventative>>
<br>
<<unset $textGroup>>[[Continue to September 1665->September 1665]]<</switch>><<if def $textGroup>><<set $textGroup +=1>><</if>>
<<else>>
People are dying so fast now that burials have to happen night and day to keep corpses from piling up throughout the city.<br><br>
So many people are sick and shut up in their houses that the city has imposed a 9pm curfew for healthy people, so that the sick can go out for a bit of air. There is sickness in the <span class="def" title="The English Royal Navy, which was primarily composed of heavily armed warships.">fleet</span> and everyone worries what that means for the war.
<br><br>
<img src="https://upload.wikimedia.org/wikipedia/commons/1/1d/Nine_images_of_the_plague_in_London%2C_17th_century_Wellcome_L0016640_%28cropped%29_7.jpg" height="575px" width="900px">
//Nine images of the plague in London, 17th century, Wellcome Images.//
<br><br>
The city has ordered public <span class="def" title="Fasting is the practice of restricting food and/or drink. During this period, Christians observed holy days such as Lent by refraining from eating red meat.">fasts</span> and prayers to help combat the plague. <<if $religion is "Presbyterian">>You attempt to join a private meeting of your fellow <span class="def" title="Protestants who wanted their church to be ruled by presbyteries, or a collection of elders and ministers, rather than a hierarchical system of bishops. This system was popular in Scotland and an attempt to overturn it in favor of bishops sparked a series of uprisings in the British Isles that eventually turned into the Civil War.">Presbyterians</span> in <span class="def" title="A large open square in London. In 1630, the Earl of Bedford commissioned the architect Inigo Jones to build a church and several nice houses around a large square. This construction attracted wealthy buyers, who quickly moved out when a market, taverns, and sex workers moved into the south side of the square. The large open space could be used for outdoor meetings.">Covent Garden</span>but are too poor and turned away, which is lucky for you because everyone who attends the meeting is arrested. They are told they can be released if they pay £5 each to help care for the poor of the city, but they refuse and so are imprisoned.<</if>>
<<if $socio is "nobles">>
Afraid of the worsening plague outbreak, the King removes his household even further away to the west, finally settling into the city of <span class="def" title="An English city about 80 miles outside of London">Salisbury</span>. Unfortunately, there is no royal palace there and anyone who follows him will have to find their own makeshift lodgings somewhere else in the city.<</if>>
<br><br>You can continue to try and prevent catching plague by visiting the <span class="def" title="A person who prepares and sells drugs for medicinal purposes. Also the shop where such activities take place">apothecary</span>, or you can:
<<preventative>>
[[Continue to September 1665->September 1665]]
<</if>>
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
The deaths continue in such great numbers that you can hardly believe it.<br><br>
<<if $role is "corpsebearer">>You are shocked to see that some bold people have begun attending <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> funerals, as if it were a child’s game or dare.
<<elseif $role is "nurse">>Some of your patients, furious at being locked in, have been trying to lean out windows to breathe and spit upon the healthy people walking past.<br><br><</if>>
The <span class="def" title="The head of the city government of London">Lord Mayor</span> has ordered fires to be lit throughout the city, to fill the air with smoke and sweep away any bad air that might be making the plague worse.
<br><br>
You can continue to try and avoid the plague by visiting the <span class="def" title="A person who prepares and sells drugs for medicinal purposes. Also the shop where such activities take place">Apothecary</span>, or you can:
<<preventative>>
/* NTS: text about smuggling children from plague houses */
[[Continue to October 1665->October 1665]]
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
October is miserably rainy and cold. <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">Plague</span> numbers are--thanks be to God--finally starting to come down, but are still terrifyingly high and you see sick people brazenly out and about on the streets.<br><br>
Rumors swirl about the Pope and the King of France dying, <<if $religion is "Catholic">>much to your alarm as a good Catholic<<if $origin is "France">> and subject of the French monarchy<</if>>, but to your relief you discover<<else>>but alas<</if>> they are only rumors.<br><br>
You hope the cold will deepen--and plague numbers continue to fall--as you head into [[November 1665]].
/* Beggar text */
/* Day labourer text */
/* Servant text */
/* Artisan text */
/* Merchant text */
/* Noble text */
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
The weather is terrible but <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> numbers are coming down and people start to trickle back into town. You don't expect great things this Christmas, but you are still looking forward to [[December 1665]].<br><br>
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
<span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">Plague</span> numbers are up, despite two great frosts, and the Christmas festivities are all cancelled. You hope it's the last gasp of the outbreak, even as you reflect at how much different things are now than the were last year.<br><br>
<<if $socio is "nobles">>
The King decides to take the Court to <span class="def" title="An English city about 60 miles north-west of London. It is home to the University of Oxford, the oldest university in England.">Oxford</span> to celebrate the Christmas festivities and settles into the <span class="def" title="Christ Church is one of the many colleges at the University of Oxford. Each of the university’s colleges has its own dean, and the position often came with a residence, called a deanery. King Charles I made this deanery his palace during the English Civil War.">Deanery at Christ Church College</span>, the king's traditional lodgings when he is in residence. The rest of the Court is scattered in lodgings throughout the city.<</if>>
<br><br>
Maybe things will be better in [[1666->January 1666]].
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
<span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">Plague</span> numbers continue to come down. <span class="def" title="A member of the hereditary class of landowners with high social and political status. They have noble titles either given to them by a monarch or inherited from their ancestors, such as duke/duchess, marquis/marchioness, earl/countess, or baron/baroness. In 1688, statistician Gregory King estimated there were about 160 noble households in England, which makes up less than 1/10 of 1% of the English population">Noble</span> coaches fill the streets, <span class="def" title="A person employed to carry things in the service of others. They are usually employed in moving furniture, luggage, and other loads, especially when their employers are moving or traveling.">porters</span> are everywhere hauling the belongings of those who are returning to the city, all the shops are reopening, and <span class="def" title="There are two types of beggars: itinerant beggars who roam the country illegally and members of the “deserving poor” who are embedded in their local communities and licensed to beg in their home parish. The latter usually still have a permanent place of residence, often provided by the parish, but their income depends on the charity of their neighbors. It is not legal to beg outside of your parish and itinerant beggars are both feared and often harshly punished. In 1688, statistician Gregory King estimated there were about 400,000 paupers households and 30,000 wandering beggars, which makes up ~22% of the English population.">beggars</span> overflow the highways.<br><br>
A bad storm blows down tiles from houses and shuts down <span class="def" title="Because there was only one bridge over the River Thames, London Bridge, Londoners often found it faster to cross the river or travel the length of the city by boat. As a result, the Thames was a busy river highway and was full of small transport boats as well as larger shipping barges.">river traffic</span>, but all in all, it's a good month.<br><br>
<<if $socio is "nobles">>
After six months of travel, the king finally returns the Court to <span class="def" title="A palace south of London famed for its gardens. Cardinal Wolsey began construction on the palace in the early 16th century and King Henry VIII adopted it as his primary residence. King James I, King Charles I, Lord Protector Oliver Cromwell, King Charles II, and King James II also lived in the palace. After the Glorious Revolution in 1688 the co-monarchs William and Mary commissioned the architect Christopher Wren to build a new baroque-style palace on the site. Later monarchs continued to reside there until the mid-18th century. Queen Victoria opened the palace to the public in 1838 and it remains a popular tourist destination.">Hampton Court Palace</span>, so that he can be near to the City of London and the government officials working out of Westminster.<br><br><</if>>
You look forward to even better things in [[February 1666]].
<</if>>
<<fumigant>>
<</nobr>>
<img src="https://upload.wikimedia.org/wikipedia/commons/c/ca/London_welcomes_home_runaways_Wellcome_L0002722.jpg" height="614px" width="900px">
//Henry Petowe and Frank Percy Wilson, "London welcomes home her runaways". Taken from a woodcut in Henry Petowe's:The Countrie Ague, 1625. Wellcome Images//<<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
The king has returned to London! People rejoice and return to their churches, knowing that if the king is willing to move back into his city palace of <span class="def" title="A large palace which served as the official London residence of English monarchs from 1530 to 1698, when nearly the entire complex was destroyed by fire. The area where the palace sat is still called Whitehall and has remained a center for the British government.">Whitehall</span>, then the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> outbreak must be almost over. A great snow hides all the graves and it's as if the last year was all a terrible dream.<br><br>
Your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> priest hasn't returned yet, though, and his reputation plummets as the days tick over into [[March 1666]].<br><br>
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
The Queen of Portugal, mother to England's beloved <span class="def" title="Queen Catherine of Braganza was a Portuguese princess who married King Charles II in 1662, becoming the Queen of England, Scotland, and Ireland. After the death of her husband, she returned to her homeland and served as the regent of Portugal until her death. She was unpopular in England due to her strong Catholic faith. Catherine had no children, so Charles was succeeded by his brother, King James II.">Queen Catherine</span>, has died.<br><br>The Court is plunged into mourning<<if $socio is "nobles">>. After a month in London, the King moves on to one of his father's old houses of <span class="def" title="A 17th century country house in the county of Essex owned by the Earl of Suffolk. Charles II bought it in 1668 and used it as a home occasionally. The Suffolks regained possession of it in 1701.">Audley End, in Essex</span>. Once an enormous and grand palace, it is in bad shape after the <span class="def" title="A series of armed civil conflicts in the 1640s and early 1650s that culminated in the execution of King Charles I, the flight of his son King Charles II, and the installation of Oliver Cromwell as the Lord Protector of England. The period was one of significant economic, political, and religious turmoil in England, Scotland, Wales, and Ireland. Eventually Cromwell died and Charles II was reinstated as the English monarch in 1660, an act called the Restoration.">Civil War</span> and <span class="def" title="The period 1649-1660 between the reigns of King Charles I and King Charles II. During this period, England was governed by the Commonwealth government, led by the Lord Protector Oliver Cromwell.">Interregnum</span>. But the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> has proved the wisdom of the King having more royal palaces outside of London and the Court is happy to follow him...<<else>> and the city quiets as well... <</if>> because <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> numbers are starting to go up again.
So much for the city being safe again.<br>
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/d/d4/Catherine_of_Braganza_-_Lely_1663-65.jpg" height="720" width="588">
<br>
//Peter Lely, Catherine of Braganza, 1663-5//
<br><br>
It's not a great lead up for [[April 1666]].
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
There's no denying it now. <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">Plague</span> cases are definitely on the rise. Luckily, Sweden has declared itself on England's side in the war against the Dutch, so at least there's some good news to balance out the bad as you head into [[May 1666]].
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
<span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">Plague</span> is increasing throughout the city, but that doesn't stop all of London for celebrating the king's birthday and the anniversary of the <span class="def" title="The returning of King Charles II to the throne of England. After the death of the Lord Protector Oliver Cromwell, his son was not strong enough to hold together the Commonwealth government. The exiled Charles II issued the Declaration of Breda, in which he promised to pardon and uphold the property rights of everyone except the people who signed his father’s execution warrant, in exchange for the throne.">Restoration</span> on May 29th with bonfires. <span class="def" title="There are two types of beggars: itinerant beggars who roam the country illegally and members of the “deserving poor” who are embedded in their local communities and licensed to beg in their home parish. The latter usually still have a permanent place of residence, often provided by the parish, but their income depends on the charity of their neighbors. It is not legal to beg outside of your parish and itinerant beggars are both feared and often harshly punished. In 1688, statistician Gregory King estimated there were about 400,000 paupers households and 30,000 wandering beggars, which makes up ~22% of the English population.">Beggars</span> throng the streets but, for once, no one seems to mind.
You are still recovering from the festivities when the days tip over into [[June 1666]].
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
You hear rumors that the <span class="def" title="The English Royal Navy, which was primarily composed of heavily armed warships.">fleet</span> has engaged the Dutch in battle again and the streets are full of people arguing over whether the four days of rumbling was cannon fire or thunder. Yes, the hot weather could have led to four days of distant thunder but the skies are clear and <span class="def" title="An organized group of naval sailors who forcibly conscripted men of fighting age (18-55) to serve in the Royal Navy during times of war. They usually impressed merchant seamen and fishermen but sometimes abducted non-sailors from town.">press gangs</span> roam the street, grabbing any man they can.
One thing is for certain, though. The weather is so hot that <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> cases are on the rise again and you know it will only get worse in [[July 1666]].
<br><br>
<img src="https://collections.rmg.co.uk/media/287/368/bhc0286.jpg" height="644px" width="900px">
//Abraham Storck, The 'Royal Prince' and other Vessels at the Four Days Battle, 1–4 June 1666, c. 1670//
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
The heat of the city is oppressive but the worst is not the heat but the wails of women whose husbands have been <span class="def" title="The seventeenth-century English Navy (and other militaries) often had labor shortages and had to force men to serve in its ranks. This mostly meant kidnapping, either by force, trickery, or coercion. After being impressed, sailors who were not British could petition to be let back out, but British subjects had to serve their term. Though the Navy typically impressed merchant seamen or fishermen, they sometimes abducted non-sailors. The practice was very unpopular and provoked much protest.">impressed</span> into the <span class="def" title="The English Royal Navy, which was primarily composed of heavily armed warships.">Fleet</span>. Many of the men who have been impressed attempt to escape but are recaptured.
Those who remain in the city hear the sounds of another battle in the distance--but any battle that is close enough for you can hear the cannon fire is too close. You wonder if you will make it to [[August 1666]].
<</if>>
<<fumigant>>
<</nobr>>
<img src="https://upload.wikimedia.org/wikipedia/commons/3/34/St._James_Day_Fight%2C_Pic_1.jpg" height="708px" width="900px">
//By unknown Dutch artist, "Zee-Slag tussen de Engelse en Nederlandtse Vloot, op den 4 Aug. 1666." Engraving showing the St. James' Day Battle on August 4th, 1666 between English and Dutch ships//<<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
As the summer heat engulfs the city, <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> numbers continue to rise. But at least there's good news on the war front, as you hear that the <span class="def" title="The English Royal Navy, which was primarily composed of heavily armed warships.">fleet</span> has burnt more Dutch ships. You hope it will be enough to tide you through the last hot month of the year, as [[September 1666]] dawns.
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
<<if $location is "inside the City walls">>
Early one Sunday morning, you wake to the frantic ringing of church bells. This isn't the ordinary <span class="def" title="Parish churches typically had bells, which they used to ring the hours throughout the day. These bells were also rung to indicate the time of church services and to alert people to fires or other emergencies.">call to service</span>—<<if $religion is "member of the Church of England">>something you were looking forward to attending after you slept in<<else>>as if you'd ever attend a service in the Church of England!<</if>>—but rather a call to arms. When you stumble outside, you discover the city has caught fire around you.
<<if $age is "child">>You immediately wake the nearest adult, who takes charge. You grab your favorite toy, then it's time to flee, with the fire nipping at your heels. You will have nightmares about this moment for weeks.
<<elseif $age is "adolescent">>You immediately wake the nearest adult, who takes charge. You grab some of your clothes, then it's time to flee, with the fire nipping at your heels. You will have nightmares about this moment for weeks.
<<else>>
<<if $socio is "servants">>You immediately alert your master and mistress, who send you out to find as many additional carts or boats as you can, to carry away their goods. <<if $reputation lte 2>>Unfortunately, everyone is so busy saving their own households, they have little to spare for you. All you have is the single cart you already own. <<else>>Luckily, you have friends and neighbors who hold you in high esteem and are willing to lend you carts.<</if>> The <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> loads <<if $reputation lte 2>>it<<else>>them<</if>> up and you all flee with the fire nipping at your heels.
<<elseif $socio is "artisans">>You quickly organize your household to carry away all the most important things you own—agonizing over the tools of your trade that must be left behind—and flee with the fire nipping at your heels.
<<elseif $socio is "day labourers">>You quickly organize your household to carry away all the most important things you own—sure, it isn't much, but you can't afford to replace any clothing you let burn much less your precious pots and pans—and flee with the fire nipping at your heels.
<<elseif $socio is "beggars">>You quickly organize your household to carry away all the most important things you own—sure, it isn't much, but you can't afford to replace any clothing you let burn—and flee with the fire nipping at your heels.
<<else>>You immediately send servants to find as many carts or boats as they can, to carry away your goods, and begin gathering your most important possessions—your money, your papers, your <span class="def" title="A stick used to mark debts and payments, usually with notches on one side. Usually a debtor and lender would split the stick in half and each keep half the stick as a record of their agreement.">tally sticks</span>. <<if $reputation lte 2>>Unfortunately, everyone is so busy saving their own households, they have little to spare for your servants who return empty-handed. All you have is the single cart you already own, which will barely carry anything.<<else>>Luckily, the servants soon return with several carts and you manage to send your most precious household goods out of the path of danger. <</if>> After much agonizing, you task a servant to dig holes in the yard to bury your wine, Parmezan cheese, and most expensive books. Then you and the rest of your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> gather all the things you can hold and flee with the fire nipping at your heels.
<</if>>
<<if $socio is "beggars" or "day labourers">> You and your family take refuge in the open fields just outside the city and watch in horror as it burns for days.
<<else>> Your household takes refuge in a friend's house in Westminster and watch in horror as the city burns for days.<</if>>
<</if>>
<<else>>
One Sunday morning, you awaken and getting ready for church when you look out the window and realize there is a great fire in the distance. After dressing, you go out to find a neighbor who tells you that over 300 houses have burnt down in the night, by <span class="def" title="In this period, the only bridge across the Thames connecting the two halves of London. It was preceded by several Roman and medieval bridges which were destroyed and rebuilt many times. The bridge in this period was built in 1209. The bridge had 19 piers with thick protective pilings around them. These restricted water flow so much that the water level could be up to 6 feet higher on one side of the bridge than the other. Many houses and shops stood on the bridge until they were removed in the 19th century.">London Bridge</span>.
Curious, you walk <<if $location is "across the river in the southern suburbs">>down to the riverside<<else>>to the <span class="def" title="A historic castle on the north bank of the Thames that was built in 1066. It has been used by many English monarchs as both a residence and a prison.">Tower of London</span> and climb up onto a high place<</if>>, where you can see the houses on the end of the <span class="def" title="In this period, the only bridge across the Thames connecting the two halves of London. It was preceded by several Roman and medieval bridges which were destroyed and rebuilt many times. The bridge in this period was built in 1209. The bridge had 19 piers with thick protective pilings around them. These restricted water flow so much that the water level could be up to 6 feet higher on one side of the bridge than the other. Many houses and shops stood on the bridge until they were removed in the 19th century.">London Bridge</span> all aflame. People are frantically flinging their belongings into the river and carrying the sick away in their beds as they run along the muddy riverbank.
You ask around and discover the fire began in the King's Baker's house on Pudding Lane, but everyone believes the French were responsible and are looking for someone to blame. <<if $origin is "France">>You quietly return home and bar the door, determined not to go out again until the streets are safe.<</if>>
<<if $socio is "beggars">>A neighbor's cousin asks if you will help haul his belongings out of the path of the fire. Do you [[agree to help->October 1666][$reputation +=1]] or [[laugh him off and save your strength in case you need it to save your own things->October 1666][$reputation -=1]]?
<<elseif $socio is "day labourers">>A neighbor's cousin asks if you will help haul his belongings out of the path of the fire. Do you [[agree to help->October 1666][$reputation +=1]] or [[laugh him off and save your strength in case you need it to save your own things->October 1666][$reputation -=1]]?
<<else>> A neighbor's cousin asks if he can borrow your cart. Do you [[agree to help->October 1666][$reputation +=1]] or [[laugh him off and keep your cart in case you need it to save your own things->October 1666][$reputation -=1]]?
<</if>>
<</if>>
Everyone is still reeling from the shock of the Great Fire at the beginning of [[October 1666]].
<</if>>
<<fumigant>>
<</nobr>>
<img src="https://upload.wikimedia.org/wikipedia/commons/b/b6/Great_Fire_London.jpg" height="524px" width="900px">
//Josepha Jane Battlehooke, The Great Fire of London, 1675//<<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
<<if $location is "inside the City walls">>
<<if $socio is "beggars">>You spend the next several weeks living in a field. The local <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> church serves food three times a day to keep you and the others from starving, but winter is coming and you know that you'll freeze to death if you don't manage to find permanent shelter before then. <<if $reputation lte 2>>Unfortunately, the first frost comes and you are still homeless. <<if $origin is not "London">> Your only choices are to [[return to your home in $origin->go quietly]] or to <<else>>You <</if>>pray you don't [[freeze]].
<<else>>Luckily, just as the first frost hits the city, you manage to find a friend-of-a-friend who is willing to let you sleep on the floor until you can get more [[permanent lodgings->November 1666]].
<</if>>
<<elseif $socio is "day labourers">>
You spend the next several weeks living in a field. Luckily, there is plenty of work clearing away the debris of the fire and you<<if $age is "child" or $age is "adolescent">> and your family<</if>> manage to scrape together enough money to afford new lodgings in the eastern suburbs of the city. It's just a single room and you're a little worried that the building will fall down around you one night, but at least it's better than freezing to death in the fields. You're grateful to live long enough to see [[November 1666]].
<<else>>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> spend the next several weeks working to clear out the wreckage of your former home. Even though you work as fast as you can, you won't be able to rebuild before winter. <<if $age is "child" or $age is "adolescent">>Luckily, due to your young age, friends of the family allow you to stay with them through the [[winter->November 1666]].<<else>><<if $reputation lte 2>>Your poor reputation means that no one is willing to let you stay as a guest with them for long<<if $socio is "nobles">> so you end up having to leave the city for the winter<<elseif $socio is "merchants">> so you end up having to sleep in your office all winter<<else>> so you end up having to stay in crappy lodgings that are practically a hovel and well beneath your station<</if>> and are [[very unhappy about it->November 1666]].<<else>>Because of your good reputation, friends allow you to stay with them through the [[winter->November 1666]].<</if>><</if>>
<</if>>
<<else>>
There's so many people homeless that there's money to be made for someone who's willing to rent out a few rooms of their house, especially with such rainy weather and the increasing cold. <<if $age isnot "child" or $age isnot "adolescent">><<if $socio is "nobles">>You instruct your man of business to make sure none of your tenants are illegally subletting.<<elseif $socio is "merchants">>Such activity is beneath your social station, of course, but you are envious of all the people profiting off the disaster.<<elseif $socio is "artisans">> You open up your house and make a lot of money, but take a hit to your reputation because your neighbors accuse you of profiting off the disaster.<<else>> Not that you have room for such a thing, unfortunately.<</if>><</if>>
The weather may be miserable, but every disaster has a silver lining. Between the fires that still <span class="def" title="To burn slowly but without flame, produces smoke and heat">smolder</span> in the city's cellars and the rainy weather, <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> cases are plummeting and you've heard that the theatres are finally going to reopen! You greatly look forward to [[November 1666]]
<</if>>
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
One November day, the church bells peal out in alarm again--not from the destroyed part of the city within its ancient walls, but from the king's palace at <span class="def" title="A large palace which served as the official London residence of English monarchs from 1530 to 1698, when nearly the entire complex was destroyed by fire. The area where the palace sat is still called Whitehall and has remained a center for the British government.">Whitehall</span>, especially the area around <span class="def" title="A large barracks and stables for the Royal Cavalry which served as the entrance to the Palace of Whitehall. The building is defended by the King’s Life Guard, a mounted ceremonial guard.">Horse Guards</span>. Everyone rushes to put out the fire at all costs, unwilling to have a repeat of September's disaster. Thankfully, no lives are lost.
Even better, the king declares the official thanksgiving day for the end of the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span>. Yes, some people are still dying, but the numbers are low enough and the epidemic has been going on long enough that most everyone is grateful for its official end.
As <span class="def" title="A Christian holiday beginning on Ash Wednesday and ending just before Easter, meant to commemorate the time which Jesus spent in the wilderness. This period was supposed to be observed by fasting or abstinence.">Lent</span> begins, you look forward to actually being able to properly [[celebrate Christmas this year.->December 1666]]
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>>
Fires still <span class="def" title="To burn slowly but without flame, produces smoke and heat">smolder</span> in cellars throughout the city. Trouble is brewing in Scotland. The <span class="def" title="A summary of all the weekly bills of mortality from the previous year, published annually in the week before Christmas. These bills published the numbers of burials by parish and included data on how people died, whether of plague or some other cause.">general bill of this year's deaths</span> show many <span class="def" title="Very bad or unsatisfactory, deplorable, causing sorrow">lamentable</span> <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> deaths. But you have made it through 1666 and you thank God you are still alive!
Congratulations. You have [[survived the Great Plague of London->stats]]
<</if>>
<</nobr>>/* This adjusts the rate of infection for a specific location depending on how much time has passed in the game, starting at 6 plays (the first passage after the game starts proper). The play number roughly corresponds to our broad time events.
<<nobr>>
<<silently>>
<<if visited("Sickness")>>
<<set $plagueInfection to 2>>
<<elseif passage() is "December 1664" or passage() is "January 1665" or passage() is "May 1665">>
<<elseif passage() is "June 1665">>
<<if random(1,500) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,500) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "July 1665">>
<<if random(1,18) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,18) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "August 1665">>
<<if random(1,3) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,3) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "September 1665">>
<<if random(1,5) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,5) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "October 1665">>
<<if random(1,15) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,15) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "November 1665">>
<<if random(1,100) lte 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,100) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<else>>
<<if random(1,1000) lte 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,1000) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<</if>>
<<set _infectedFamily = []>>
<<for _idx, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_idx)>>
<</if>>
<</for>>
<</silently>>
<</nobr>>/* This adjusts the rate of infection for a specific location depending on how much time has passed in the game, starting at 6 plays (the first passage after the game starts proper). The play number roughly corresponds to our broad time events.
<<nobr>>
<<silently>>
<<if visited("Sickness")>>
<<set $plagueInfection to 2>>
<<elseif passage() is "December 1664" or passage() is "January 1665" or passage() is "May 1665">>
<<elseif passage() is "June 1665">>
<<if random(1,1000) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,1000) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "July 1665">>
<<if random(1,100) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,100) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "August 1665">>
<<if random(1,8) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,8) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "September 1665">>
<<if random(1,4) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,4) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "October 1665">>
<<if random(1,6) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,6) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "November 1665">>
<<if random(1,25) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,25) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<<elseif passage() is "December 1665">>
<<if random(1,100) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<else>>
<<if random(1,1000) eq 1>>
<<set $plagueInfection to 1>>
<</if>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if random(1,1000) lte 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
<</if>>
<<set _infectedFamily = []>>
<<for _idx, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_idx)>>
<</if>>
<</for>>
<</silently>>
<</nobr>><<nobr>><<if $socio is "beggars">>Because you refused to work, your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish's</span> <span class="def" title="Two parish officials elected to administer to the needs of the poor in their parish. These positions were created by the Poor Relief Act of 1597.">Overseers of the Poor</span> have committed you to the <span class="def" title="Jail">gaol</span>!<br><br>
Do you:
[[beg for forgiveness and agree to work->ForgiveMe]]<br>
<<if $origin is "London">>
[[stand firm in your refusal to risk your life->transported]]<br>
<<else>>
[[stand firm in your refusal to risk your life->deported]]
<</if>>
<<elseif $socio is "day labourers">><<set $socio to "beggars">>Because you are no longer working, you quickly run out of money and have to throw yourself on the mercy of your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish's</span> <span class="def" title="Two parish officials elected to administer to the needs of the poor in their parish. These positions were created by the Poor Relief Act of 1597.">Overseers of the Poor</span>.<br><br>
They have decided it will be your job to
<<if $gender is "male" or $gender is "nonbinary">><<set $role to "corpsebearer">>remove the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> corpses of anyone who dies.
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/Wilson_%22The_plague...%22%3B_a_corpses_bearer_Wellcome_L0016624.jpg" height="1274px" width="900px">
<br>
//Printed by R. Price, A corpse bearer; reproduction of an engraving from a series of London Cries, 1655. Wellcome Images//
<br><br>
<<elseif $gender is "female" and $reputation gt 5>><<set $role to "searcher">>look at the corpses and determine if they died of <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> or some other cause of death
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/67/Plague_in_1665_%28BM_1875%2C0508.1513%29.jpg" height="1600" width="880">
<br>
//Nathaniel Parr, published by Thomas Astley, Plague in 1665, 1747//
<<else>><<set $role to "nurse">>nurse the sick and dying, despite the risk to your own life.
<</if>>
<</if>>
<</nobr>><<nobr>>
<<if $plagueInfection eq 1>><<sickPC>>
<<elseif _infectedFamily.length gte 1>><<sickFam>>
<<else>><span id="plague-day-replace">
Despite the English <span class="def" title="The English Royal Navy, which was primarily composed of heavily armed warships.">fleet's</span> victory, the war grinds on and rumors begin to circulate that the French are considering siding with the Dutch. <<if $origin is "France" or $origin is "the Dutch republic">>You make sure to talk loudly of your loyalty to the King and the superiority of the English fleet, whenever your neighbors mention the war.<</if>>There aren't as many rumors as there might have been, given how many people have fled the city and how afraid the people who remain are of coming near each other.
<br><br>
The graveyards are beginning to overflow and corpses are being flung into the open marshes of <span class="def" title="Also known as Tothill Fields, it was a marshy area of Westminster on the north bank of the river Thames. The area was home to the prison known as Tothill Fields Bridewell, which operated between 1618 and 1884.">Tuttle-fields</span>. There is still room in the <span class="def" title="A city burial ground, not associated with any church or parish, that was located in northeastern London and used from 1569 to 1739. In that period, it received an estimated 25,000 burials. Over time it became commonly known as Bedlam or Bethlem burial ground because it was located in the precinct of the Priory of St. Mary of Bethlehem, later Bethlem Hospital.">New Chapel churchyard</span>, that was walled in during the last <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> at great public expenses, but only the rich whose families can afford to pay are being buried there now.
<br><br>
<<if $location is "inside the City walls">>[[Worse, the first case of plague has appeared in your parish.->First Plague Day]]
<<else>>
<<if $socio is "beggars" or $socio is "day-labourers">>
/* NTS: should these descriptions end with a choice to abandon your work? yes */
<<if $role is "corpsebearer">>You have tried to slip a few corpses in from your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> and have been turned away. Luckily, their grieving families are still shut into their houses and can't come out to yell at you over the treatment of the dead.
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/Wilson_%22The_plague...%22%3B_a_corpses_bearer_Wellcome_L0016624.jpg" height="1274px" width="900px">
//Printed by R. Price, A corpse bearer; reproduction of an engraving from a series of London Cries, 1655. Wellcome Images//
<<elseif $role is "searcher">>People attempt to bribe you to say that their loved ones died of something other than <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span>.
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/67/Plague_in_1665_%28BM_1875%2C0508.1513%29.jpg" height="1600" width="880">
<br>
//Nathaniel Parr, Three men loading plague victims from the street onto a cart to left, two of them smoking pipes to protect themselves, a figure with a bundle over his shoulder walking under an arch in the background to right; illustration to a 'History of England', c. 1747, published by Thomas Astley. British Museum.//
<br>
You say <span id="bribe-yn">\
<<link "yes">><<set $reputation -=3>><<set $money +=3>><<set $searcherbribe to 1>><<replace "#bribe-yn">>yes<</replace>><</link>>
| <<link "no">><<set $reputation += 1>><<set $searcherbribe to "no">><<replace "#bribe-yn">>no<</replace>><</link>></span>.
<<elseif $role is "nurse">>You fear death every day.
<</if>><br><br>
<</if>>
It feels like the church bells are ringing constantly, with each new death or funeral.
<br><br>
<<if $socio is "nobles">>
The <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> has followed the King's household to <span class="def" title="A palace south of London famed for its gardens. Cardinal Wolsey began construction on the palace in the early 16th century and King Henry VIII adopted it as his primary residence. King James I, King Charles I, Lord Protector Oliver Cromwell, King Charles II, and King James II also lived in the palace. After the Glorious Revolution in 1688 the co-monarchs William and Mary commissioned the architect Christopher Wren to build a new baroque-style palace on the site. Later monarchs continued to reside there until the mid-18th century. Queen Victoria opened the palace to the public in 1838 and it remains a popular tourist destination.">Hampton Court</span> and one of his guards dies of plague at the end of the month.<</if>>
[[Continue to August 1665->August 1665]]
<</if>>
</span>
<</if>>
<<fumigant>>
<</nobr>><<nobr>>
It is a difficult decision, but you decide it's for the best to send your sick to the <span class="def" title="A hospital used for the treatment and isolation of people infected with Bubonic plague or other infectious diseases">pesthouse</span>.
<br><br>
<<if $reputation lte 1>><<if $murder isnot 1>>To your horror, rumors swirl that you have actually murdered a member of your household and hidden the body! Y<<else>> Remembering the rumors of murder that circulated last time you sent someone to the household, y<</if>>ou send to the master of the pesthouse to produce a certificate for you that proves the rumor is a lie.
<<set $reputation -=2>><<set $murder =1>>
<</if>>
<<set $money -= 5>>
<br>
Family status after quarantine:
<<for _z, _idx range $NPCs>>
$NPCs[_z].relationship, $NPCs[_z].name, $NPCs[_z].health
<</for>>
<<silently>><<if random(1,2) eq 1>><<set $plagueInfection to 1>><</if>><</silently>>
<br><br>
<<storyline-return>>
<</nobr>>
<img src="https://upload.wikimedia.org/wikipedia/commons/5/58/The_pest_house_and_plague_pit%2C_Moorfields%2C_London._Wellcome_V0013229.jpg" height="720px" width="859px">
<br>
//The pest house and plague pit, Moorfields, London. Wood engraving. Wellcome Images.//
<<widget "sickFam">><<nobr>>
As morning dawns, a terrible realization settles over your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span>. Your
<<silently>><<set _infectedFamily = []>>
<<for _idx, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_idx)>>
<</if>>
<</for>><</silently>>
<<for _n, _idx range _infectedFamily>>
<<if _infectedFamily.length eq 1>>
$NPCs[_idx].relationship $NPCs[_idx].name is infected with the plague.<br>
<<elseif _n < _infectedFamily.length - 1>>$NPCs[_idx].relationship, $NPCs[_idx].name,<<else>> and $NPCs[_idx].relationship, $NPCs[_idx].name are infected with the plague.<br>
<</if>>
<</for>>
<br>
As a good Christian, it is your duty to look after the poor, sick, and needy. But as a good Christian, you also know it is a sin to needlessly risk your life. Do you<<if $age is "child" or $age is "adolescent">> convince your family to<</if>>:<ul>
<li>[[Quarantine with your household->Quarantine, Week 1][$reputation to Math.clamp($reputation + 3, 0, 10)]]</li>
<li>[[Send the sick to the pesthouse->FamPesthouse][$reputation to Math.clamp($reputation - 5, 0, 10)]]</li>
</ul>
<</nobr>>
<</widget>>
<<widget "check-NPCs">>
/* check to see which family members were infected and put into temp array */
<<silently>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>>
<</silently>>
<</widget>>
/* if sending household away or back to place of origin, change their location for status updates */
<<widget "fled-family">>
<<if $origin isnot "London">><<set $hhlocation to $origin>><<else>><<set $hhlocation to "in the countryside">><</if>>
<<set $FledFamily = []>>
<<for _f, _family range $NPCs>>
<<if _family.relationship isnot "servant">>
<<set $FledFamily.push(_f)>>
<</if>>
<</for>>
<<for _x range $FledFamily>>
<<set $FledFamily[_x].location to $hhlocation>>
<</for>>
<</widget>>
<<widget "health-update">>
<<silently>><<for _d range _deceased>>
<<set $NPCs[_d].health to "deceased">>
<</for>>
<<for _r range _recovered>>
<<set $NPCs[_r].health to "recovered">>
<</for>><</silently>><</widget>><<widget "storyline-return">>
<<nobr>>
/* NTS if you were imprisoned or impressed, show a bit of text here that says what happened while you were away. Add code that moves you forward a play equivalent to your imprisonment time. */
<<if hasVisited("November 1666")>>[[Continue.->December 1666]]
<<elseif hasVisited("October 1666")>>[[Continue.->November 1666]]
<<elseif hasVisited("September 1666")>>[[Continue.->October 1666]]
<<elseif hasVisited("August 1666")>>[[Continue.->September 1666]]
<<elseif hasVisited("July 1666")>>[[Continue.->August 1666]]
<<elseif hasVisited("June 1666")>>[[Continue.->July 1666]]
<<elseif hasVisited("May 1666")>>[[Continue.->June 1666]]
<<elseif hasVisited("April 1666")>>[[Continue.->May 1666]]
<<elseif hasVisited("March 1666")>>[[Continue.->April 1666]]
<<elseif hasVisited("February 1666")>>[[Continue.->March 1666]]
<<elseif hasVisited("January 1666")>>[[Continue.->February 1666]]
<<elseif hasVisited("December 1665")>>[[Continue.->January 1666]]
<<elseif hasVisited("November 1665")>>[[Continue.->December 1665]]
<<elseif hasVisited("October 1665")>>[[Continue.->November 1665]]
<<elseif hasVisited("September 1665")>>[[Continue.->October 1665]]
<<elseif hasVisited("August 1665")>>[[Continue.->September 1665]]
<<elseif hasVisited("July 1665")>>[[Continue.->August 1665]]
<<elseif hasVisited("June 1665")>>[[Continue.->July 1665]]
<<elseif hasVisited("May 1665")>>[[Continue.->June 1665]]
<<elseif hasVisited("January 1665")>>[[Continue.->May 1665]]
<</if>>
<</nobr>>
<</widget>><<nobr>><<silently>><<set $plagueInfection to 2>><</silently>>
You attempt to hide your illness from everyone, hoping that if you just ignore it then the lump will go away.<br><br>
Unfortunately, that's not how plague works. The lump gets bigger and is soon joined by even more lumps. They are now undeniably plague <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span>.
<br><br>
<<if $socio is "nobles">>The King is furious at your deception and [[banishes you to your country estate->banished][$reputation =0]]. <<else>>Your neighbors realize you attempted to hide your sickness and decide you can no longer be trusted. Not only do they shut up your household, they also conspire to have you [[removed to the pesthouse->YouPesthouse][$reputation to 0]]<<if $socio is "merchants">> despite your high social status <</if>> to keep the plague from spreading further.<</if>>
<</nobr>><<nobr>><<set $plagueInfection to 2>>All but the most loyal—or desperate—servants flee from your country estate. The villagers refuse to receive your servants and even the local priest hesitates to come pray for you.
<<linkreplace "You take to your sickbed as your fever spikes and you fear for your life.">><<linkreplace "It occurs to you that perhaps you ought to write your will.">>
<<if random(1,2) is 1>>Luckily, you will be too delirious to notice that the remainder of your servants all abandon you in the hours before your [[death]].
<<else>>Luckily, despite your disgrace, your final few servants stay by your side, praying for your life and administering every <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> remedy known to mankind.
<br><br>
You don't know which helps more, but after a few days you feel your fever break and your <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> begin to go down. Thanks be to God, you have survived the plague.
<br><br>
Now you just have to figure out how to overcome your disgrace and find your way back into the King's good graces. Groveling will obviously have to be involved, but that won't be enough. Do you also:<br>
<ul>
<li><<link "help him find his next mistress">><<set $money to Math.clamp($money - 12800, 0, 1000000)>><<storyline-return>><</link>></li>
<li>loan him all your money to fund the war effort<<set $reputation +=1>><<set $money to 0>><<storyline-return>></li>
<li>give him all your money to fund the war effort<<set $reputation +=2>><<set $money to 0>><<storyline-return>></li>
</ul>
<</if>>
<</linkreplace>>
<</linkreplace>>
<</nobr>><<silently>><<set $plagueInfection to 2>><</silently>>
<<nobr>>
The pesthouse is a terrible place to be confined, with countless sick people all crammed in close together so you can hear their every moan. They die terrifyingly fast and their cots refill just as quickly. You toss and turn in your dirty, sweat-soaked sheets, as your fever spikes and you fear for your life.
<br><br>
<<if $socio is "merchants">>It occurs to you that perhaps you ought to have written your will, but your reputation is so poor and the pesthouse is so terrifying that no one can be convinced to bring you the writing materials you need.<br><<elseif $socio is "artisans">>It occurs to you that perhaps you ought to have written your will, but your reputation is so poor and the pesthouse is so terrifying that you can't convince a <span class="def" title="A person employed to copy or transcribe documents or to write documents for someone else, especially legal documents">scrivener</span> to come help you.<br><br><</if>>
<<if random(1,2) is 1>>Luckily, you will grow too delirious to notice how miserable you are in the hours before your [[death]].<<else>>You spend all your remaining energy in prayer that God will spare you from death. Despite the neglect of the overworked pesthouse staff, after a few days you feel your fever break and your <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> begin to go down. Thanks be to God, you have survived the plague.
<br><br>
<img src="https://upload.wikimedia.org/wikipedia/commons/5/58/The_pest_house_and_plague_pit%2C_Moorfields%2C_London._Wellcome_V0013229.jpg" height="720px" width="859px">
<br>
//The pest house and plague pit, Moorfields, London. Wood engraving. Wellcome Images.//
<br><br>
Now you just have to figure out how to overcome your disgrace when you return home to your neighborhood. You decide to start by:<br>
<<if $money gte 2>>
<<linkreplace "giving all your money to the poor">><<set $money to 0>>
<<storyline-return>>
<</linkreplace>>
<<linkreplace "giving all your money to the poor //and// performing public penance in church">>
<<set $money to 0>>
<<set $reputation +=1>>
<<storyline-return>>
<</linkreplace>>
<<else>>
<<linkreplace "performing public penance in church">>
<<set $reputation +=1>>
<<storyline-return>>
<</linkreplace>>
<</if>>
<</if>>
<</nobr>>Since you refuse to work in London, the local authorities decide to have you deported back to $origin.
<br>
Do you:
[[try to escape and return to London->escape]]
[[go quietly]]You try to escape
<<if random(1,2) == 1>>but are immediately caught. The local authorities decide the safest course of action now is to have you [[transported]] to the New World.
<<else>>and manage to sneak back into London.
<<if $reputation gte 3>> Luckily, one of your neighbors takes pity on you and lets you stay with them while you seek work and a new place to stay. <<set $socio="day labourer">> NTS: Should regenerate household here?
<<else>>Unfortunately, now you are now homeless, no longer receiving alms from your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish's</span> <span class="def" title="Two parish officials elected to administer to the needs of the poor in their parish. These positions were created by the Poor Relief Act of 1597.">Overseers for the Poor</span>, and cannot legally beg anymore. It doesn't take long before you are caught and thrown in gaol.
<br>
Do you:
<<link "beg for forgiveness and agree to work">>
<<storyline-return>>
<</link>>
[[stand firm in your refusal to risk your life->transported]]
<</if>>
<</if>><<nobr>>
<<if $origin is "London">>There's no plague in the New World, so you decide to take a chance and move to the colonies. It's a rough journey and difficult to start over again somewhere so different. You will always miss London.
<<else>>
You return to <<if $origin isnot "somewhere else">>$origin<<else>>your homeland<</if>> and never see London again.<</if>>
<br><br>
But at least you didn't die of plague!
<br><br>
[[How typical was your experience of the Great Plague of London? Let's find out!->stats]]
<</nobr>>NTS: Here's a debrief passage where we present all the character stats and talk about representativeness. It'll come at some point but isn't done yet!
In the meantime, we would love some feedback on the Alpha prototype of our game. If you're willing to give some brief feedback, please go to the Google Form at https://forms.gle/CovY1m4TAbVUK27J6The local authorities decide to have you bound into <span class="def" title="A person who has signed a labor contract, such as that of an apprentice or servant, to work for a set number of years in exchange for housing, food, clothing, training in a trade, and/or some other material benefit.">indentured servitude</span> and shipped to the colony of Virginia.
<br>
If you don't die during the perilous months' long journey across the Atlantic, you'll probably die of disease or violence within the first couple of years after your arrival.
<br>
Though if by God's grace you do survive it all, at the end you will be given your freedom and enough land to start growing crops.
<br>
Good luck! You'll need it...
[[How typical was your experience of the Great Plague of London? Let's find out!->stats]]<<widget "sickPC">>
<<nobr>>
Lord have mercy! A strange lump has appeared on your
<<set _x to random(1,3)>>
<<if _x == 3>>neck and there's no hiding that you have caught the dreaded [[plague->Sickness]].
<<else>><<if _x == 1>>leg
<<elseif _x == 2>>armpit<</if>>. <br>Do you:
<ul><li>warn people you have [[plague->Sickness]]</li>
<li>[[try to hide it ->Hide][$reputation to 0]]</li>
</ul>
<</if>>
<</nobr>>
<</widget>><<widget "highway">>
<<nobr>>
It's illegal to beg on the highways, but you wonder if you would have better luck there.
/* NTS: fix text here to influence choices */
<<if $money lte 2>>With little resources left, you have few choices.<<else>>You have some coins saved, but know resources may be scarce in the future.<</if>><br><br>
Do you:
<ul>
<<if not hasVisited("May 1665")>><li>[[put your trust in the charity of your neighbors->good-neighbors][$reputation +=1]]</li><</if>>
<li><<if random(1,3) == 1>>[[take a risk and pray that God will protect you from harm|impressed][$impressed += 1]]<<else>>[[take a risk and pray that God will protect you from harm->begging-success][$reputation -=1]]<</if>></li>
<li>[[hope that you can survive on the resources you have->survival-mode][$money to Math.clamp($money - 1, 0, 100)]]</li>
</ul>
<</nobr>>
<</widget>><<nobr>><<set $beggarsluck to random(0,5)>><<set $money = ($money + $beggarsluck)>>Your begging earned you <<if $beggarsluck eq 0>>0 coins.<<else>>''$beggarsluck'' coin.<br><br><</if>>
<<if $money lte 1>>Unfortunately, with no extra coins... /*NTS: more text here/consequences with no money*/
<<else>>Your coins allow you to purchase food or secure shelter, but at a cost to your reputation...<br><br><<set $reputation =-1>><</if>>
<<unset $beggarsluck>>
<<storyline-return>>
<</nobr>><<set $money = ($money + 1)>>Your neighbors provide ''1 coin'' for you.
<<storyline-return>><<widget "beggar-roles">><<nobr>>
<<if $disability is 0>> and the <span class="def" title="Two parish officials elected to administer to the needs of the poor in their parish. These positions were created by the Poor Relief Act of 1597.">Overseers of the Poor</span> have decided it will be your job to
<<if $gender is "male" or $gender is "nonbinary">><<set $role to "corpsebearer">>remove the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> corpses if anyone dies
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/Wilson_%22The_plague...%22%3B_a_corpses_bearer_Wellcome_L0016624.jpg" height="1274px" width="900px">
//Printed by R. Price, A corpse bearer; reproduction of an engraving from a series of London Cries, 1655. Wellcome Images//
<<elseif $gender is "female" and $reputation gt 5>><<set $role to "searcher">>look at the corpses and determine if they died of <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> or some other cause of death
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/67/Plague_in_1665_%28BM_1875%2C0508.1513%29.jpg" height="1600" width="880">
//Nathaniel Parr, published by Thomas Astley, Plague in 1665, 1747.//
<<else>><<set $role to "nurse">>nurse the sick and dying, despite the risk to your own life
<</if>>
<</if>>.
<<if $disability is 1>>Many of your neighbors begin to flee the city and those who remain curse at you to leave when you try begging at their doors.<</if>>
<</nobr>>
<</widget>>You quietly freeze to death, but at least it was a [[painless way to go->stats]].<<if $reputation gt 3>><span style="Your reputation is <span style="color:#ffffff;">good</span>.<<elseif $reputation lt 3>>Your reputation is <span style="color:red">bad</span><</if>><br>
<<income>>
/* Wealth at beginning of month: $money */
Income: $income
Monthly spending: $expenses
/* Disposable: _disposable */
/* Remaining total: _remainder */
<<set $money to _remainder>>
<<nobr>>
<<set _shillings to Math.floor($money/12)>><<set $pence to ($money - (_shillings*12))>>
<<if _shillings gte 20>>
<<set $pounds to Math.floor(_shillings/20)>><<set $shillings to (_shillings- Math.floor($pounds*20))>><</if>>
Total wealth: $money (£$pounds, $shillings s., $pence d.) <</if>>
<</if>>
<<link "Inventory">>
<<run Dialog.setup("Inventory", "inventory"); Dialog.wiki(Story.get("Inventory").text); Dialog.open()>>
<</link>>
Forgiveness is a Christian virtue and you are lucky that your neighbors practice it. You publicly apologize and are officially forgiven, though it will take a while longer before your reputation is restored.
<<storyline-return>>You are running low on resources and may need to take desparate measures.
<<storyline-return>>/* Quarantine Week 1*/
<<nobr>><<set $quarantine to 1>>
/* check which family members are currently infected */
<<silently>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>>
<</silently>>
<span id="plague-replace">
Your neighbors shut up the entrances to your house and paint a red cross with the words //Lord Have Mercy// on the front door.<br><br>
You have heard and read about different courses of treatment for the sick. <<hh-treatments>>
<<link "You tend to the sick and suffering.">><<replace "#plague-replace">>
<<silently>>
/* Check if player has used a helpful remedy to decrease chance of death */
<<for _s range _infectedFamily>>
<<if _remedyEffect is 1 and random(1,3) is 1>>
<<set $NPCs[_s].health to "deceased1">>
<<elseif _remedyEffect is 0 and random(1,2) is 1>>
<<set $NPCs[_s].health to "deceased1">>
<<else>>
<<set $NPCs[_s].health to "recovered1">>
<</if>>
<</for>>
/* Check for family members who died or recovered */
<<set _deceased = []>>
<<set _recovered = []>>
<<for _d, _household range $NPCs>>
<<if _household.health is "deceased1">><<set _deceased.push(_d)>>
<</if>>
<<if _household.health is "recovered1">><<set _recovered.push(_d)>>
<</if>>
<</for>>
/* Check for fumigants to prevent spread to household */
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if $fumes.Fancy.quantity gt 0 or $fumes.Generic.quantity gt 0 or $fumes.Incense.quantity gt 0 or $fumes.Incense.quantity gt 0>>
<<if random(1,4) is 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<<else>>
<<if random(1,2) is 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</if>>
<</for>>
/* check for fumigants to prevent spread to player */
<<if $fumes.Fancy.quantity gt 0 or $fumes.Generic.quantity gt 0 or $fumes.Incense.quantity gt 0 or $fumes.Purse.quantity gt 0>>
<<if random(1,4) is 1>><<set $plagueInfection to 1>>
<</if>>
<<else>>
<<if random(1,2) is 1>><<set $plagueInfection to 1>>
<</if>>
<</if>>
<</silently>>
/* reveal which family members have died or survived*/
<<if _deceased.length gt 0>>The week is full of sorrows. Despite your care, your
<<for _x, _d range _deceased>>
<<if _deceased.length eq 1>>$NPCs[_d].relationship, $NPCs[_d].name has died.
<<elseif _x < _deceased.length - 1>>$NPCs[_d].relationship, $NPCs[_d].name,
<<else>>and $NPCs[_d].relationship, $NPCs[_d].name have died.
<</if>>
<</for>>
<br><br>
<</if>>
/* show which family members recovered */
<<if _recovered.length gt 0>><<if _deceased.length gt 0>>There is some good news, though.<</if>> The treatments seem to be helping, and your
<<for _r, _d range _recovered>>
<<if _recovered.length eq 1>>$NPCs[_d].relationship, $NPCs[_d].name has started to recover from their illness.<br><br>
<<elseif _r < _recovered.length - 1>>$NPCs[_d].relationship, $NPCs[_d].name
<<else>>and $NPCs[_d].relationship, $NPCs[_d].name have started to recover from their illness.<br><br>
<</if>>
<</for>>
<</if>>
You must remain in <span class="def" title="A method of containing disease which involves keeping potentially infected people, animals, or goods contained and away from others for a sufficient period of time for the disease to manifest. The word comes from the Italian “quaranta” meaning 40 as the quarantine period for plague was 40 days.">quarantine</span> for at least three more weeks, however, and only time will tell if the disease has spread.
<br><br>
<<health-update>>
/* Check if player was infected, send to next passage depending */
<<if $plagueInfection is 1>>[[You pray that God does have mercy on your household as you continue to nurse the sick.->Sickness]]
<<else>>[[You pray that God does have mercy on your household as you continue to nurse the sick.->Quarantine, Week 2]]
<</if>>
<<fumigant>>
<</replace>>
<</link>>
</span>
<</nobr>><<nobr>>
/* check if any family members were infected the previous week */
<<silently>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>>
<</silently>>
<span id="plague-replace">
The first week was agony. The second is no better.<br><br>
/* reveal which family members are infected */
<<if _infectedFamily.length gt 0>>The illness has spread through your household and your
<<for _z, _y range _infectedFamily>>
<<if _infectedFamily.length eq 1>>$NPCs[_y].relationship $NPCs[_y].name is now infected.<br>
<<elseif _z < _infectedFamily.length - 1>>$NPCs[_y].relationship $NPCs[_y].name, <<else>>and $NPCs[_y].relationship $NPCs[_y].name are now infected.
<</if>>
<</for>>
/* call in widget showing treatment options if family members are infected */
<<hh-treatments>>
<<link "You tend to the sick and suffering.">><<replace "#plague-replace">>
<<silently>>
/* Check if player has used a helpful remedy to decrease chance of death */
<<for _s range _infectedFamily>>
<<if _remedyEffect is 1 and random(1,3) is 1>><<set $NPCs[_s].health to "deceased2">>
<<elseif _remedyEffect is 0 and random(1,2) is 1>><<set $NPCs[_s].health to "deceased2">>
<<else>><<set $NPCs[_s].health to "recovered2">>
<</if>>
<</for>>
/* Check for family members who died or recovered */
<<set _deceased = []>>
<<set _recovered = []>>
<<for _d, _household range $NPCs>>
<<if _household.health is "deceased2">><<set _deceased.push(_d)>>
<</if>>
<<if _household.health is "recovered2">><<set _recovered.push(_d)>>
<</if>>
<</for>>
/* Check for fumigants to prevent spread to household */
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if $fumes.Fancy.quantity gt 0 or $fumes.Generic.quantity gt 0 or $fumes.Incense.quantity gt 0 or $fumes.Incense.quantity gt 0>>
<<if random(1,4) is 1>><<set $NPCs[_i].health to "infected">><</if>>
<<else>>
<<if random(1,2) is 1>><<set $NPCs[_i].health to "infected">><</if>>
<</if>>
<</if>>
<</for>>
/* check for fumigants to prevent spread to player */
<<if $fumes.Fancy.quantity gt 0 or $fumes.Generic.quantity gt 0 or $fumes.Incense.quantity gt 0 or $fumes.Purse.quantity gt 0>>
<<if random(1,4) is 1>><<set $plagueInfection to 1>><</if>>
<<else>>
<<if random(1,2) is 1>><<set $plagueInfection to 1>><</if>>
<</if>>
<</silently>>
/* reveal which family members have died or survived*/
<<if _deceased.length gt 0>>Despite your care, your
<<for _x, _d range _deceased>>
<<if _deceased.length eq 1>> $NPCs[_d].relationship $NPCs[_d].name has died.<<elseif _x < _deceased.length - 1>> $NPCs[_d].relationship $NPCs[_d].name,<<else>>and $NPCs[_d].relationship $NPCs[_d].name have died.
<</if>>
<</for>>
<br><br>
<</if>>
/* show which family members recovered */
<<if _recovered.length gt 0>>
<<if _deceased.length gt 0>>There is some good news, though. <</if>>The treatments seem to be helping, and your
<<for _r, _d range _recovered>>
<<if _recovered.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has started to recover from their illness.<<elseif _r < _recovered.length - 1>>$NPCs[_d].relationship $NPCs[_d].name<<else>>and $NPCs[_d].relationship $NPCs[_d].name have started to recover from their illness.
<</if>>
<</for>>
<br><br>
<</if>>
You must remain in <span class="def" title="A method of containing disease which involves keeping potentially infected people, animals, or goods contained and away from others for a sufficient period of time for the disease to manifest. The word comes from the Italian “quaranta” meaning 40 as the quarantine period for plague was 40 days.">quarantine</span> for at least two more weeks, however, and only time will tell if the disease has spread.
/* Check if player was infected, send to next passage depending */
<<if $plagueInfection is 1>>[[You fear more of your family will die. You are even more afraid you will fall ill next.->Sickness]]
<<else>>[[You fear more of your family will die. You are even more afraid you will fall ill next.->Quarantine, Week 3]]
<</if>>
<<fumigant>>
<<health-update>>
<</replace>>
<</link>>
<<else>>
<<if _recovered.length gt 0>>Although the sick have started to recover, you<<else>>You must also remain in <span class="def" title="A method of containing disease which involves keeping potentially infected people, animals, or goods contained and away from others for a sufficient period of time for the disease to manifest. The word comes from the Italian “quaranta” meaning 40 as the quarantine period for plague was 40 days.">quarantine</span> for at least two more weeks, and [[only time will tell if the disease has spread.->Quarantine, Week 3]]<</if>>
<<health-update>>
<<fumigant>>
<</if>>
</span>
<</nobr>><<nobr>>
/* check if any family members were infected the previous week */
<<silently>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>>
<</silently>>
<span id="plague-replace">
As you enter the third week of <span class="def" title="A method of containing disease which involves keeping potentially infected people, animals, or goods contained and away from others for a sufficient period of time for the disease to manifest. The word comes from the Italian “quaranta” meaning 40 as the quarantine period for plague was 40 days.">quarantine</span>, even the smallest glimmer of hope is a welcome relief.<br><br>
<<if _infectedFamily.length eq 0>>While the recovery process is slow for those who were ill, the infection does not seem to have spread any further.
You must also remain in quarantine for at least two more weeks, and [[only time will tell if the plague will claim more.->Quarantine, Week 3]]
<<health-update>>
<<else>> Unfortunately, the illness has continued to spread through your household, and your
<<for _z, _y range _infectedFamily>>
<<if _infectedFamily.length eq 1>>$NPCs[_y].relationship $NPCs[_y].name is now infected.<br>
<<elseif _z < _infectedFamily.length - 1>>$NPCs[_y].relationship $NPCs[_y].name, <<else>>and $NPCs[_y].relationship $NPCs[_y].name are now infected.
<</if>>
<</for>>
/* call in widget showing treatment options if family members are infected */
<<hh-treatments>>
<<link "You tend to the sick and suffering.">><<replace "#plague-replace">>
<<silently>>
/* Check if player has used a helpful remedy to decrease chance of death */
<<for _s range _infectedFamily>>
<<if _remedyEffect is 1 and random(1,3) is 1>><<set $NPCs[_s].health to "deceased3">>
<<elseif _remedyEffect is 0 and random(1,2) is 1>><<set $NPCs[_s].health to "deceased3">>
<<else>><<set $NPCs[_s].health to "recovered3">>
<</if>>
<</for>>
/* Check for family members who died or recovered */
<<set _deceased = []>>
<<set _recovered = []>>
<<for _d, _household range $NPCs>>
<<if _household.health is "deceased3">><<set _deceased.push(_d)>>
<</if>>
<<if _household.health is "recovered3">><<set _recovered.push(_d)>>
<</if>>
<</for>>
/* Check for fumigants to prevent spread to household */
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if _fumes gt 0 and random(1,4) eq 1>><<set $NPCs[_i].health to "infected">>
<<elseif _fumes lt 1 and random(1,2) eq 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
/* check for fumigants to prevent spread to player */
<<if _fumes gt 0 and random(1,4) is 1>><<set $plagueInfection to 1>>
<<elseif _fumes lt 1 and random(1,2) is 1>><<set $plagueInfection to 1>>
<</if>>
<</silently>>
/* reveal which family members have died or survived*/
<<if _deceased.length gt 0>>Despite your care, your
<<for _x, _d range _deceased>>
<<if _deceased.length eq 1>> $NPCs[_d].relationship $NPCs[_d].name has died.<<elseif _x < _deceased.length - 1>> $NPCs[_d].relationship $NPCs[_d].name,<<else>>and $NPCs[_d].relationship $NPCs[_d].name have died.
<</if>>
<</for>>
<br><br>
<</if>>
/* show which family members recovered */
<<if _recovered.length gt 0>>
<<if _deceased.length gt 0>>There is some good news, though. <</if>>The treatments seem to be helping, and your
<<for _r, _d range _recovered>>
<<if _recovered.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has started to recover from their illness.<<elseif _r < _recovered.length - 1>>$NPCs[_d].relationship $NPCs[_d].name<<else>>and $NPCs[_d].relationship $NPCs[_d].name have started to recover from their illness.
<</if>>
<</for>>
<br><br>
<</if>>
/*NTS: fix text here!*/
You wonder what has been taking place in the outside world and hope for even a small bit of news as you enter the final weeks of quarantine.
/* Check if player was infected, send to next passage depending */
<<if $plagueInfection is 1>>[[The days continue to pass with agonizing slowness.->Sickness]]
<<else>>[[The days continue to pass with agonizing slowness.->Quarantine, Week 4]]
<</if>>
<<fumigant>>
<<health-update>>
<</replace>>
<</link>>
<</if>>
</span>
<</nobr>><<nobr>>
/* check if any family members were infected the previous week */
<<silently>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>>
<</silently>>
/*NTS: fix text here */
After nearly a month in <span class="def" title="A method of containing disease which involves keeping potentially infected people, animals, or goods contained and away from others for a sufficient period of time for the disease to manifest. The word comes from the Italian “quaranta” meaning 40 as the quarantine period for plague was 40 days.">quarantine</span>, you begin to believe you might survive this.
/* reveal which family members are infected */
<<if _infectedFamily.length gt 0>>Unfortunately, even more members of your household have fallen ill. Your
<<for _z, _y range _infectedFamily>>
<<if _infectedFamily.length eq 1>>$NPCs[_y].relationship $NPCs[_y].name is now infected.<br>
<<elseif _z < _infectedFamily.length - 1>>$NPCs[_y].relationship $NPCs[_y].name, <<else>>and $NPCs[_y].relationship $NPCs[_y].name are now infected.
<</if>>
<</for>>
<</if>>
/* if more family members were infected, offer treatment options & run death recovery & spread code */
<<if _infectedFamily.length gt 0>>
/* call in widget showing treatment options if family members are infected */
<<hh-treatments>>
<<linkappend "You continue to tend to the sick and suffering.">><br><br>
<<silently>>
/* check if you used a remedy, determine if sick family recovers or dies */
<<for _s range _infectedFamily>>
<<if _remedyEffect is 1 and random(1,3) is 1>><<set $NPCs[_s].health to "deceased4">>
<<elseif _remedyEffect is 0 and random(1,2) is 1>><<set $NPCs[_s].health to "deceased4">>
<<else>><<set $NPCs[_s].health to "recovered4">>
<</if>>
<</for>>
/* Check for family members who died or recovered */
<<set _deceased = []>>
<<set _recovered = []>>
<<for _d, _household range $NPCs>>
<<if _household.health is "deceased4">><<set _deceased.push(_d)>>
<</if>>
<<if _household.health is "recovered4">><<set _recovered.push(_d)>>
<</if>>
<</for>>
/* Check for fumigants to prevent spread to household */
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if _fumes gt 0 and random(1,4) eq 1>><<set $NPCs[_i].health to "infected">>
<<elseif _fumes lt 1 and random(1,2) eq 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
/* check for fumigants to prevent spread to player */
<<if _fumes gt 0 and random(1,4) is 1>><<set $plagueInfection to 1>>
<<elseif _fumes lt 1 and random(1,2) is 1>><<set $plagueInfection to 1>>
<</if>>
<</silently>>
/* reveal which family members have died or survived*/
/* NTS: update text here for variety from past weeks */
<<if _deceased.length gt 0>>Despite your care, your
<<for _x, _d range _deceased>>
<<if _deceased.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has died.<<elseif _x < deceased4.length - 1>>$NPCs[_d].relationship $NPCs[_d].name,<<else>>and $NPCs[_d].relationship $NPCs[_d].name have died.
<</if>>
<</for>>
<br><br>
<</if>>
/* show which family members recovered */
<<if _recovered4.length gt 0>><<if _deceased4.length gt 0>>There is some good news, though. <</if>>The treatments seem to be helping, and your
<<for _r, _d range _recovered>>
<<if _recovered.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has started to recover from their illness.
<<elseif _r < _recovered.length - 1>>$NPCs[_d].relationship $NPCs[_d].name
<<else>>and $NPCs[_d].name have started to recover from their illness.
<</if>>
<</for>>
<br><br>
<</if>>
/* Check if player or additional family were infected, send to next passage depending */
<<silently>><<unset _infectedFamily>><<unset _household>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>><</silently>>
<<if $plagueInfection is 1>>[[You wonder what has happened while you were away from the world.->Sickness]]
<<elseif _infectedFamily.length gt 0>>[[You wonder what has been happening while you are away from the world.->Quarantine, Week 5]]
<<else>>[[You wonder what has happened while you were away from the world.->Reconnecting]]
<</if>>
<<fumigant>>
<<health-update>>
<</linkappend>>
<<else>> The infection seems to have burned itself out, and you can now focus on the recovery of those who survived.<br><br>
[[You wonder what has been happening while you were away from the world.->Reconnecting]]
<<fumigant>>
<<health-update>>
<</if>>
<</nobr>><<nobr>>
<<if $socio is "nobles">>You<<if $age is "child" or $age is "adolescent">> convince your family to<<else>> have decided to<</if>> ''flee to your country estate''.
<<elseif $socio is "servants">>
Your master flees London with you and the rest of your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span>. You have only a little time to prepare and say goodbye to your friends before you leave.<br>
<<elseif $socio is "beggars" and $fled is 2>>You<<if $age is "child" or $age is "adolescent">> convince your family <<else>> decide <</if>>to flee the city to save yourself. Unfortunately, with no money and no reputation to speak of anymore, you only have the option of illegally begging along the road to survive./*note this conditional includes servants who flee their masters*/
<<else>>You decide to flee the city<<if $origin isnot "London" and $origin isnot "somewhere else">> and return to $origin<<elseif $origin is "somewhere else">>and return to your homeland<</if>>.<br><br><</if>>
Despite being safely out of harm's way, you closely follow the news of London's <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> outbreak. As the death toll rises, you worry about the people you know back in the city but are relieved that you are out of harm's way.<br><br>
In fact, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> are determined to stay away:
<ul>
<li>[[until the end of the summer, when plague death should start coming down again->Summer 1665]]</li>
<li>[[until the winter, when plague typically goes away->Winter 1665]]</li>
<li>[[until the King and his court decide it's safe to return to the city->court-return]]</li>
<li>[[until the official Day of Thanksgiving for the end of the plague outbreak->official-end]]</li>
<li>[[until there are no more plague deaths in London->no-plague]]</li>
<li>[[for good->go quietly]]</li>
</ul>
<</nobr>>/* call in this widget to give some players a chance to leave after the first appearance of plague */
<<widget "late-departure">>
<<nobr>>
test here!
/* Day Labourer Choice */
/* NTS: might need text here or elsewhere about why you'd leave/send away family: work? money? */
<<if $socio is "day labourers" and $origin isnot "London">>
It's also not too late to
<<if $hoh is 0 and $NPCs.length gt 0>>try and convince your family to [[flee the city and return to your home land.->Fled][$fled to 6]]
<<elseif $fled is 5>>[[flee the city and join your family back in your home land.->Fled][$fled to 6]]
<<elseif $fled is 4>>
<<if $NPCs.length gt 0>>[[send your family back to your home land without you->Stay][$fled to 5]], or [[flee the city with your family.->Fled][$fled to 6]]
<<else>>[[flee the city and return to your homeland.->Fled][$fled to 6]]
<</if>>
<</if>>
<</if>>
/* Servant choice */
<<if $socio is "servants">>
It's also not too late to
<<if $hoh is 0 and $NPCs.length gt 0>>try to convince your family to <</if>>[[flee the city, even though your master has chosen to stay.->Fled][$fled to 2]]
<</if>>
/* Artisans choice */
<<if $socio is "artisans">>
It's also not too late to
<<if $reputation gt 5>>
<<if $fled is 4>>
<<if $hoh is 0 and $NPCs.length gt 0>>try to convince your family to <</if>>[[flee the city with your household and head to the countryside->Fled][$fled to 6; $reputation to Math.clamp($reputation - 1, 0, 10); $money -= 1120]], or [[send the rest of your household away while you remain behind.->Stay][$fled to 5; $money -= 560]]
<<elseif $fled is 5>>[[join the rest of your household in the countryside->Fled][$fled to 6; $money -= 560; $reputation to Math.clamp($reputation - 1, 0, 10)]]
<<elseif $fled is 7>>[[try to flee again, hoping your reputation has improved enough since your last attempt to seek help->Fled][$fled to 6; $money -= 560; $reputation to Math.clamp($reputation - 1, 0, 10)]]
<</if>>
<<else>>
<<if random(1,2) eq 1>>[[flee the city with your entire household->Fled][$reputation to Math.clamp($reputation - 1, 0, 10); $fled to 6; $money -= 1120]]<<else>>[[Flee the city with your entire household.->Failed-Flight][$reputation to Math.clamp($reputation - 1, 0, 10); $fled to 7; $money -= 1120]]
<</if>>
<</if>>
<</if>>
/* Merchant's choice */
<<if $socio is "merchants">>
It's also not too late to <<if $hoh is 0 and $NPCs.length gt 0>>try and convince your family to <</if>>[[flee to the countryside with your household->Fled][$fled to 6; $money -= 1600; $reputation to Math.clamp($reputation - 1, 0, 10)]]
<</if>>
/* Noble's choice */
<<if $socio is "nobles">>
It's also not too late to <<if $hoh is 0 and $NPCs.length gt 0>>try and convince your family to <</if>>[[flee to the countryside with your household->Fled][$fled to 6; $money -= 10000; $reputation to Math.clamp($reputation - 1, 0, 10)]]
<</if>>
<</nobr>>
<</widget>>
/* send players back to the right passage depending on when plague hits */
<<widget "first-plague-day-continue">>
<<if $location is "in another part of the western suburbs">>[[You know that plague only grows worse as the weather warms, and you dread the coming of June and the first real heat of summer.->June 1665]]
<<elseif $location is "inside the City walls">>[[Continue to August 1665->August 1665]]
<<else>>[[Continue to July 1665->July 1665]]
<</if>>
<</widget>>You help your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> to pack up and leave the city for safety. You promise to meet them should the situation grow worse.
<<storyline-return>><<widget "no-plague-yet">>
<<nobr>>
Luckily, there are no plague cases in your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span>... yet.
/* Beggar story */
<<if $socio is "beggars">>But your neighbors are no longer willing to give you food or money when you come begging to their doors.<br>
<<highway>>
<</if>>
/*Day Labourer*/
<<if $socio is "day labourers">>Many people are beginning to remove their goods to the countryside, though, which makes extra opportunities for you to earn money. /* NTS: Navy passage options? Other options for accepting work? */
<</if>>
/* Servants */
<<if $socio is "servants">>You anxiously await your master's decision about whether the <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> will flee or stay.
<</if>>
/* Artisans */
<<if $socio is "artisans">>You will soon need to decide if you want to flee or at least send the rest of your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> away before things get worse.
<</if>>
/* Merchants */
<<if $socio is "merchants">>You will soon need to decide if you want to flee or at least send the rest of your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> away before things get worse.
<</if>>
/* Nobles */
<<if $socio is "nobles">>You will soon need to decide if it is worth the risk of staying in London, near enough to visit the Court regularly, or if you or your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> should flee before things get worse.
<</if>>
<</nobr>>
<</widget>><!-- SIDEBAR -->
<div id="sidebar">
<div class="sidebar-header">
<!-- EMPTY DIV -->
<div></div>
<!-- NAME OF YOUR GAME -->
<h1 class="story-title" data-passage="gameTitle"></h1>
<!-- MENU TOGGLE ICON -->
<div class="sidebar-toggle">
<span id="sidebar-toggle-icon" class="lnr lnr-menu-circle" style="color: white;"></span>
</div>
</div>
<!-- HISTORY BUTTONS THAT ALLOW USER TO GO BACKWARDS AND FORWARDS -->
<!-- COMMENT THESE OUT IF YOU DON'T WANT THEM IN YOUR GAME -->
<div class="sidebar-history-nav">
<span id="backwards-button" class="lnr lnr-arrow-left" style="color: white;"></span>
<span id="forwards-button" class="lnr lnr-arrow-right" style="color: white;"></span>
</div>
<div id="sidebar-body">
<!-- GAME LOGO IMAGE --><br>
<div class="story-logo" data-passage="storyLogo"></div>
<!-- AUTHOR NAME -->
<h2 class="story-author" data-passage="storyAuthor"></h2>
<nav class="sidebar-nav">
<ul class="story-tools">
<li>
<span id="restart-button" class="lnr lnr-redo" style="color: white;"></span>
<span class="tooltiptext">Restart</span>
</li>
<li>
<span id="saves-button" class="lnr lnr-download" style="color: white;"></span>
<span class="tooltiptext">Saves</span>
</li>
<li>
<span id="settings-button" class="lnr lnr-cog" style="color: white;"></span>
<span class="tooltiptext">Settings</span>
</li>
</ul>
<ul class="story-menu" data-passage="storyMenu">
</ul>
</nav>
<nav id="social-media">
<!-- Social Media -->
<!-- <<socialMedia>> -->
</nav>
</div> <!-- SIDEBAR-BODY END TAG -->
</div> <!-- SIDEBAR END TAG -->
<div id="mystory" role="main">
<div id="passages">
<div id="passage-start" data-passage="start" class="passage">
</div>
</div>
</div><<widget "plague-work">>
<<nobr>>
<<if $socio is "beggars">>
<<if $role is "corpsebearer">>As a corpsebearer, every night, you must go round to the locked up houses of your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> and call for them to bring out their dead, while praying to God that you remain safe.
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/Wilson_%22The_plague...%22%3B_a_corpses_bearer_Wellcome_L0016624.jpg" height="1274px" width="900px">
//Printed by R. Price, A corpse bearer; reproduction of an engraving from a series of London Cries, 1655. Wellcome Images//
<<elseif $role is "searcher">>As a searcher, every time you are called to someone's house to determine a cause of death, you pray to God to protect you. You are starting to have nightmares about seeing <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> and the tokens of <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> on your neighbors.
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/67/Plague_in_1665_%28BM_1875%2C0508.1513%29.jpg" height="1600" width="880">
//Nathaniel Parr, published by Thomas Astley, Plague in 1665, 1747.//
<<elseif $role is "nurse">>The <span class="def" title="Two parish officials elected to administer to the needs of the poor in their parish. These positions were created by the Poor Relief Act of 1597.">Overseers of the Poor</span> assign you to your first <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> patient to nurse.
<</if>>
<<elseif $socio is "servants">> (NTS: work text here)
<<elseif $socio is "day labourers">>
<<if $role is "corpsebearer">>Every night, you go round to the locked up houses of your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish and call for them to bring out their dead, while praying to God that you remain safe.
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/7/7a/Wilson_%22The_plague...%22%3B_a_corpses_bearer_Wellcome_L0016624.jpg" height="1274px" width="900px">
//Printed by R. Price, A corpse bearer; reproduction of an engraving from a series of London Cries, 1655. Wellcome Images//
<<elseif $role is "searcher">>Every time you are called to someone's house to determine a cause of death, you pray to God to protect you. You are starting to have nightmares about seeing <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> and the tokens of <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> on your neighbors.
<br>
<img src="https://upload.wikimedia.org/wikipedia/commons/6/67/Plague_in_1665_%28BM_1875%2C0508.1513%29.jpg" height="1600" width="880">
//Nathaniel Parr, published by Thomas Astley, Plague in 1665, 1747.//
<<elseif $role is "nurse">><span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">Parish</span> officials tell you there is a patient for you to nurse.
<</if>>
<<elseif $socio is "artisans">> (work text here)
<<elseif $socio is "merchants">> (work text here)
<</nobr>>
<</widget>><a href="https://rrchnm.org/" target="_blank"><img src="https://avatars.githubusercontent.com/u/296531?s=280&v=4" height="50px"></a>Gaming the Great Plague<a href="https://rrchnm.org/">RRCHNM</a><<nobr>><div class="status-box"><<if $reputation gte 9>><div class="rep-best">''Reputation:'' <br> a worthy soul</div><<elseif $reputation gte 6 and $reputation lte 8>><div class="rep-good">''Reputation:''<br>of good credit and quality</div><<elseif $reputation gte 3 and $reputation lte 5>><div class="rep-poor">''Reputation:''<br>bad credit is better than none</div><<elseif $reputation lte 2>><div class="rep-worst">''Reputation:''<br>a worthless and base rogue</div><</if>></div><br>
<div class="status-box"><div class="income"><span class="def" title="The amount of money you have left after paying your living expenses. Converted to pounds, shilling, and pence.">Disposable Income</span>:<br> /* @@#money; <<= $money>> @@ */ @@ #conversion; <<conversion>> @@</div></div>
<!-- PLACE LINKS TO YOUR MENU BELOW, BUT REMEMBER TO WRAP IN <LI> TAGS -->
<<if not tags().includes("quarantine")>><<if visited("First Plague Day")>><li>[[Apothecary]]</li><</if>><</if>>
<li><<link "Inventory">>
<<run Dialog.setup("Inventory", "inventory"); Dialog.wiki(Story.get("Inventory").text); Dialog.open()>>
<</link>></li>
<li><<link "Household Status">>
<<run Dialog.setup("Household", "household"); Dialog.wiki(Story.get("Household Status").text); Dialog.open()>>
<</link>></li>
<</nobr>>Player stats:
<ul><li>Name: $name</li>
<li>Age: $age</li>
<li>Social class: $socio</li>
<li>Location: $location</li>
</ul>
<<ListNPCs>>
<!-- IMPORTANT! INCLUDE THE CODE BELOW ON ALL STAT PAGES TO MAKE SURE THE LINK RETURNS THE USER TO THE LAST PASSAGE. IF YOU USE A NORMAL RETURN LINK IT WILL SIMPLY LOOP -->Your stats go here..
<!-- IMPORTAN! INCLUDE THE CODE BELOW ON ALL STAT PAGES TO MAKE SURE THE LINK RETURNS THE USER TO THE LAST PASSAGE. IF YOU USE A NORMAL RETURN LINK IT WILL SIMPLY LOOP -->
<center><<link "Return to game" $return>><</link>></center>/*Infection Program: determines rate of plague infection based on your location*/
<<widget "infection-program">>
<<if $location is "inside the City walls">><<include [[inside-city]]>>
<<elseif $location is "in another part of the western suburbs">><<include [[Western-infection]]>>
<<elseif $location is "in the western suburbs, specifically Westminster">><<include [[Westminster-infection]]>>
<<elseif $location is "in the eastern suburbs">><<include [[eastern-infection]]>>
<<elseif $location is "in the northern suburbs">><<include [[northern-infection]]>>
<<elseif $location is "across the river in the southern suburbs">><<include [[southern-infection]]>>
<</if>>
<</widget>>
<<widget "income">>
<<set _hhSize to $NPCs.length + 1>>
<<if $role is "unemployed">><<set $income to 0>>
<<elseif $socio is "beggars">><<set $income to 120>>
<<elseif $socio is "day labourers">><<set $income to 300>>
<<elseif $socio is "servants">><<set $income to 300>>
<<elseif $socio is "artisans">><<set $income to 800>>
<<elseif $socio is "merchants">><<set $income to 4000>>
<<elseif $socio is "nobles">><<set $income to 17600>>
<</if>>
<</widget>>
<<widget "expenses">>
<<set _hhSize to $NPCs.length + 1>>
<<if $socio is "beggars">><<set $expenses to 120>>
<<elseif $socio is "day labourers">><<set $expenses to 240>>
<<elseif $socio is "servants">><<set $expenses to 220>>
<<elseif $socio is "artisans">><<set $expenses to 560>>
<<elseif $socio is "merchants">><<set $expenses to 2800>>
<<elseif $socio is "nobles">><<set $expenses to 12800>>
<</if>><</widget>>
<<widget "disposable">><<nobr>><<silently>>
<<set _disposable to ($income - $expenses)>>
<<set $money to Math.clamp($money + _disposable, 0, 10000000)>>
<</silently>><</nobr>>
<</widget>>
<<widget "conversion">><<nobr>><<silently>>
<<set _shillings to Math.floor($money/12)>><<set _pence to ($money - (_shillings*12))>>
<<if _shillings gte 20>>
<<set _pounds to Math.floor(_shillings/20)>><<set _shillings to (_shillings - Math.floor(_pounds*20))>>
<<else>><<set _pounds to 0>><</if>><</silently>>
£_pounds, _shillings s., _pence p.<</nobr>><</widget>>
<<widget "money">><<nobr>>
<<set $money to Math.clamp($money + _args[0], 0, Infinity)>>
<<replace "#conversion">><<conversion>><</replace>><</nobr>>
<</widget>>
<<widget "buylink">>
<<set _item to _args[0]>>
<<set _amount to _args[1]>>
<<set _price to setup.prices.get(_item) || 1>>
<p @data-item="_item" class="buy-listing"><table>
<tr><th>Item</th><th>Number</th><th>Price</th><th>Buy</th></tr>
<tr><td>_item</td>
<td class="count">_amount</td>
<td>_price</td>
<td class="buy-link">
<<link "Buy">>
<<if $money < _price>>
<<run UI.alert("You don't have enough money!")>>
<<else>>
<<money `-1 * _price`>>
<<transfer $shop $player _item 1>>
<<set _amount -->>
<<if _amount > 0>>
<<replace `"p.buy-listing[data-item=\"" + _item + "\"] > .count"`>>_amount<</replace>>
<<else>>
<<remove `"p.buy-listing[data-item=\"" + _item + "\"]"`>>
<</if>>
<</if>>
<</link>>
</td></tr></table>
</p>
<</widget>><<nobr>><h2>Fumigants:</h2><br>
<table width=90%><th width=70%>Item</th><th width=30%>Quantity</th><<for _key range $fumes>>
<tr><td>_key.name</td><td> _key.quantity</td></tr>
<</for>>
</table><br><br>
<h2>Remedies</h2>
<table width=90%><th width=70%>Item</th><th width=30%>Quantity</th><<for _key range $remedies>>
<tr><td>_key.name</td><td> _key.quantity</td></tr>
<</for>>
</table>
<</nobr>><<nobr>>
<<silently>>
<<set _hhSize to $NPCs.length + 1>>
<<set _celestialPrice to _hhSize*36>>
<<set _treaclePrice to _hhSize*6>>
<<set _incensePrice to _hhSize*3>>
<<set _pursePrice to _hhSize*60>>
<<set _fancyfumesPrice to 192 >>
<<set _genericfumesPrice to 24>>
<</silently>>
The <span class="def" title="A person who prepares and sells drugs for medicinal purposes. Also the shop where such activities take place">apothecary</span> sells items that may help your family avoid illness. For the <span class="def" title=
A medicine or treatment meant to promote healing or alleviate symptoms for a disease, disorder, or injury.">remedies</span> to be effective, however, you must purchase enough for all members of your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span>. The effects are also limited and must be used constantly for prevention.<br>
<table style="width:100%">
<tr><th style="width:40%">Item</th><th style="width:20%">Price</th><th style width="20%">Have (per person/month's supply)</th><th style="width:20%">Purchase </th></tr>
<tr><h3>Preventative Medicines</h3></tr>
<tr>
<td>
<<link "Celestial Water">>
<<run Dialog.setup("Celestial Water"); Dialog.wiki("Take every morning to prevent catching plague, as many drops as desired stirred into broth, posset, or half a glass of white wine. One month's dose."); Dialog.open()>>
<</link>>
</td>
<td>_celestialPrice</td>
<td>$remedies.Celestial.quantity</td>
<td>
<<if $money gte _celestialPrice>>
<<link "Buy">><<money `-1 * _celestialPrice`>>
<<set $remedies.Celestial.quantity +=1>><<run Engine.show()>>
<</link>><<else>>You don't have enough to buy this.
<</if>>
</td>
</tr>
<tr><td><<link "London Treacle">><<run Dialog.setup("London Treacle"); Dialog.wiki("A restorative drink that may help prevent plague infection"); Dialog.open()>><</link>></td><td>_treaclePrice</td><td>$remedies.Treacle.quantity</td>
<td id="treacle">
<<if $money gte _treaclePrice>><<link "Buy">><<money `-1 * _treaclePrice`>><<set $remedies.Treacle.quantity += 1>><<run Engine.show()>><</link>><<else>>You don't have enough to buy this.<</if>></td></tr>
<tr><h3>Fumigants</h3></tr>
<tr><td><<link "A purse of incense">><<run Dialog.setup("Incense Purse"); Dialog.wiki("A purse of incense to be worn around your neck to prevent catching plague. Must be re-incensed regularly. One month's supply."); Dialog.open()>><</link>></td><td>_pursePrice</td><td>$fumes.Purse.quantity</td><td><<if $money gte _pursePrice>><<link "Buy">><<money `-1 * _pursePrice`>><<set $fumes.Purse.quantity +=1>><<run Engine.show()>><</link>><<else>>You don't have enough to buy this.<</if>></td></tr>
<tr><td><<link "St. Giles Powder">><<run Dialog.setup("St. Giles Powder"); Dialog.wiki("Fumigates your home with a pleasant-smelling substance. Burn 1 tsp twice each day as a preventative; burn 1 tsp 4-5 times each day in infected homes. One month's supply."); Dialog.open()>><</link>></td><td>_fancyfumesPrice</td><td>$fumes.Fancy.quantity</td><td id="fancy"><<if $money gte _fancyfumesPrice>><<link "Buy">><<money `-1 * _fancyfumesPrice`>><<set $fumes.Fancy.quantity += 1>><<run Engine.show()>><</link>><<else>>You don't have enough to buy this.<</if>></td></tr>
<tr><td><<link "Cheap Fumigants">><<run Dialog.setup("Cheap Fumigation"); Dialog.wiki("Fumigates your home with brimstone, saltpeter, and a little myrrh. The myrrh does little to cover the sulfuric smell. Burn 1 tsp twice daily as a preventative; burn 1 tsp 4-5 times each day in infected homes. One month's supply."); Dialog.open()>><</link>></td><td>_genericfumesPrice</td><td>$fumes.Generic.quantity</td><td><<if $money gte _genericfumesPrice>><<link "Buy">><<money `-1 * _genericfumesPrice`>><<set $fumes.Generic.quantity += 1>><<run Engine.show()>><</link>><<else>>You don't have enough to buy this.<</if>></td></tr>
</table><br>
Remaining money: $money<br>
<<return>>
<</nobr>>
<img src="https://iiif.wellcomecollection.org/image/L0064305/full/760%2C/0/default.jpg"><<widget "preventative">><<nobr>>
<ul><li><span id="church"><<link "Go to church and pray often">><<set $reputation +=1>><<replace #church>>You go to church and pray regularly through the month. Others admire your piety in the face of such a grave situation!<</replace>><</link>></span></li>
<li><span id="eat"><<link "Avoid eating berries, cabbage, cucumbers, melon, and spinach.">><<replace #eat>>You avoid eating berries, cabbage, cucumbers, melons, and spinach. Your neighbors swear by it!<</replace>><</link>></span></li></ul>
<</nobr>>
<</widget>>
<<widget "player-treatments">>
<<nobr>>
/* NTS: change nurse details based on family/class/rep */
A member of your family/nurse/household offer you some remedies to help ease your suffering and, hopefully, prevent your death. You:
<<set _remedyEffect to 0>>
<ul>
<li><<linkreplace "accept a purgative drink">>You are offered a <span class="def" title="A medicine which causes emptying of the bowels, a laxative.">purgative</span> drink, which induces vomiting. It's incredibly unpleasant.<</linkreplace>></li>
<li><<if $remedies.Plaster.quantity gt 0>><<linkreplace "apply a plaster to the plague buboes for one week">><<set _remedyEffect to 1>><<set $remedies.Plaster.quantity -= 1>>Your plague <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> are covered with a <span class="def" title="A hot, wet paste spread on leather which is then applied to infected areas of the skin such as buboes. The paste hardens and should rupture the buboes to enable them to drain. This plaster was usually made of either Mithridatium or Galene and was applied three times daily.">blistering plaster</span>, especially those around the ears, armpits, and groin. The plaster is left on half the day, which can break the buboes and draw out the <span class="def" title="A substance that is evil in nature and effects; baleful, harmful, gravely injurious">malignity</span>. Once broken open, your nurse applies another plaster to keep the buboes draining.<</linkreplace>><<elseif $money gt $remedies.Plaster.cost*21>><<linkreplace "purchase one week's worth of a blistering plaster for your plague buboes">>Your plague <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> are covered with a <span class="def" title="A hot, wet paste spread on leather which is then applied to infected areas of the skin such as buboes. The paste hardens and should rupture the buboes to enable them to drain. This plaster was usually made of either Mithridatium or Galene and was applied three times daily.">blistering plaster</span>, especially those around the ears, armpits, and groin. The plaster is left on half the day, which can break the buboes and draw out the <span class="def" title="A substance that is evil in nature and effects; baleful, harmful, gravely injurious">malignity</span>. Once broken open, your nurse applies another plaster to keep the buboes draining.<<set _remedyEffect to 1>><<money `-1 * $remedies.Plaster.cost*21`>><</linkreplace>><</if>></li>
<li><<if $remedies.Cordial.quantity gt 0>><<linkreplace "drink a cordial tincture for the first two days of your illness">><<set $remedies.Cordial.quantity -= 1>>Twice a day, you are given a dose of <span class="def" title="Literally, a beneficial medicine. In this specific case, a reference to a proprietary medicinal blend advertised by John Belson, Esquire, in 1665 during the London plague outbreak.">tincture</span>. After each dose, you are heavily covered for 3 hours to induce sweating, then wiped down with hot napkins.<</linkreplace>><<elseif $money gt $remedies.Cordial.cost*4>><<linkreplace "purchase and drink a cordial tincture for the first two days of your illness">>Twice a day, you are given a dose of <span class="def" title="Literally, a beneficial medicine. In this specific case, a reference to a proprietary medicinal blend advertised by John Belson, Esquire, in 1665 during the London plague outbreak.">tincture</span>. After each dose, you are heavily covered for 3 hours to induce sweating, then wiped down with hot napkins.<<money `-1 * $remedies.Cordial.cost*4`>><</linkreplace>><</if>></li>
<li><<if $remedies.Treacle.quantity gt 0>><<linkreplace "drink a posset of London Treacle for the first few days of illness">>You are given London Treacle dissolved in spoonfulls of warm vinegar, and drink 1/4 pint of this for the first few days of your illness.<<set $remedies.Treacle.quantity -= 1>><</linkreplace>><<elseif $money gt $remedies.Treacle.cost*16>><<linkreplace "purchase and drink a posset of London Treacle for the first few days of illness">>You are given <span class="def" title="A hot drink made of milk curdled with wine or ale, often including spices, which was often used as a remedy. After the 16th century, the milk was usually curdled using lemon juice rather than wine, and might be thickened with bread crumbs. During the plague outbreak, medical quacks sold London treacle, which could be added to the posset drink to further thicken it. London treacle was a compound of walnut, rue, salt, and fig.">London Treacle</span> dissolved in spoonfulls of warm vinegar, and drink 1/4 pint of this for the first few days of your illness.<<money `-1 * $remedies.Treacle.cost*16`>><</linkreplace>><</if>></li>
<li><<linkreplace "use a suppository">>You use a homemade <span class="def" title="A type of medical application which involves inserting a small bundle of medicine into any bodily orifice other than the mouth. The medicine was intended to soften or turn liquid at body temperature, which would help with spreading it throughout the body">suppository</span> of a fig filled with salt. It's unclear how this helps.<</linkreplace>></li>
<<if $remedies.Treacle.quantity gt 0>><<li>><<linkreplace "take an anti-diarrheal">>You drink some extra <span class="def" title="A hot drink made of milk curdled with wine or ale, often including spices, which was often used as a remedy. After the 16th century, the milk was usually curdled using lemon juice rather than wine, and might be thickened with bread crumbs. During the plague outbreak, medical quacks sold London treacle, which could be added to the posset drink to further thicken it.">posset</span> mixed with herbs like plantain, sorrel, or knot grass.<</linkreplace>></li><</if>>
</ul>
<</nobr>>
<</widget>>
<<widget "hh-treatments">>
<<nobr>><<silently>><<set _plasterQuantity to _infectedFamily.length*21>><<set _treacleQuantity to _infectedFamily.length*16>><<set _cordialQuantity to _infectedFamily.length*4>><</silently>>
/* NTS: change nurse details based on family/class/rep */
You have some <span class="def" title="A medicine or treatment meant to promote healing or alleviate symptoms for a disease, disorder, or injury">remedies</span> on hand in your household, and may be able to purchase others from the <span class="def" title="A person who prepares and sells drugs for medicinal purposes. Also the shop where such activities take place">apothecary</span>, through the good charity of your neighbors.
<<set _remedyEffect to 0>>
<ul>
<li><<linkreplace "offer a purgative drink">>You offer the sick a <span class="def" title="A medicine which causes emptying of the bowels, a laxative">purgative</span> drink, which induces vomiting. It's incredibly unpleasant.<</linkreplace>></li>
<li><<if $remedies.Plaster.quantity gt _plasterQuantity>><<linkreplace "apply a plaster to the plague buboes for one week">><<set _remedyEffect to 1>><<set $remedies.Plaster.quantity -= _plasterQuantity>>You apply a <span class="def" title="A hot, wet paste spread on leather which is then applied to infected areas of the skin such as buboes. The paste hardens and should rupture the buboes to enable them to drain. This plaster was usually made of either Mithridatium or Galene and was applied three times daily.">blistering plaster</span> to the plague <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> on the infected, especially those around the ears, armpits, and groin. If left on half the day, the plaster can break the buboes and draw out the <span class="def" title="A substance that is evil in nature and effects; baleful, harmful, gravely injurious">malignity</span>. Once broken open, you can apply another plaster to keep the buboe draining. If the buboes do not break, you may need to lance them.<</linkreplace>><<elseif $money gt $remedies.Plaster.cost*_plasterQuantity>><<linkreplace "purchase one week's worth of a blistering plaster for the plague buboes">>You apply a <span class="def" title="A hot, wet paste spread on leather which is then applied to infected areas of the skin such as buboes. The paste hardens and should rupture the buboes to enable them to drain. This plaster was usually made of either Mithridatium or Galene and was applied three times daily.">blistering plaster</span> to the plague <span class="def" title="Painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">buboes</span> on the infected, especially those around the ears, armpits, and groin. If left on half the day, the plaster can break the buboes and draw out the <span class="def" title="A substance that is evil in nature and effects; baleful, harmful, gravely injurious">malignity</span>. Once broken open, you can apply another plaster to keep the buboe draining. If the buboes do not break, you may need to lance them.<<set _remedyEffect to 1>><<money `-1 * $remedies.Plaster.cost*_plasterQuantity`>><</linkreplace>><</if>></li>
<li><<if $remedies.Cordial.quantity gt _cordialQuantity>><<linkreplace "give the sick a cordial tincture for the first two days of their illness">><<set $remedies.Cordial.quantity -= _cordialQuantity>>Twice a day, you give the sick a dose of <span class="def" title="Literally, a beneficial medicine. In this specific case, a reference to a proprietary medicinal blend advertised by John Belson, Esquire, in 1665 during the London plague outbreak.">tincture</span>. After each dose, you heavily cover their bodies for 3 hours to induce sweating, then wipe them down with hot napkins.<</linkreplace>><<elseif $money gt $remedies.Cordial.cost*_cordialQuantity>><<linkreplace "purchase and give a cordial tincture to the sick">>Twice a day, you give the sick a dose of <span class="def" title="Literally, a beneficial medicine. In this specific case, a reference to a proprietary medicinal blend advertised by John Belson, Esquire, in 1665 during the London plague outbreak.">tincture</span>. After each dose, you heavily cover their bodies for 3 hours to induce sweating, then wipe them down with hot napkins.<<money `-1 * $remedies.Cordial.cost*_cordialQuantity`>><</linkreplace>><</if>></li>
<li><<if $remedies.Treacle.quantity gt _treacleQuantity>><<linkreplace "drink a posset of London Treacle for the first few days of illness">>You are given <span class="def" title="A hot drink made of milk curdled with wine or ale, often including spices, which was often used as a remedy. After the 16th century, the milk was usually curdled using lemon juice rather than wine, and might be thickened with bread crumbs. During the plague outbreak, medical quacks sold London treacle, which could be added to the posset drink to further thicken it. London treacle was a compound of walnut, rue, salt, and fig.">London Treacle</span> dissolved in spoonfulls of warm vinegar, and drink 1/4 pint of this for the first few days of your illness.<<set $remedies.Treacle.quantity -= _treacleQuantity>><</linkreplace>><<elseif $money gt $remedies.Treacle.cost*_treacleQuantity>><<linkreplace "purchase and give a posset of London Treacle to the sick">>You dissolve a few spoonfuls of <span class="def" title="A hot drink made of milk curdled with wine or ale, often including spices, which was often used as a remedy. After the 16th century, the milk was usually curdled using lemon juice rather than wine, and might be thickened with bread crumbs. During the plague outbreak, medical quacks sold London treacle, which could be added to the posset drink to further thicken it. London treacle was a compound of walnut, rue, salt, and fig.">London Treacle</span> in warm vinegar, and give the sick 1/4 pint of this for the first few days of their illness.<<money `-1 * $remedies.Treacle.cost*_treacleQuantity`>><</linkreplace>><</if>></li>
<li><<linkreplace "give a suppository">>You give a homemade <span class="def" title="A type of medical application which involves inserting a small bundle of medicine into any bodily orifice other than the mouth. The medicine was intended to soften or turn liquid at body temperature, which would help with spreading it throughout the body.">suppository</span> of a fig filled with salt to the sick. It's unclear how this helps.<</linkreplace>></li>
<li><<linkreplace "give an anti-diarrheal">>You mix extra <span class="def" title="A hot drink made of milk curdled with wine or ale, often including spices, which was often used as a remedy. After the 16th century, the milk was usually curdled using lemon juice rather than wine, and might be thickened with bread crumbs. During the plague outbreak, medical quacks sold London treacle, which could be added to the posset drink to further thicken it.">posset</span> mixed with herbs like plantain, sorrel, or knot grass and offer it to the sick.<</linkreplace>></li>
</ul>
<</nobr>>
<</widget>>
<<widget "fumigant-check">><<silently>>
<<if $fumes.Fancy.quantity gt 0 or $fumes.Generic.quantity gt 0 or $fumes.Purse.quantity gt 0 or $fumes.Incense.quantity gt 0>><<set _fumes to 1>><<else>><<set _fumes to 0>><</if>><</silently>><</widget>>
<<widget "fumigant">><<silently>>
<<if previous() isnot "Apothecary">><<if $fumes.Fancy.quantity gt 0>><<set $fumes.Fancy.quantity -= 1>><<elseif $fumes.Generic.quantity gt 0>><<set $fumes.Generic.quantity -= 1>><<elseif $fumes.Purse.quantity gt 0>><<set $fumes.Purse.quantity -= 1>><<elseif $fumes.Incense.quantity gt 0>><<set $fumes.Incense.quantity -= 1>><</if>><</if>><</silently>><</widget>><<widget "ListNPCs">>
<<nobr>>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<capture _i>>
<<link `$NPCs[_i].name + ", " + $NPCs[_i].relationship + ", " + $NPCs[_i].health` "NPCScreen">><<set $npcInspect to _i>><<set $plays -= 1>><</link>>
<</capture>>
<</for>>
<</nobr>>
<</widget>>
/* Sets the NPC's pronouns based on relationship status. NEED TO ADDRESS NB RELS */
<<widget "NPCpronouns">>
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].relationship is "aunt" or $NPCs[_i].relationship is "mother" or $NPCs[_i].relationship is "sister">>
<<set $NPCs[_i].hishers to "her">><<set $NPCs[_i].heshe to "she">>
<<elseif $NPCS[_i].relationship is "uncle" or $NPCs[_i].relationship is "father" or $NPCs[_i].relationship is "brother">><<set $NPCs[_i].hishers to "his">><<set $NPCs[_i].heshe to "he">>
<<else>><<set $NPCs[_i].hishers to "their">><<set $NPCs[_i].heshe to "they">>
<</if>>
<</for>>
<</widget>><<nobr>>
/* Beggars */
The first case of <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> has appeared in your <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span>, <<if $socio is "beggars">><<beggar-roles>><<highway>>
<</if>>
/* Day Labourers */
<<if $socio is "day labourers">>and many of your neighbors have begun to flee the city.<<if $origin isnot "London">> You still have family back home in $origin and have to consider whether or not to abandon your home and whatever possessions you cannot carry to take refuge with your family.<</if>><br><br>
You hear that the local parish officials want to hire you to <<if $gender is "male" or $gender is "non-binary">>remove the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> corpses if anyone dies<<elseif $gender is "female" and $reputation gte 5>>look at plague corpses and determine if they died of plague or some other cause of death<<else>>nurse the sick and dying, despite the risk to your own life<</if>>.<br><br>
You decide to:
<ul>
<li><<link "accept the job" "Stay">><<set $fled to 4>><<if $gender is "female" and $reputation gt 5>><<set $role to "searcher">><<elseif $gender is "female" and $reputation lte 5>><<set $role to "nurse">><<else>><<set $role to "corpsebearer">><</if>><</link>></li>
<li>[[not accept the job->Stay][$reputation -= 1; $fled to 4; $role to "unemployed"]]</li>
<<if $origin isnot "London">>
<<if $hoh is 1>><li>[[flee the city and return to your place of origin->Fled][$fled to 6]]</li>
<<if $NPCs.length gt 0>><li>[[remain in the city yourself, but send your family back to your place of origin->Stay][$fled to 5]]</li><</if>>
<<else>><li>[[try to convince your family to flee London and return to your place of origin->Fled][$fled to 6]]</li>
<</if>>
<</if>>
</ul>
<</if>>
/* Servants */
<<if $socio is "servants">>and many of your neighbors have begun to flee the city. Your master decides to <<if random(1,2) is 1>><<set _masterflee to 1>>flee<<else>><<set _masterflee to 0>>stay<</if>>.<br><br>
As a member of your master's <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span>, your only choices are to follow his lead <<if _masterflee is 0>>and remain in the city, or to run away<<else>>and flee the city, or to stay in the city<</if>> and hope you are not caught for having broken your contract.<br><br>
You <<if $hoh is 0 and $NPCs.length gt 0>>try to convince your family<<else>>decide<</if>> to:
<<if _masterflee is 1>>
<ul>
<li>[[Follow your master's lead and leave the city->Fled][$fled to 1]]</li>
<li>[[Break your contract and remain in the city->Stay][$fled to 3; $socio to "beggars"; $reputation to 0; $role to "unemployed"]]</li>
</ul>
<<else>>
<ul>
<li>[[Remain in the city with your master->Stay][$fled to 0]]</li>
<li>[[Break your contract and flee the city->Fled][$fled to 2; $socio to "beggars"; $reputation to 0; $role to "unemployed"]]</li>
</ul>
<</if>>
<</if>>
/* Artisans */
<<if $socio is "artisans">>and many of your neighbors have begun to flee the city.
<<if $origin is "London" and $reputation lte 5>>Your reputation is so bad that you're not sure if anyone will take you in if you decide to leave London.
<<else>>
<<if $origin isnot "London">>You still have family back home in $origin
<<else>>You have friends in the countryside
<</if>> who would take in you and your household if you decide to leave, too.
<</if>><br><br>
<<if $hoh is 0>>You convince your family to<<else>>You decide to:<</if>>
<ul>
<li>[[Remain in the city with your entire household->Stay][$fled to 4]]</li>
<<if $hoh is 1 and $NPCs.length gt 0>><li>[[Remain in the city, but send the rest of your household away.->Stay][$fled to 5; $money -= 560]]</li><</if>>
<li><<if $reputation gt 5>>[[Flee the city with your entire household.->Fled][$reputation to Math.clamp($reputation - 3, 0, 10); $fled to 6; $money -= 1120]]
<<else>>
<<if random(1,2) eq 1>>[[Flee the city with your entire household.->Fled][$reputation to Math.clamp($reputation - 3, 0, 10); $fled to 6; $money -= 1120]]<<else>>[[Flee the city with your entire household.->Stay][$reputation to Math.clamp($reputation - 3, 0, 10); $fled to 7; $money -= 1120]]
<</if>>
<</if>>
</li>
</ul>
<</if>>
/* Merchants */
<<if $socio is "merchants">>and your neighbors have begun to flee the city. Many are renting houses in the countryside and small towns surrounding London, either for themselves or for their <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">households</span>.<br><br>
You decide to:
<ul>
<li>[[Remain in the city with your entire household->Stay][$fled to 4]]</li>
<li>[[Remain in the city, but send the rest of your household away->Stay][$fled to 5; $money -= 800]]</li>
<li>[[Flee the city with your entire household.->Fled][$fled to 6; $money -= 1600; $reputation to Math.clamp($reputation - 2, 0, 10)]]</li>
</ul>
<</if>>
/* Nobles */
/*NTS: need more text about how the nobles decide to flee? */
<<if $socio is "nobles">>and many members of the Court have begun to flee the city.<br><br>
You decide to:
<ul>
<li>[[Remain in the city with your entire household->Stay][$fled to 4]]</li>
<li>[[Remain in the city, but send most of your household away to the countryside->Stay][$fled to 5; $money -= 5000]]</li>
<li>[[Flee the city with your entire household.->Fled][$reputation to Math.clamp($reputation - 1, 0, 10); $fled to 6; $money -= 10000]]</li>
</ul>
<</if>>
<</nobr>><<nobr>>
/*<<check-NPCs>>
<<if _infectedFamily.length gt 0>>Unfortunately, you're going to be here a while longer. Your
<<for _z, _y range _infectedFamily>>
<<if _infectedFamily.length eq 1>>$NPCs[_y].relationship, $NPCs[_y].name has also fallen ill.<br>
<<elseif _z < _infectedFamily.length - 1>>$NPCs[_y].relationship $NPCs[_y].name, <<else>>and $NPCs[_y].relationship $NPCs[_y].name have also fallen ill.
<</if>>
<</for>>
<<else>> */
Lord be praised, your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> has survived the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span>. You still need to finish <span class="def" title="A method of containing disease which involves keeping potentially infected people, animals, or goods contained and away from others for a sufficient period of time for the disease to manifest. The word comes from the Italian “quaranta” meaning 40 as the quarantine period for plague was 40 days.">quarantine</span>, but begin reconnecting with the outside world.
In the time you were away.... (nts: add updates based on what big events have happened)
<<storyline-return>>
/*<<health-update>>*/
/* <</if>> */
<</nobr>>
<<if $socio is "beggars">>You lose money every day that you're away from the city, as no one wants to give charity to a beggar from the city<<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">>You lose money every day that you're away from the city and the people who normally would be willing to employ you for a day's labor<<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "servants">>You dislike being so far from the city<<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>>You lose money every day that you're away from the city and unable to practice your trade<<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>>It's deeply irritating to have to pay rent on a country house as well as your home back in the city<<elseif $socio is "nobles">>It's to your great disadvantage to be so far from Court and the centers of power<</if>>, but luckily it's a price that you're able to pay for at least a little while to ensure your safety.
When the death tolls top 7,000 a week in August and September, you're sure you made the right call. By the beginning of October, death tolls have fallen to half that and you decide to [[return to the city->October 1665]].<<nobr>><<if $socio is "beggars">>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city, as no one wants to give charity to a beggar from the city<<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city and the people who normally would be willing to employ you for a day's labor<<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "servants">>You dislike being so far from the city<<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city and unable to practice your trade<<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>>It's deeply irritating to have to pay rent on a country house as well as your home back in the city<<elseif $socio is "nobles">>It's to your great disadvantage to be so far from Court and the centers of power<</if>>, but luckily it's a price that you're able to pay for at least a little while to ensure your safety.
When the death tolls top 7,000 a week in August and September, you're sure you<<if $age is "child" or $age is "adolescent">> and your family<</if>> made the right call.
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
By the beginning of October, death tolls have fallen to half that but there are still a horrifying number of people dying every week.<<if $money lte 0>> Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->October 1665]] to avoid starving.<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
You anxiously watch the fall in the number of deaths each week, thanking God when only a thousand people a week are dying at the beginning of November. <<if $money lte 0>> Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->November 1665]] to avoid starving.<<else>>
By the start of Advent, there are barely 200 or 300 odd people dying each week and you<<if $age is "child" or $age is "adolescent">> and your family<</if>> decide it's finally safe to [[return to the city->December 1665]] just in time for the Christmas feasting and merrymaking.<</if>><</if>>
<</nobr>><<nobr>><<if $socio is "beggars">>You lose money every day that you're away from the city, as no one wants to give charity to a beggar from the city<<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city and the people who normally would be willing to employ you for a day's labor<<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "servants">>You dislike being so far from the city<<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city and unable to practice your trade<<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>>It's deeply irritating to have to pay rent on a country house as well as your home back in the city<<elseif $socio is "nobles">>It's to your great disadvantage to be so far from Court and the centers of power<</if>>, but luckily it's a price that you're able to pay for at least a little while to ensure your safety.
When the death tolls top 7,000 a week in August and September, you're sure you made the right call.
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
By the beginning of October, death tolls have fallen to half that but there are still a horrifying number of people dying every week.<<if $money lte 0>> Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->October 1665]] to avoid starving.<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
You anxiously watch the fall in the number of deaths each week, thanking God when only a thousand people a week are dying at the beginning of November. <<if $money lte 0>> Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->November 1665]] to avoid starving.<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
At the start of Advent, there are still 200 or 300 odd people dying each week <<if $money lte 0>>but unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->December 1665]] to avoid starving.<<else>>and you reconcile yourself with a Christmas spent away from the City.<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
When the New Year dawns, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> are desperately homesick and renew your resolve to return to London as soon as the court does. You hear the King and court have returned to <span class="def" title="A palace south of London famed for its gardens. Cardinal Wolsey began construction on the palace in the early 16th century and King Henry VIII adopted it as his primary residence. King James I, King Charles I, Lord Protector Oliver Cromwell, King Charles II, and King James II also lived in the palace. After the Glorious Revolution in 1688 the co-monarchs William and Mary commissioned the architect Christopher Wren to build a new baroque-style palace on the site. Later monarchs continued to reside there until the mid-18th century. Queen Victoria opened the palace to the public in 1838 and it remains a popular tourist destination.">Hampton Court Palace</span>, near to the city, and eagerly await news of his return. <<if $money lte 0>>While you are waiting, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> realize you've run out of money and are forced to [[return early to avoid starving->January 1666]].<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
As soon as the first rumors fly of the king's entrance into London, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> hastily make your way [[back to the city->February 1666]].<</if>><</if>><</if>><</if>>
<</nobr>><<nobr>><<if $socio is "beggars">>You lose money every day that you're away from the city, as no one wants to give <span class="def" title="Refers both to a gift or benevolent act given towards neighbors, particularly the poor, and to a general feeling of Christian love and kindness towards fellow Christians. In the sense used here, it means alms-giving, or the giving of small amounts of money or food to the local “deserving poor.”">charity</span> to a beggar from the city<<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city and the people who normally would be willing to employ you for a day's labor<<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "servants">>You dislike being so far from the city<<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city and unable to practice your trade<<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>>It's deeply irritating to have to pay rent on a country house as well as your home back in the city<<elseif $socio is "nobles">>It's to your great disadvantage to be so far from Court and the centers of power<</if>>, but luckily it's a price that you're able to pay for at least a little while to ensure your safety.
<<if $socio is "nobles">><<set $reputation to 0>><</if>>
When the death tolls top 7,000 a week in August and September, you're sure you made the right call.<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
By the beginning of October, death tolls have fallen to half that but there are still a horrifying number of people dying every week.<<if $money lte 0>> Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->October 1665]] to avoid starving.<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
You anxiously watch the fall in the number of deaths each week, thanking God when only a thousand people a week are dying at the beginning of November. <<if $money lte 0>> Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->November 1665]] to avoid starving.<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
At the start of Advent, there are still 200 or 300 odd people dying each week <<if $money lte 0>>but unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->December 1665]] to avoid starving.<<else>>and you reconcile yourself with a Christmas spent away from the City.<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
When the New Year dawns, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> are desperately homesick but renew your resolve not to return to London until the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.
">plague</span> is officially over. You hear the King and court have returned to <span class="def" title="A palace south of London famed for its gardens. Cardinal Wolsey began construction on the palace in the early 16th century and King Henry VIII adopted it as his primary residence. King James I, King Charles I, Lord Protector Oliver Cromwell, King Charles II, and King James II also lived in the palace. After the Glorious Revolution in 1688 the co-monarchs William and Mary commissioned the architect Christopher Wren to build a new baroque-style palace on the site. Later monarchs continued to reside there until the mid-18th century. Queen Victoria opened the palace to the public in 1838 and it remains a popular tourist destination.">Hampton Court Palace</span>, near to the city, and eagerly anticipate the end of the plague.<<if $money lte 0>>While you are waiting, you realize you've run out of money and are forced to return early to avoid starving.<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
In February, you hear that the King has reentered the city and people begin asking you why you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have not returned when the danger has clearly passed. Your reputation plummets <<set $reputation to 0>> and people begin accusing you of cowardice. <<if $money lte 0>>It is therefore a mixed blessing that you<<if $age is "child" or $age is "adolescent">> and your family<</if>> realize you've run out of money and are forced to [[return early to avoid starving->January 1666]].<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
But by March, the <span class="def" title="Weekly publications which recorded the number of burials and christenings in each of London’s parishes, as well as the causes of death citywide and the current government-set price of bread.">bills of mortality</span> show plague deaths creeping back up again and you <<if $age is "child" or $age is "adolescent">> and your family<</if>><<if $money lte 0>>are terrified to realize you've run out of money and must [[return early to the city->April 1666]]<<else>>hold your course.<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
<<if $money lte 0>>Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> run out of money in April and are forced to [[return to the city->April 1666]] to avoid starving<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
<<if $money lte 0>>Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> run out of money in May and are forced to [[return to the city->May 1666]] to avoid starving<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
As summer dawns over the city, plague deaths reach a height of *NTS: check numbers* a week. It's nothing compared to 1665, but the risk of death is still high and you are frustrated with all the people who demand your return.<<if $money lte 0>>It is therefore a mixed blessing that you<<if $age is "child" or $age is "adolescent">> and your family<</if>> realize you've run out of money and are forced to [[return early to avoid starving->June 1666]].<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
<<if $money lte 0>>Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> run out of money in July and are forced to [[return to the city->July 1666]] to avoid starving<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
<<if $money lte 0>>Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> run out of money in August and are forced to [[return to the city->August 1666]] to avoid starving<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
Then, in September, disaster strikes. Your first hint is a dark cloud rising into the air, just barely visible in the distance, but news soon arrives that the city is burning. You pray to God for the salvation of the city - and your home and everything you left behind in it - as the fire burns for days.<<if $money lte 0>> Disaster heaps upon disaster as you<<if $age is "child" or $age is "adolescent">> and your family<</if>> realize you've run out of money and are forced to [[return to the ruined city to avoid starving->October 1666]].<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
Finally, you receive word that *NTS: put in results here based on where you live, if your house burned you're in the countryside for the rest of the game, go straight to the end.*<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
While you<<if $age is "child" or $age is "adolescent">> and your family<</if>> consider making a profit from renting out your residence to those who have been made homeless, you feel like your house being spared is God's way of encouraging you to return to the city. Luckily, the official Thanksgiving Day for the end of the plague is proclaimed, and so you<<if $age is "child" or $age is "adolescent">> and your family<</if>> make your way [[back to the city->November 1666]].<</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</nobr>><<nobr>><<if $socio is "beggars">>You lose money every day that you're away from the city, as no one wants to give <spa class="def"n title="Refers both to a gift or benevolent act given towards neighbors, particularly the poor, and to a general feeling of Christian love and kindness towards fellow Christians. In the sense used here, it means alms-giving, or the giving of small amounts of money or food to the local “deserving poor.”">charity</span> to a beggar from the city<<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city and the people who normally would be willing to employ you for a day's labor<<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "servants">>You dislike being so far from the city<<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>>You<<if $age is "child" or $age is "adolescent">> and your family<</if>> lose money every day that you're away from the city and unable to practice your trade<<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>>It's deeply irritating to have to pay rent on a country house as well as your home back in the city<<elseif $socio is "nobles">>It's to your great disadvantage to be so far from Court and the centers of power<</if>>, but luckily it's a price that you're able to pay for at least a little while to ensure your safety.
When the death tolls top 7,000 a week in August and September, you're sure you<<if $age is "child" or $age is "adolescent">> and your family<</if>> made the right call.<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
By the beginning of October, death tolls have fallen to half that but there are still a horrifying number of people dying every week.<<if $money lte 0>> Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->October 1665]] to avoid starving.<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
You anxiously watch the fall in the number of deaths each week, thanking God when only a thousand people a week are dying at the beginning of November. <<if $money lte 0>> Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->November 1665]] to avoid starving.<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
At the start of Advent, there are still 200 or 300 odd people dying each week <<if $money lte 0>>but unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have run out of money and are forced to [[return to the city->December 1665]] to avoid starving.<<else>>and you reconcile yourself with a Christmas spent away from the City.<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
When the New Year dawns, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> are desperately homesick but renew your resolve not to return to London until the <span class="def" title="A deadly infection usually spread to humans by fleas infected with the bacterium yersinia pestis. It manifests in several different ways, including bubonic (lymph node), pneumonic (lungs), and septicemic (bloodstream) plague. Bubonic plague was the least deadly form, at only ~50% fatal, while pneumonic plague was 99% fatal and can be spread directly to other people by coughing and septicemic plague was 100% fatal. Plague killed hundreds of millions of people before the development of antibiotic treatments and still kills some people today. Symptoms include fever, headaches, vomiting, weakness, coughing, shortness of breath, chest pain, abdominal pain, swollen lymph nodes, gangrene, meningitis, and most famously, the appearance of large buboes, or painful pus-filled swellings in the thighs, neck, groin, and armpits. They may turn black and rot away or rupture, spreading the infection around the body.">plague</span> is officially over. You hear the King and court have returned to <span class="def" title="A palace south of London famed for its gardens. Cardinal Wolsey began construction on the palace in the early 16th century and King Henry VIII adopted it as his primary residence. King James I, King Charles I, Lord Protector Oliver Cromwell, King Charles II, and King James II also lived in the palace. After the Glorious Revolution in 1688 the co-monarchs William and Mary commissioned the architect Christopher Wren to build a new baroque-style palace on the site. Later monarchs continued to reside there until the mid-18th century. Queen Victoria opened the palace to the public in 1838 and it remains a popular tourist destination.">Hampton Court Palace</span>, near to the city, and eagerly anticipate the end of the plague.<<if $money lte 0>>While you<<if $age is "child" or $age is "adolescent">> and your family<</if>> are waiting, you realize you've run out of money and are forced to return early to avoid starving.<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
In February, you hear that the King has reentered the city and people begin asking you why you<<if $age is "child" or $age is "adolescent">> and your family<</if>> have not returned when the danger has clearly passed. Your reputation plummets <<set $reputation to 0>> and people begin accusing you of cowardice. <<if $money lte 0>>It is therefore a mixed blessing that you<<if $age is "child" or $age is "adolescent">> and your family<</if>> realize you've run out of money and are forced to [[return early to avoid starving->January 1666]].<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
But by March, the <span class="def" title="Weekly publications which recorded the number of burials and christenings in each of London’s parishes, as well as the causes of death citywide and the current government-set price of bread.">bills of mortality</span> show plague deaths creeping back up again and you<<if $age is "child" or $age is "adolescent">> and your family<</if>> <<if $money lte 0>>are terrified to realize you've run out of money and must [[return early to the city->April 1666]]<<else>>hold your course.<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
<<if $money lte 0>>Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> run out of money in April and are forced to [[return to the city->April 1666]] to avoid starving<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
<<if $money lte 0>>Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> run out of money in May and are forced to [[return to the city->May 1666]] to avoid starving<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
As summer dawns over the city, plague deaths reach a height of *NTS: check numbers* a week. It's nothing compared to 1665, but the risk of death is still high and you are frustrated with all the people who demand your return.<<if $money lte 0>>It is therefore a mixed blessing that you<<if $age is "child" or $age is "adolescent">> and your family<</if>> realize you've run out of money and are forced to [[return early to avoid starving->June 1666]].<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
<<if $money lte 0>>Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> run out of money in July and are forced to [[return to the city->July 1666]] to avoid starving<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
<<if $money lte 0>>Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> run out of money in August and are forced to [[return to the city->August 1666]] to avoid starving<<else>>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
Then, in September, disaster strikes. Your first hint is a dark cloud rising into the air, just barely visible in the distance, but news soon arrives that the city is burning. You pray to God for the salvation of the city - and your home and everything you left behind in it - as the fire burns for days.<<if $money lte 0>> Disaster heaps upon disaster as you<<if $age is "child" or $age is "adolescent">> and your family<</if>> realize you've run out of money and are forced to [[return to the ruined city to avoid starving->October 1666]].<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
Finally, you receive word that *NTS: put in results here based on where you live, if your house burned you're in the countryside for the rest of the game, go straight to the end.*<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
While you<<if $age is "child" or $age is "adolescent">> and your family<</if>> consider making a profit from renting out your residence to those who have been made homeless, you are uncomfortable doing so when you aren't around to make sure to make sure the tenant is taking proper care of your belongings. There is still plague about and who knows what other pestilence they could bring into your home?<<if $money lte 0>> Besides, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> are running out of money and realize you're going to have to return to the city soon to avoid starving->November 1666]]<<else>><br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
The official Thanksgiving Day for the end of the plague is proclaimed in November, but there are still people dying each week<<if $money lte 0>>. Unfortunately, you<<if $age is "child" or $age is "adolescent">> and your family<</if>> are out of money and so are forced to [[return to the city->December 1666]]<<else>> so you<<if $age is "child" or $age is "adolescent">> and your family<</if>> hold off returning and resign yourself to another winter in exile.<br><br>
<<if $socio is "beggars">><<set $money to Math.clamp($money - 120, 0, 1000000)>><<elseif $socio is "day labourers">><<set $money to Math.clamp($money - 300, 0, 1000000)>><<elseif $socio is "artisans">><<set $money to Math.clamp($money - 800, 0, 1000000)>><<elseif $socio is "merchants">><<set $money to Math.clamp($money - 2800, 0, 1000000)>><</if>>
Life may go on for the reckless, but it will not be until 1667 that you<<if $age is "child" or $age is "adolescent">> and your family<</if>> finally make your way [[back to the city->December 1666]].
<</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</if>><</nobr>><<nobr>>
<<if $fled is 5>><<if $origin isnot "London">><<set $hhlocation to $origin>><<else>><<set $hhlocation to "the countryside">><</if>><</if>>
/* Beggars */
<<if $socio is "beggars">>
<<if $fled is 3>>
<<if $hoh is 1 or $NPCs.length lt 1>>You decide to break your contract with your master<<elseif $hoh is 0>>You successfully convince your family to break their contract with your master<</if>> and remain in the city, despite the danger<<if $NPCs.length gt 0>> to yourself and your family<</if>>.<br><br>
Unfortunately, with no income and no reputation to speak of anymore, you <<if $NPCs.length gt 0>>and your family <</if>> only have the option of begging to survive. You sell all your worldly goods and throw yourself on the mercy of your neighbors.
<<else>>You decide to remain in the city and fend for yourself. With so many people fleeing, surely there will be extra chances to earn some coin.
<</if>>
<</if>>
/* Day Labourers */
<<if $socio is "day labourers">>
<<if $role is "searcher" or $role is "nurse" or $role is "corpsebearer">>You accept the job from the <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> officials, which at least provides you with a little income while other work has dwindled.<<else>>You decide not to accept the job from <span class="def" title="The smallest administrative unit of the English church. An official known as the parish clerk kept local records of christenings, burials, and marriages of everyone who lived within the parish. In this period, parish officials were responsible for maintaining the local social safety net, which included supporting and licensing beggars.">parish</span> officials. Unfortunately, without any steady work, it may soon be difficult to survive as other work around the city dwindles.<</if>>
<</if>>
/* Servants Stay*/
<<if $socio is "servants">>
You<<if $hoh is 0 and $NPCs.length gt 0>> convince your family<<else>>decide<</if>> to remain in the city with your master and his household, despite the danger.
<</if>>
/* Artisans */
/* NTS: [household fleeing is one time money hit; if character flees, take a money hit each turn until go broke (go down to day laborer timeline) or return] */
/* NTS: add text about what artisans do immediately after choosing to stay. */
<<if $socio is "artisans">>
<<if $fled is 7>>Despite your efforts to flee the city, your reputation is so poor that no one would take you in elsewhere. You have lost at least two months' of wages for your effort, and are considered in even lower esteem than before.
<<else>>
You decide to remain in the city <<if $fled is 4>>with your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span>, despite the danger<<else>>by yourself, and send your family to the countryside away from the danger.<</if>>
<</if>>
<</if>>
/* Merchants */
/* NTS: if either character or household flees, money hit each turn but shouldn’t be so bad as to force them back to the city; if character flees, take a one time reputation hit then do further reputation hits if stay fled after court returns in February; if character stays, small rep bonus for each turn stays in city */
<<if $socio is "merchants">>
/* NTS: add text about what merchants do immediately after choosing to stay. */
<</if>>
/* Nobles */
<<if $socio is "nobles">>
/* NTS: add text about what nobles do immediately after choosing to stay. */
<<if $fled is 5>>
<<set $FledFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.relationship isnot "servant">>
<<set $FledFamily.push(_y)>>
<</if>>
<</for>>
<<for _s range $FledFamily>>
<<set $NPCs[_s].location to $hhlocation>><<set $NPCs[_s].health to "safe from harm">>
<</for>>
You help your <span class="def" title="All the people living in a home. If there is an adult male living in the home, he is generally considered the head of the household. Widowed women with young children and single women may also be heads of the household. Members of the household then include the head of household, their spouse, and their children, as well as members of the extended family such as grandparents, siblings, aunts, uncles, nieces, nephews, and cousins. Households may additionally include apprentices, journeymen, and servants.">household</span> to pack up and leave the city for safety in $hhlocation. You send your family with most of the servants, keeping only a few for yourself. You promise to meet them should the situation grow worse.<</if>>
<</if>>
<br><br>
While you remain in the city, you can take measures to protect yourself<<if $NPCs.length gt 1>> and your household<</if>> from the plague. You can:
<<preventative>>
You can also visit the ''<span class="def" title="A person who prepares and sells drugs for medicinal purposes. Also the shop where such activities take place">Apothecary</span>'', who sells remedies to prevent you from getting sick or to treat those who have fallen ill. (The apothecary can now be found in the menu.)
<<first-plague-day-continue>>
<</nobr>>You have attempted to flee the city! Unfortunately, your reputation precedes you, and no one will take you in. You are forced to return to London, shamed, and many shillings poorer.
<<first-plague-day-continue>><<nobr>>
/* check if any family members were infected the previous week */
<<silently>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>>
<</silently>>
/*NTS: fix text here */
You have now been in <span class="def" title="A method of containing disease which involves keeping potentially infected people, animals, or goods contained and away from others for a sufficient period of time for the disease to manifest. The word comes from the Italian “quaranta” meaning 40 as the quarantine period for plague was 40 days.">quarantine</span> for over a month, and there is no sign that the plague's spread is slowing. <<if $plagueInfection is 0>>It seems a miracle that you have not fallen ill yourself.<</if>>
/* reveal which family members are infected */
<<if _infectedFamily.length gt 0>>Even more members of your household have fallen ill. Your
<<for _z, _y range _infectedFamily>>
<<if _infectedFamily.length eq 1>>$NPCs[_y].relationship $NPCs[_y].name is now infected.<br>
<<elseif _z < _infectedFamily.length - 1>>$NPCs[_y].relationship $NPCs[_y].name, <<else>>and $NPCs[_y].relationship $NPCs[_y].name are now infected.
<</if>>
<</for>>
<</if>>
/* if more family members were infected, offer treatment options & run death recovery & spread code */
<<if _infectedFamily.length gt 0>>
/* call in widget showing treatment options if family members are infected */
<<hh-treatments>>
<<linkappend "You continue to tend to the sick and suffering.">><br><br>
<<silently>>
/* check if you used a remedy, determine if sick family recovers or dies */
<<for _s range _infectedFamily>>
<<if _remedyEffect is 1 and random(1,3) is 1>><<set $NPCs[_s].health to "deceased5">>
<<elseif _remedyEffect is 0 and random(1,2) is 1>><<set $NPCs[_s].health to "deceased5">>
<<else>><<set $NPCs[_s].health to "recovered5">>
<</if>>
<</for>>
/* Check for family members who died or recovered */
<<set _deceased = []>>
<<set _recovered = []>>
<<for _d, _household range $NPCs>>
<<if _household.health is "deceased5">><<set _deceased.push(_d)>>
<</if>>
<<if _household.health is "recovered5">><<set _recovered.push(_d)>>
<</if>>
<</for>>
/* Check for fumigants to prevent spread to household */
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if _fumes gt 0 and random(1,4) eq 1>><<set $NPCs[_i].health to "infected">>
<<elseif _fumes lt 1 and random(1,2) eq 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
/* check for fumigants to prevent spread to player */
<<if _fumes gt 0 and random(1,4) is 1>><<set $plagueInfection to 1>>
<<elseif _fumes lt 1 and random(1,2) is 1>><<set $plagueInfection to 1>>
<</if>>
<</silently>>
/* reveal which family members have died or survived*/
/* NTS: update text here for variety from past weeks */
<<if _deceased.length gt 0>>Despite your care, your
<<for _x, _d range _deceased>>
<<if _deceased.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has died.<<elseif _x < deceased5.length - 1>>$NPCs[_d].relationship $NPCs[_d].name,<<else>>and $NPCs[_d].relationship $NPCs[_d].name have died.
<</if>>
<</for>>
<br><br>
<</if>>
/* show which family members recovered */
<<if _recovered.length gt 0>><<if _deceased5.length gt 0>>There is some good news, though. <</if>>The treatments seem to be helping, and your
<<for _r, _d range _recovered>>
<<if _recovered.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has started to recover from their illness.
<<elseif _r < _recovered.length - 1>>$NPCs[_d].relationship $NPCs[_d].name
<<else>>and $NPCs[_d].name have started to recover from their illness.
<</if>>
<</for>>
<br><br>
<</if>>
/* Check if player or additional family were infected, send to next passage depending */
<<silently>><<unset _infectedFamily>><<unset _household>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>><</silently>>
<<if $plagueInfection is 1>>[[You wonder what has happened while you were away from the world.->Sickness]]
<<elseif _infectedFamily.length gt 0>>[[You wonder what has been happening while you are away from the world.->Quarantine, Week 6]]
<<else>>[[You wonder what has happened while you were away from the world.->Reconnecting]]
<</if>>
<<fumigant>>
<<health-update>>
<</linkappend>>
<<else>> The infection seems to have burned itself out, and you can now focus on the recovery of those who survived.<br><br>
[[You wonder what has been happening while you were away from the world.->Reconnecting]]
<<fumigant>>
<<health-update>>
<</if>>
<</nobr>><<nobr>>
/* check if any family members were infected the previous week */
<<silently>>
<<set _infectedFamily = []>>
<<for _y, _household range $NPCs>>
<<if _household.health is "infected">>
<<set _infectedFamily.push(_y)>>
<</if>>
<</for>>
<</silently>>
/*NTS: fix text here. Something about going out after plague curfew? */
You enter your sixth week of <span class="def" title="A method of containing disease which involves keeping potentially infected people, animals, or goods contained and away from others for a sufficient period of time for the disease to manifest. The word comes from the Italian “quaranta” meaning 40 as the quarantine period for plague was 40 days.">quarantine</span>. The days are interminable.
/* reveal which family members are infected */
<<if _infectedFamily.length gt 0>>Unfortunately, even more members of your household have fallen ill. Your
<<for _z, _y range _infectedFamily>>
<<if _infectedFamily.length eq 1>>$NPCs[_y].relationship $NPCs[_y].name is now infected.<br>
<<elseif _z < _infectedFamily.length - 1>>$NPCs[_y].relationship $NPCs[_y].name, <<else>>and $NPCs[_y].relationship $NPCs[_y].name are now infected.
<</if>>
<</for>>
<</if>>
/* if more family members were infected, offer treatment options & run death recovery & spread code */
<<if _infectedFamily.length gt 0>>
/* call in widget showing treatment options if family members are infected */
<<hh-treatments>>
<<linkappend "You continue to tend to the sick and suffering.">><br><br>
<<silently>>
/* check if you used a remedy, determine if sick family recovers or dies */
<<for _s range _infectedFamily>>
<<if _remedyEffect is 1 and random(1,3) is 1>><<set $NPCs[_s].health to "deceased6">>
<<elseif _remedyEffect is 0 and random(1,2) is 1>><<set $NPCs[_s].health to "deceased6">>
<<else>><<set $NPCs[_s].health to "recovered6">>
<</if>>
<</for>>
/* Check for family members who died or recovered */
<<set _deceased = []>>
<<set _recovered = []>>
<<for _d, _household range $NPCs>>
<<if _household.health is "deceased6">><<set _deceased.push(_d)>>
<</if>>
<<if _household.health is "recovered6">><<set _recovered.push(_d)>>
<</if>>
<</for>>
/* Check for fumigants to prevent spread to household */
<<for _i = 0; _i < $NPCs.length; _i++>>
<<if $NPCs[_i].health is "healthy">>
<<if _fumes gt 0 and random(1,4) eq 1>><<set $NPCs[_i].health to "infected">>
<<elseif _fumes lt 1 and random(1,2) eq 1>><<set $NPCs[_i].health to "infected">>
<</if>>
<</if>>
<</for>>
/* check for fumigants to prevent spread to player */
<<if _fumes gt 0 and random(1,4) is 1>><<set $plagueInfection to 1>>
<<elseif _fumes lt 1 and random(1,2) is 1>><<set $plagueInfection to 1>>
<</if>>
<</silently>>
/* reveal which family members have died or survived*/
/* NTS: update text here for variety from past weeks */
<<if _deceased.length gt 0>>Despite your care, your
<<for _x, _d range _deceased>>
<<if _deceased.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has died.<<elseif _x < deceased6.length - 1>>$NPCs[_d].relationship $NPCs[_d].name,<<else>>and $NPCs[_d].relationship $NPCs[_d].name have died.
<</if>>
<</for>>
<br><br>
<</if>>
/* show which family members recovered */
<<if _recovered6.length gt 0>>
<<if _deceased6.length gt 0>>There is some good news, though.
<</if>>The treatments seem to be helping, and your
<<for _r, _d range _recovered>>
<<if _recovered.length eq 1>>$NPCs[_d].relationship $NPCs[_d].name has started to recover from their illness.
<<elseif _r < _recovered.length - 1>>$NPCs[_d].relationship $NPCs[_d].name
<<else>>and $NPCs[_d].name have started to recover from their illness.
<</if>>
<</for>>
<br><br>
<</if>>
/*NTS: change link text below*/
/* Check if player was infected, send to next passage depending */
<<if $plagueInfection is 1>>[[You wonder what has happened while you were away from the world.->Sickness]]
<<else>>[[You wonder what has happened while you were away from the world.->Reconnecting]]
<</if>>
<<fumigant>>
<</linkappend>>
<<else>> The infection seems to have burned itself out, and you can now focus on the recovery of those who survived.
/* Check if player was infected, send to next passage depending */
/* NTS: change link text below */
<<if $plagueInfection is 1>>[[You wonder what has happened while you were away from the world.->Sickness]]
<<else>>[[You wonder what has happened while you were away from the world.->Reconnecting]]
<</if>>
<<fumigant>>
<<health-update>>
<</if>>
<</nobr>><<nobr>><<silently>><<set $plagueInfection to 1>>
<<set $quarantine to 1>>
<<set $money to 10000>>
<<set $age to "young adult">>
<<set $socio to "merchants">>
<<set $reputation to 8>>
<<set $gender to "female">>
<<set $NPCs.push({ name: weightedEither($fNames), age: "child", relationship: weightedEither($fRelationships), health: "healthy"})>>
<<set $NPCs.push({ name: weightedEither($fNames), age: "infant", relationship: weightedEither($fRelationships), health: "healthy"})>>
<<set $NPCs.push({ name: weightedEither($fNames), age: either("child", "adolescent", "young adult"), relationship: weightedEither($fRelationships), health: "infected"})>>
<<set $NPCs.push({ name: weightedEither($fNames), age: "infant", relationship: weightedEither($fRelationships), health: "infected"})>>
<<set $NPCs.push({ name: weightedEither($fNames), age: either("child", "adolescent", "young adult"), relationship: weightedEither($fRelationships), health: "infected"})>>
<<set $NPCs.push({ name: weightedEither($fNames), age: "infant", relationship: weightedEither($fRelationships), health: "healthy"})>>
<<set $NPCs.push({ name: weightedEither($fNames), age: "infant", relationship: weightedEither($fRelationships), health: "healthy"})>>
<<set $NPCs.push({ name: weightedEither($fNames), age: "infant", relationship: weightedEither($fRelationships), health: "healthy"})>>
<</silently>>[[You have fallen ill.->Sickness]]
<</nobr>>