{
	"data": [
		{
			"type": "section",
			"name": "Introduction",
			"id": "000",
			"entries": [
				{
					"type": "inset",
					"name": "An Adventure Supporting Extra Life",
					"id": "001",
					"entries": [
						"A fallen clock tower holds components from an ancient artifact. Upon discovery of the components, competing agents look to launch expeditions to uncover additional components scattered across distant places\u2014and times. The now-lost Temple of Moloch and the construction site of the legendary {@adventure Tomb of Horrors|TftYP} are two of those locations. However great the risks, finding the components demands the effort, for whoever does so can reassemble the fabled {@i Infernal Machine of Lum the Mad!}",
						"Adventure design by Bart Carroll"
					]
				},
				"In support of Extra Life 2019, we're pleased to present the following adventure scenario. {@i Infernal Machine Rebuild} can be run as a standalone adventure or connected to last year's {@adventure Lost Laboratory of Kwalish|LLK}.",
				{
					"type": "gallery",
					"images": [
						{
							"type": "image",
							"href": {
								"type": "internal",
								"path": "adventure/IMR/000-extra-life-logo.png"
							},
							"width": 900,
							"height": 900
						}
					]
				},
				"A fallen clock tower holds components from an ancient artifact. Upon discovery of the components, competing agents look to launch expeditions to uncover additional components scattered across distant places\u2014and times. The now-lost Temple of Moloch and the construction site of the legendary {@adventure Tomb of Horrors|TftYP} are two of those locations. However great the risks, finding the components demands the effort, for whoever does so can reassemble the fabled {@i Infernal Machine of Lum the Mad!}",
				"This adventure is designed for five characters of 5th to 10th level.",
				{
					"type": "inset",
					"name": "A Note from the D&d Team",
					"id": "002",
					"entries": [
						"Starting in 2017, the D&D team has added several projects to the DMs Guild in support of Extra Life (including {@i One Grung Above}, {@i The Lost Kenku}, {@adventure The Tortle Package|TTP}, and last year's {@adventure Lost Laboratory of Kwalish|LLK}). Funds raised from their sale went to this extremely worthy cause\u2014and for 2019, you'll find even more projects made available on the DMs Guild throughout the year.",
						"As part of these efforts, it's our privilege to contribute the following adventure to the cause. We hope you enjoy {@i Infernal Machine Rebuild}. And you have our sincere thanks for your support of Extra Life and Children's Miracle Network Hospitals."
					]
				},
				{
					"type": "section",
					"name": "Background",
					"id": "003",
					"entries": [
						"Eons ago, a planar craft of unknown origin crashed within the Barrier Peaks. The scholar Kwalish would later find this craft, converting it into his laboratory and studying its technology to fuel his own experiments. However, Kwalish was not the first explorer to do so.",
						"Earlier expeditions also chanced upon the crash site, and although most parties perished while delving through the craft, a few managed to recover rare objects never conceived by even the greatest minds of this world. Many of these objects were subsequently lost over time\u2014and most resulted in the deaths of their owners along the way. But a few persisted, controlled by those able to glean some partial understanding of their operation.",
						"Among the most important of these relics was the planar craft's central command console, used to guide its flight through space and time. Legend of this object grew as it fell into the hands of a warlord and came to be known as a most powerful artifact: the {@i Infernal Machine of Lum the Mad} (so named after its last owner). Yet with the defeat of Baron Lum, his {@i Infernal Machine} was said to have been destroyed as well.",
						"Currently, the archdevils Zariel and Bel both have designs on rebuilding Lum's infernal machine. Zariel is the present master of Avernus, the first layer of the Nine Hells. Bel is the deposed former master of that layer. But to rebuild the infernal machine, both devils require a number of missing components\u2014former control buttons vital to the machine's operation. Zariel and Bel have both planted agents in the world, tasking those agents with finding adventurers to track down and claim these components. Once the {@i Infernal Machine of Lum the Mad} is complete, whichever devil controls it plans to use the machine to claim final dominion over Avernus."
					]
				},
				{
					"type": "section",
					"name": "Adventure Summary",
					"id": "004",
					"entries": [
						"While journeying through fey woods, the characters must choose whether to help a trio of (supposed) dryads or a unicorn, with each faction blaming the other for the woods' corruption. Either way, the characters come across a fallen clock tower containing a strange set of magical components, which appear to manipulate time within a localized area.",
						"Discovery of these components leads to an invitation to meet one of two agents: Lynx Creatlach or Sir Ursas. Both are in competition with each another to collect all such missing components, in order to reassemble the {@i Infernal Machine of Lum the Mad}. Each agent pledges to use the {@i Infernal Machine} against devilish forces plaguing the world\u2014but each secretly plans to give it to their own patron archdevil. Both ask for the characters' help, looking to hire them to undertake expeditions to retrieve the missing components. ",
						"Once the characters are involved, they are provided the resources to travel to two legendary locations of the past to recover the {@i Infernal Machine} components believed to be there. First is the Tomb of Horrors, in the period while the infamous dungeon is still under construction. There, they meet the tomb's architect, Moghadam, who oversees the site with an iron hand. The second location is the Temple of Moloch in the same era. The temple is run by Moghadam's chief rival, Thessalar\u2014the inventor of the thessalhydra and many other grotesque monsters, including the owlbear.",
						"The characters must navigate the perils of both locations, manipulate time, and manage untrustworthy agents to return with as many of the missing components as they can. And even then, they must contend with the agents who hired them, and ensure that a completed {@i Infernal Machine of Lum the Mad} does not fall into the wrong hands!",
						{
							"type": "inset",
							"name": "Who's Who",
							"id": "005",
							"entries": [
								"This adventure explores two locations of the distant past, and as such, features artifacts and figures from the deepest history of D&D.",
								"The demilich Acererak and his tomb are familiar from 1978's original Tomb of Horrors and 2017's Tomb of Annihilation. But this adventure also features Tarnhem, Acererak's balor father, and Moghadam, the tomb's architect, both of whom first appeared in the era of 1998's Return to the Tomb of Horrors.",
								"The Temple of Moloch derives from the sample dungeon map appearing in the first edition Dungeon Masters Guide of 1979, and includes the famed statue of Moloch featured on the cover of the first edition Players Handbook from 1978. This version of the dungeon features Thessalar, a figure rumored to have created many of the game's strange monsters\u2014including the thessalhydra, which appeared in the first edition AD&D Monster Manual II and 2019's Stranger Things Starter Set.",
								"As for the centerpiece of the adventure, the artifact known as the Infernal Machine of Lum the Mad first appeared as the Machine of Lum the Mad back in 1976, in original D&D's Supplement III: Eldritch Wizardry. But of course, you are free to modify or swap out any of these elements of D&D canon with artifacts and NPCs more relevant to more recent official storylines, or for better resonance with your own home campaign."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Running the Adventure",
					"id": "006",
					"entries": [
						"To run this adventure, you need the D&D fifth edition core rulebooks\u2014the {@book Player's Handbook|PHB}, the {@book Dungeon Master's Guide|DMG}, and the {@book Monster Manual|MM}.",
						"Most of the monsters that appear in the adventure are from the {@book Monster Manual|MM}, along with a number of creatures from other books (including {@book Volo's Guide to Monsters|VGM} and {@book Mordenkainen's Tome of Foes|MTF}) plus a number of new creatures and NPCs. For easy reference, all the stat blocks for the creatures in the adventure can be found in appendix B. When a creature's name appears in bold type, that's a visual cue pointing you to its stat block in that appendix. Full information on creatures from the {@book Monster Manual|MM}, {@book Volo's Guide to Monsters|VGM}, and {@book Mordenkainen's Tome of Foes|MTF} can be found in those books.",
						"Spells and equipment mentioned in the adventure are described in the {@book Player's Handbook|PHB}. Magic items are described in the {@book Dungeon Master's Guide|DMG}. Where new spells and magic items appear in the adventure, the text directs you to their descriptions in appendix C.",
						{
							"type": "insetReadaloud",
							"id": "007",
							"entries": [
								"Text that appears in a box like this is meant to be read aloud or paraphrased for the players when their characters first arrive at a location or under specific circumstances, as described in the text."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Adventure Hooks",
					"id": "008",
					"entries": [
						"You can bring the characters into this adventure in any way that makes sense for your campaign. Make use of any of the following suggestions, or use them as inspiration.",
						{
							"type": "entries",
							"name": "Lost Laboratory of Kwalish",
							"id": "009",
							"entries": [
								"You can make use of this adventure in conjunction with 2018's Extra Life adventure {@adventure Lost Laboratory of Kwalish|LLK} in one of two ways. If you want to use {@i Infernal Machine Rebuild} as a prelude to {@i Lost Laboratory of Kwalish}, the conclusion of this adventure can involve the characters learning that one of the functions of the {@i Infernal Machine} leads to Kwalish and his hidden laboratory, thought to be within the Barrier Peaks.",
								"As a continuation of {@i Lost Laboratory of Kwalish}, you can use the legendary inventor as a replacement for this adventure's agents, Lynx Creatlach and Sir Ursas. Kwalish has long researched legends about the missing components of the {@i Infernal Machine} scattered across the world. Reaching out to the characters, he tasks them with recovering the missing components, with Lynx Creatlach and Sir Ursas serving as rivals along the way. Kwalish can then send the characters out to investigate the manor of one or both agents, wanting to know how far along each agent is in their reconstruction of the {@i Infernal Machine}."
							]
						},
						{
							"type": "entries",
							"name": "Baldur's Gate: Descent into Avernus",
							"id": "00a",
							"entries": [
								"If you're playing through or using events from {@adventure Baldur's Gate: Descent into Avernus|BGDIA} in your campaign, you might tie that campaign to this adventure in a number of ways.",
								"To enter Candlekeep in {@i Baldur's Gate: Descent into Avernus}, the characters need a book or scroll that isn't already in the library's vast archives. The hags in {@adventure chapter 1|IMR|1} of this adventure possess just such a scroll, which the characters hear about as rumors that lead them to the fey woods. Alternatively, once in Candlekeep, Sylvira Savikas or one of the monks might ask the characters to investigate the corruption of the fey woods as a side quest.",
								"The hags of {@adventure chapter 1|IMR|1} might also be in contact with Mad Maggie. Instead of working for either agent, the characters could be tasked with collecting the missing components for Mad Maggie's outpost. And if the characters are already in Avernus, Lynx Creatlach and Sir Ursas might be operating more openly, and could task the characters with collecting the missing components directly for Bel or Zariel."
							]
						},
						{
							"type": "entries",
							"name": "Dragon Heist or Dungeon of the Mad Mage",
							"id": "00b",
							"entries": [
								"As a continuation of {@adventure Waterdeep: Dragon Heist|WDH}, Volo or Laeral Silverhand could ask the characters to investigate a corrupted fey wood located in the nearby mountains. Or one of the missing components might be found in the Vault of Dragons, with the various factions of {@adventure Waterdeep: Dragon Heist|WDH} replacing the agents in this adventure.",
								"You might choose to place chapter 4's Temple of Moloch somewhere in Halaster's dungeon of Undermountain, whether as part of this adventure scenario or as part of a {@adventure Waterdeep: Dungeon of the Mad Mage|WDMM} campaign.",
								{
									"type": "flowchart",
									"blocks": [
										{
											"type": "flowBlock",
											"name": "Chapter 1: The Unicorn and the Hags",
											"entries": [
												"Traveling through fey woods, the characters find themselves surrounded by dangerous, corrupted trees. \"Rescued\" by a trio of hags disguised as dryads, the characters might choose to help them rid the woods of a supposedly evil unicorn. Alternatively, they might meet the unicorn\u2014actually a good creature under assault by the hags that needs their help to fight back. Either way, they encounter a fallen clock tower holding mysterious magical components that can alter the flow of time."
											],
											"id": "1b0"
										},
										{
											"type": "flowBlock",
											"name": "Chapter 2: An Invitation Extended",
											"entries": [
												"Two agents, Lynx Creatlach and Sir Ursas, compete to hire the characters onto an expedition. Both seek additional components to rebuild the fabled artifact, the {@i Infernal Machine of Lum the Mad}\u2014and are looking to history to find them. The characters choose which of two legendary locations in the ancient past to use as the starting point for their search for the components."
											],
											"id": "1b1"
										},
										{
											"type": "flowBlock",
											"name": "Chapter 3: Construction of Horrors",
											"entries": [
												"Traveling to the distant past, the characters explore a version of the Tomb of Horrors still under construction. To obtain the missing components, they must contend with the tomb's architect, Moghadam, and disrupt the evil ceremony that keeps a powerful balor imprisoned."
											],
											"id": "1b2"
										},
										{
											"type": "flowBlock",
											"name": "Chapter 4: Temple of Moloch",
											"entries": [
												"The characters explore the ancient Temple of Moloch, also known as the laboratory of Thessalar, creator of numerous monsters. To obtain the components, they must contend with Thessalar, his lizardfolk guards, and the temple's monstrous denizens."
											],
											"id": "1b3"
										},
										{
											"type": "flowBlock",
											"name": "Chapter 5: Final Showdown",
											"entries": [
												"The characters return to the present with any components recovered. The agent who receives the components installs them in their framework for the {@i Infernal Machine of Lum the Mad}, while the other agent launches a raid to seize the machine. The characters are forced to determine who retains possession of this powerful artifact."
											],
											"id": "1b4"
										}
									]
								}
							]
						}
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Chapter 1: The Unicorn and the Hags",
			"id": "00c",
			"entries": [
				"Whichever hook you choose, the adventure begins while the characters are traveling through a remote fey wood. If {@i Infernal Machine Rebuild} is played in combination with {@adventure Lost Laboratory of Kwalish|LLK}, this could be part of the thick band of woods surrounding the pass leading into the Barrier Peaks, known to be infused with the power of the Feywild. The High Forest in the Forgotten Realms campaign setting, the Svalich Woods in Barovia, or Xen'drik in Eberron also make excellent starting points.",
				{
					"type": "section",
					"name": "Background",
					"id": "00d",
					"entries": [
						"A large section of a fey-infused woodland has fallen under the control of a coven of green hags. Using dark gardening techniques, the hags have grafted myconids into the trees of the wood, creating dangerous hybrids and a spreading corruption.",
						"Opposing the hags' evil is a female unicorn named Banrion. After years of skirmishes, the hags have driven Banrion to an isolated pinnacle of rock. This pinnacle stands among the ruins of an ancient city that once housed the {@i Infernal Machine}, until Baron Lum the Mad discovered and claimed it for himself. A fallen clock tower still holds some of the machine's components, which retain enough power to manipulate time."
					]
				},
				{
					"type": "section",
					"name": "Who Dwells Here?",
					"id": "00e",
					"entries": [
						"In addition to mundane animals, these woods are populated by numerous fey creatures (including dryads, pixies, sprites, and satyrs). These fey have taken sides in the conflict between the unicorn and the hags, with those corrupted by the hags having gained control over the woods."
					]
				},
				{
					"type": "section",
					"name": "The Three Mothers",
					"id": "00f",
					"entries": [
						"The three {@creature Green Hag||green hags} are intent on capturing the unicorn, Banrion, and corrupting the entirety of the woods. Over time, they have taken on characteristics of certain animals. Mother Stag, their leader, has enormous antlers growing from her head, on which she hangs herb pouches, charms, and dozens of lit candles. Mother Skunk has wide, white streaks in her long black hair. Mother Mole can hardly see, and constantly sniffs the air to find her way about.",
						"Whenever they are encountered, the hags disguise themselves with illusions, making them resemble kindly dryads with their featured animal characteristics.",
						"The trio's hag eye is carried by a {@creature redcap|VGM} named Olitor, who uses it to spy on their behalf. Olitor is likewise disguised as a small, disheveled satyr.",
						{
							"type": "inset",
							"name": "Hag Coven",
							"id": "010",
							"entries": [
								"Three hags form a coven, which results in heightened power. For higher-level characters, run the hags with their coven benefits to make a hard encounter. For lower-level parties, consider removing the coven's Shared Spellcasting. This feature is something the hags gain only after capturing Banrion.",
								"If Banrion joins the fight against the hags, consider providing them a few additional allies to help balance things out. Such allies might include an additional {@creature redcap|VGM} alongside Olitor, or a {@creature myconid sovereign} from the hags' garden."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Banrion the Unicorn",
					"id": "011",
					"entries": [
						"As the guardian of the fey woods, the {@creature unicorn} Banrion has grown weary in her losing battle against the hags, and remains effectively confined to the rocky plateau that is her lair. She defends her home forcefully, and assumes that any characters approaching her position are the hags' hired sellswords."
					]
				},
				{
					"type": "section",
					"name": "The Fey Woods",
					"id": "012",
					"entries": [
						"The characters' journey through the fey woods takes them through the following locations. There is no map for this section of the adventure, so you are free to place these locations anywhere and to use any appropriate forest battle maps for combat.",
						{
							"type": "entries",
							"name": "Dangerous Pathways",
							"id": "013",
							"entries": [
								"As the characters travel deeper into the woods, they find themselves traversing winding pathways that seem to slowly close in from all sides. At the place where the hags' corruption begins to take hold, the plants have become living traps. Read or paraphrase the following to set the scene:",
								{
									"type": "insetReadaloud",
									"id": "014",
									"entries": [
										"Your path through the woods descends along a ridgeline, with the trees crowding together under a dense canopy above. The ground is littered with fallen nuts. Tree trunks are coated in thick patches of fungus, and a musty smell fills the air. Yet despite the rising gloom, vivid sunbeams still shine between the trees."
									]
								},
								{
									"type": "entries",
									"name": "Suspect Fey",
									"id": "015",
									"entries": [
										"At the edge of the corrupt woods, a successful DC 12 Wisdom ({@skill Perception}) check spots a number of corrupt fey ({@creature Sprite||sprites}, {@creature Pixie||pixies}, and {@creature Satyr||satyrs}) watching the characters' progress. If the check is 14 or higher, or if any character with a passive Wisdom ({@skill Perception}) score of 14 studies the fey after they've been spotted, the fey appear mean and grubby. The fey run off if they are noticed, shouting with barely disguised menace to \"enjoy our sunny woods.\""
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Sinister Sunbeams",
							"id": "016",
							"entries": [
								"At some point, the hags attempt to trap the characters\u2014so that they can then facilitate their rescue. To do so, they cause the sunbeams shining through the trees to subtly shift around the characters. A successful DC 14 Intelligence ({@skill Nature}) or Wisdom ({@skill Perception}) check notices that the sunbeams are moving in an unnatural way.",
								{
									"type": "entries",
									"name": "Hazards and Hindrances",
									"id": "017",
									"entries": [
										"The sunbeams act as tripwires, which can trigger a number of possible hazards. Choose from the following (or make up your own effects) depending on your preferred style of play.",
										{
											"type": "entries",
											"name": "Treant Beatdown",
											"id": "018",
											"entries": [
												"Any movement causes the characters to automatically cross a sunbeam, which awakens Grandfather Oak. This corrupted treant has several myconids grafted onto its body. {@creature Grandfather Oak|IMR} uses the {@creature treant} stat block with the following change:",
												{
													"type": "list",
													"items": [
														"The treant has the following action option: {@i {@b Pacifying Spores (3/Day}).} The treant ejects spores at one creature it can see within 5 feet of it. The target must succeed on a DC 17 Constitution saving throw or be {@condition stunned} for 1 minute. The target can repeat the saving throw at the end of each of its turns, ending the effect on itself on a success."
													]
												},
												"The treant attacks using its Animate Trees action to add even more danger to the fight. After 3 rounds of combat, Mother Stag approaches and pretends to drive the treant away. See \"{@area Offer of Help|01c|x}\" below."
											]
										},
										{
											"type": "entries",
											"name": "Perilous Exploration",
											"id": "019",
											"entries": [
												"As the party continues on through the woods, the characters must succeed on three DC 14 group Dexterity checks to avoid crossing the sunbeams. Each character gains a +2 bonus to their check if a ranger or druid is with the party. A failed check triggers a random effect. Roll a {@dice d4} to determine the effect, which targets the character or characters with the lowest check:",
												{
													"type": "list",
													"style": "list-decimal",
													"items": [
														"Heavy, spiked nuts the size of mace heads fall from the trees, dealing 2 ({@dice 1d4}) bludgeoning damage.",
														"Arboreal fungus releases a cloud of toxic spores in the area. The character must succeed on a DC 12 Constitution saving throw or take 3 ({@dice 1d6}) poison damage.",
														"Arboreal fungus releases a cloud of confusion spores. The character must succeed on a DC 12 Constitution saving throw or have disadvantage on the next ability check they make.",
														"A torrent of falling spiked nuts and both types of spores assails the character."
													]
												},
												"Stopping to rest does not forgo the need to make a group check, as the sun moves across the sky and the sunbeams shift around. If the characters move through the woods at night, the moonbeams function in the same way.",
												"After the third group check, Mother Stag arrives to \"assist\" the characters. See \"{@area Offer of Help|01c|x}\" below."
											]
										},
										{
											"type": "entries",
											"name": "A Friendly Voice",
											"id": "01a",
											"entries": [
												"Olitor the {@creature redcap|VGM} (wrapped in the illusion of a diminutive satyr) appears, and warns the characters about the dangers of the sunbeams. He asks them to wait for Mother Stag, who arrives shortly thereafter.",
												"The shifty Olitor tries to engage the characters in conversation, wanting to learn as much about them as possible. Any character who touches Olitor, or who succeeds on a DC 16 Intelligence ({@skill Investigation}) check while watching him carefully, notices details that give the illusion away. If detected in this way, Olitor claims to have pressing business and departs.",
												{
													"type": "inset",
													"name": "I Call Gorgon Spit!",
													"id": "01b",
													"entries": [
														"The hags are not to be trusted, and characters (not to mention players) are often wise to be suspicious even at the best of times. You can adjust the encounters with the dryad-hags according to the players' reactions as you see fit. For example, if the characters are too wary to follow Mother Stag back to the cottage, she can make her appeal immediately and give them the bridle and the crowns in the woods. Or if the characters travel to the cottage and suss out the hags' true nature, the hags might try to threaten the characters into capturing Banrion, or claim that the unicorn is a greater evil\u2014one that might destroy the woods if left unchecked. Especially if the hags' story of Banrion being an evil unicorn seems too unbelievable, the hags can claim that Banrion is a nightmare in fey disguise.",
														"Seeing through the hags' illusions without touching them requires a successful DC 20 Intelligence ({@skill Investigation}) check. But a character who touches one of the hags does not automatically sense that the creature's form is false. The hags' clothing, their hair, and features such as Mother Stag's antlers are all real. Only by touching a hag's skin can a character detect a difference between the illusory form and the real creature beneath it\u2014and the hags attempt to prevent such contact.",
														"If the characters attack and destroy the hags, the cottage can contain a crude map indicating the location of the clock tower bridge if the characters are likely to seek out such a mysterious site on their own. Or one of Banrion's fey servants (a {@creature satyr}, a knightly {@creature sprite} mounted on a {@creature stirge}, and so forth) can be patrolling the area around the hag's cottage, and will invite the characters to meet Banrion in gratitude for them dealing with the hag threat."
													]
												}
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Offer of Help",
									"id": "01c",
									"entries": [
										"At some point, Mother Stag arrives on the scene, playing the part of a helpful dryad. Read or paraphrase the following:",
										{
											"type": "insetReadaloud",
											"id": "01d",
											"entries": [
												"You hear the sound of a singing voice approaching, heralding the arrival of an elderly dryad bearing the features of a stag. Enormous antlers grow from her head, on which hang innumerable herb pouches and charms, as well as dozens of lit candles set on the antlers' points.",
												"\"I am Mother Stag,\" the dryad says. \"Please do not think unkindly of our woods.\" As she walks toward you, she easily steps through the troublesome sunbeams without fear. \"Things here were not always this way, and it troubles me that good travelers should suffer in a place they should instead find tranquil.\""
											]
										},
										"Mother Stag offers to lead the characters to her tree cottage for soothing tea and a brief respite from their weary journey. As long as they journey with her, Mother Stag's power keeps the nefarious magic of the sunbeams at bay. She also admits that if the characters are willing, she would like to ask them for much-needed help.",
										{
											"type": "entries",
											"name": "Change of Plans",
											"id": "01e",
											"entries": [
												"If the characters decide to not accompany Mother Stag to the cottage\u2014or if they attack and kill her before the offer is even made\u2014they can continue through the woods on their own. Call for three more group checks to navigate the sunbeams, after which the characters either come upon the tree cottage or the clock tower bridge, as you determine.",
												{
													"type": "image",
													"href": {
														"type": "internal",
														"path": "adventure/IMR/001-001.png"
													},
													"title": "The Three Mothers",
													"width": 1321,
													"height": 1000
												}
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Tree Cottage of the Three Mothers",
							"id": "01f",
							"entries": [
								"Mother Stag's cottage stands an hour's walk deeper into the woods. While the characters travel with her, they have no trouble with the sunbeams.",
								{
									"type": "insetReadaloud",
									"id": "020",
									"entries": [
										"Within a clearing, three massive trees have grown together, their trunks entwining overhead. A hollow between them forms the interior of a dwelling, with thick branches acting as its roof. Dense patches of mushrooms grow in garden plots around this unique domicile.",
										"\"Our cottage,\" Mother Stag says. \"Our dryad trees\u2014some of the last in these woods that haven't yet succumbed to Banrion's corruption.\""
									]
								},
								"Mother Stag introduces Mother Skunk and Mother Mole, as well as their helper, Olitor (if the characters have not already met him). In their illusory guise as dryads, they offer the characters shelter and delicious food, as well as a healing tea that fully heals any damage or effects from the hazards activated by the sunbeams.",
								"When the characters have partaken of any aid they wish to take, Mother Stag explains that the woods protected by the three mothers have fallen under the influence of an evil unicorn.",
								{
									"type": "insetReadaloud",
									"id": "021",
									"entries": [
										"\"Just as goodly deities assign unicorns to protect sacred places,\" Mother Stag explains, \"Banrion serves an evil god, who sent her to corrupt these peaceful woods. Since her arrival, the dark-hearted unicorn has hunted goodly fey into near extinction, with the help of evil creatures that now serve her.\""
									]
								},
								{
									"type": "entries",
									"name": "The Dryads' Offer",
									"id": "022",
									"entries": [
										"The three mothers offer to serve as guides, leading the characters safely through the woods to their original destination. But in exchange, they ask for assistance in defeating this evil unicorn. They do not want Banrion killed, however. Instead, if the characters can capture the unicorn, Mother Stag claims that they can undo her corruption\u2014and perhaps even convert her to more goodly ways. (In reality, the hags wish to capture the unicorn and force her to become their servant and mount.)"
									]
								},
								{
									"type": "entries",
									"name": "Bridle of Capturing",
									"id": "023",
									"entries": [
										"To help the characters in this task, the three mothers have corrupted a {@item bridle of capturing|IMR} (see {@adventure appendix C|IMR|8}), which can control the unicorn and allow it to be led back to them. (Even though the bridle normally targets only beasts, the hags' magic allows this bridle to target Banrion specifically.)"
									]
								},
								{
									"type": "entries",
									"name": "Crowns of the Forest",
									"id": "024",
									"entries": [
										"The dryad-hags also lend each character a woven crown of willow branches\u2014an uncommon magic item called a {@item crown of the forest|IMR}. They insist that the crowns be worn at all times for the characters' own safety, claiming (truthfully) that the crowns will allow the characters to see the sunbeam tripwires and step safely through them. However, the crowns also intensify the hags' illusion of themselves as dryads and Olitor as a satyr, make the unicorn Banrion appear to be a fiendish, haggard beast, and make the fey in the unicorn's care appear as vicious kobolds.",
										"While wearing a crown, a character automatically fails any Intelligence ({@skill Investigation}) check made to see through an illusion. An illusion that is touched still has its true nature revealed. However, a character wearing the crown has such a strong sense that the illusion is real that they might not know which of their senses to believe.",
										"If a crown is closely examined by a character who succeeds on a DC 20 Intelligence ({@skill Nature}) or Wisdom ({@skill Perception}) check, or with a {@spell detect magic} spell cast using a 3rd-level or higher spell slot, the nature of its magic is discovered."
									]
								},
								{
									"type": "entries",
									"name": "The Mothers' Guidance",
									"id": "025",
									"entries": [
										"The dryad-hags lead the characters toward the clock tower bridge, but are too frightened of the unicorn to approach any closer. They leave Olitor to guide the characters the rest of the way. The satyr-redcap leads the characters to the edge of the ruins before sneaking off to hide and spy on their progress."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "026",
									"entries": [
										"The cottage contains brewer's supplies, cook's tools, 250 gp, five potions (of your choice), and a {@item pot of awakening|XGE} (see {@adventure appendix C|IMR|8})."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Clock Tower Bridge",
							"id": "027",
							"entries": [
								"As the characters make their way toward Banrion's lair, they come across the ruins of an old clock tower, which make an unusual and dangerous bridge.",
								{
									"type": "insetReadaloud",
									"id": "028",
									"entries": [
										"The trees part to reveal the ruins of an ancient city. All that remains are worn flagstones covered in moss and lichen, toppled blocks of weathered stone, and a former tower fallen and now lying stretched across a fifty-foot-wide chasm.",
										"The chasm fully circles an isolated plateau of rock at its center. More ruins rise atop this plateau, including sections of walls held together by the roots of stunted trees. On the near side of the chasm, the base of the fallen tower can be seen, reduced to a broken section of its former ground floor. "
									]
								},
								{
									"type": "entries",
									"name": "Ruins",
									"id": "029",
									"entries": [
										"This city once housed the {@i Infernal Machine} before Lum the Mad conquered those who dwelled here and took the machine with him when he departed. A successful DC 12 Intelligence ({@skill Investigation}) check reveals faded carvings on the stone blocks depicting stylized aspects of daily life (hunting, worship, warfare, and so forth, with humanoid figures dressed in archaic styles of clothing). Graven lines (representing silver wires) are seen throughout the image. Any character who follows the lines discovers that they converge at a huge central representation of a massive magical-mechanical device\u2014the {@i Infernal Machine}."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Fallen Clock Tower",
							"id": "02a",
							"entries": [
								"The collapsed structure crosses the 100-foot-deep chasm and appears extremely unstable. (Banrion can teleport across the chasm, but does so only rarely. Because she can teleport only once per day, she is wary of being stuck on the other side if the hags' servants are nearby.) The foundation of the tower still rests on the forest side of the chasm\u2014and holds the instrument panel that formerly operated the tower's time mechanism.",
								"The characters can attempt to cross over using the fallen tower as a bridge, or they might discover the controls within the foundation that allow the bridge to be stabilized.",
								{
									"type": "entries",
									"name": "Manual Crossing",
									"id": "02b",
									"entries": [
										"A character can attempt to cross the chasm using the exterior of the fallen clock tower as a bridge, or using its interior as a tunnel. Either way, the character must succeed on two DC 14 Dexterity ({@skill Acrobatics}) checks to safely cross. Characters who are roped together gain no benefit for these checks, but are in a better position to help each other if one falls.",
										"On a first failed check, pieces of the tower crumble and fall 100 feet to the bottom of the chasm, but the character is unharmed. On a second failed check, more crumbling rock trips up or batters the character, who takes 4 ({@dice 1d8}) bludgeoning damage and falls. A character who is not roped to another character or some solid part of the tower falls 100 feet, taking {@dice 10d6} bludgeoning damage.",
										"If failed checks cause significant sections of the tower to crumble, you might decide that the DC of the check to climb across increases, or that checks are made with disadvantage."
									]
								},
								{
									"type": "entries",
									"name": "Using the Controls",
									"id": "02c",
									"entries": [
										"Within the foundation of the tower on the near side of the chasm, an instrument panel is built into the wall. Characters who have seen the planar craft in {@adventure Lost Laboratory of Kwalish|LLK} recognize the design of the panel, as well as the silver wires that connect it to the rest of the tower structure.",
										"A successful DC 10 Intelligence ({@skill Investigation}) or Wisdom ({@skill Perception}) check notices two gemstone-like buttons lying on the ground nearby, one a deep red and one a light blue, and both made of some unknown material. The buttons are two of the missing components of the {@i Infernal Machine of Lum the Mad}, as the characters will discover.",
										"Two empty slots in the panel once housed the components before they fell loose. A successful DC 12 Intelligence ({@skill Arcana}) check identifies the components as associated with the transmutation school of magic\u2014and specifically, with the transmutation of time. If the components are placed back in the panel, a successful DC 14 Intelligence ({@skill Arcana}) check allows them to be used to adjust a localized time field surrounding the tower in either direction.",
										{
											"type": "entries",
											"name": "Forward and Back",
											"id": "02d",
											"entries": [
												"The red component allows the time field to be adjusted toward the future. If the check to do so is successful, the tower begins to rapidly age and crumble. If advanced too far, or if any check made to operate the red component is failed by 10 or more, the tower collapses into the valley with a resounding crash.",
												"The blue component allows the time field to be adjusted toward the past. If the check to do so is successful, the tower begins to revert back to its original condition. If this process is stopped before the tower returns to its standing position, it becomes a stable bridge that can be crossed without ability checks.",
												"Adjusting the time field affects only the tower. Other creatures and objects that might happen to be in or on the tower at the time remain unaffected."
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Banrion's Lair",
							"id": "02e",
							"entries": [
								"The rocky plateau beyond the chasm holds the crumbled shell of an ancient castle. Banrion the unicorn makes her home here, along with a number of goodly fey who shelter in a network of tiny tunnels within the ruins. Having long been hunted by the hags and their evil servants, these fey\u2014including sprites, pixies, and good boggles and satyrs\u2014are too weak and terrified to help in any fight.",
								"The {@creature unicorn} Banrion defends her home and its inhabitants with her life. If the characters threaten or attack her here, she fights to the finish, refusing to teleport away. But if the characters have peaceful intent (most likely because they saw through the dryad-hags' ruse, or they simply want to assess Banrion's nature themselves), they can approach unarmed and announcing themselves. With appropriate roleplaying or a DC 16 Charisma ({@skill Persuasion}) check, Banrion accepts that the characters mean her no harm. If the hags are still at large, she beseeches the characters to help her defeat them.",
								{
									"type": "entries",
									"name": "Banrion's Offer",
									"id": "02f",
									"entries": [
										"If the characters agree to fight the hags, Banrion joins them. But she asks that before the fight, the characters help escort the fey living in the ruins across the bridge, then manipulate the fallen clock tower back to its standing position. This seals off her plateau defensively, denying it to the hags in case she falls. (If she survives, the unicorn remains able to teleport across the chasm.) In this way, the characters discover the tower's controls if they have not already.",
										"If asked, Banrion knows only that the clock tower was once part of an ancient city. She describes its controls as \"a magical machine of gems and silver,\" but has not approached too closely for fear of the magic it radiates. As for who built the city, she cannot say, as it fell to ruin even before her time.",
										{
											"type": "inset",
											"name": "Who's Who",
											"id": "030",
											"entries": [
												"In D&D canon, Lum the Mad discovered an artifact of unknown origin (reimagined in this adventure as technology from a crashed planar craft) and used it to conquer large territories in Greyhawk's world of Oerth.",
												"Opposing him was his former general, Leuk-O, who discovered a second artifact\u2014a \"relic of a visiting race of space travelers.\" This magic suit of powered armor became known as the {@i Mighty Servant of Leuk-O}."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "031",
									"entries": [
										"If the stones and small tunnels beneath the plateau are searched, a successful DC 14 Intelligence ({@skill Investigation}) check uncovers ten lengths of silver wire carefully twisted by the fey into delicate sculptures honoring Banrion. As art objects, the sculptures are worth 50 gp each."
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Aftermath",
					"id": "032",
					"entries": [
						"If Banrion is bridled, she must obey the characters as they deliver her to the dryad-hags. Assuming the characters don't uncover the hags' deception (or if they don't care), the unicorn's fate is a sad one, as the woods fall under the Three Mothers' corruption. ",
						"In this event, some time after the characters depart, they are visited by a knightly {@creature sprite} on a {@creature stirge} mount, who has hunted the party down to demand a duel by combat. He explains what the characters have really done, and offers to lead the characters back to the woods to right their wrongs if they can be persuaded to.",
						"If the characters defeat the hags, Banrion returns to prominence and drives the rest of the wicked fey out of the woods. Before the characters depart, she asks them to once more use the panel at the clock tower bridge, adjusting time back toward the past. Combined with her own magical influence, this allows the unicorn to separate the myconids from the trees, returning the woods to their former condition.",
						{
							"type": "entries",
							"name": "Components",
							"id": "033",
							"entries": [
								"With the hags defeated, Banrion has no further need for the clock tower panel's magical power. She insists that the characters take the two components, both as a reward and as items worthy of magical study. (She is also keen to ensure that the panel can never be used again to adjust time, in case doing so causes the hags or their corruption to return).",
								"If the characters research the components or the ancient city, a successful DC 18 Intelligence ({@skill Arcana} or {@skill History}) check leads to the discovery that the city was the site from which Lum the Mad seized the great artifact that bears his name\u2014and that the two components were once part of that artifact.",
								"Regardless of whether the characters take the missing components, their activity in the woods is eventually noted by spies of the two agents, {@creature Lynx Creatlach|IMR} and {@creature Sir Ursas|IMR} (introduced in {@adventure chapter 2|IMR|2}). If Olitor survives, the no-longer-disguised redcap is one of those spies, and has quietly worked for Lynx for years even while serving the hags."
							]
						}
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Chapter 2: An Invitation Extended",
			"id": "034",
			"entries": [
				"After the characters return from the woods (or at any appropriate time depending on which adventure hooks you've used), the party is sought out by two competing agents. {@creature Lynx Creatlach|IMR} and {@creature Sir Ursas|IMR} are both searching for any missing components from the {@i Infernal Machine of Lum the Mad}, and their spies have returned with news of the characters' knowledge or possession of the components from the clock tower. The agents look to meet with the characters, acquire the components they've found, and engage them to help find more.",
				"If you did not run chapter 1, or if the party bypassed the clock tower entirely, you can have the agents simply contact the characters based on their reputation. Recovering the missing components is not a task for the faint of heart, and Lynx and Sir Ursas are looking for capable adventurers to help them.",
				{
					"type": "section",
					"name": "Background",
					"id": "035",
					"entries": [
						"Two archdevils\u2014Zariel and Bel\u2014have longed battled for control over Avernus, the first layer of the Nine Hells. To advance their cause, both archdevils plan to rebuild the {@i Infernal Machine of Lum the Mad}, then incorporate that artifact into a powerful infernal war machine. To this end, both devils have placed competing agents into the world, tasking them with collecting as many of the missing components of the {@i Infernal Machine of Lum the Mad} as possible.",
						"These agents, Lynx Creatlach and Sir Ursas, know of one another and of their competing agendas. They each desire to meet the characters separately, hoping to engage them to collect more of the needed missing components.",
						"Through their own research of legends, ancient texts, journals, and the like (as well as spying on one another), both agents have located additional missing components. However, recent expeditions to the locations described in these texts has proven fruitless, with the missing components revealed as lost, destroyed, or locked away beyond mortal reach. Each agent now desires to launch a new expedition to these locations\u2014but to a different time in the past when the missing components might still be recoverable."
					]
				},
				{
					"type": "section",
					"name": "The Two Agents",
					"id": "036",
					"entries": [
						"The two agents reside in or close to the characters' current city or home base. If you are playing through {@adventure Baldur's Gate: Descent into Avernus|BGDIA}, you can arrange for both agents to reside in Baldur's Gate, where they seek the characters out after they arrive. Lynx and Sir Ursas both send couriers to deliver invitations to their respective manors.",
						{
							"type": "entries",
							"name": "Special Delivery",
							"id": "037",
							"entries": [
								"The two agents remain engaged in a constant war of espionage against one another. Even their couriers (both neutral human {@creature Spy||spies}) compete to deliver their respective invitations first. Roll on the Courier Conflict table to determine the outcome of the couriers' mission.",
								{
									"type": "table",
									"caption": "Courier Conflict",
									"colLabels": [
										"d100",
										"Result"
									],
									"colStyles": [
										"col-2 text-center",
										"col-10"
									],
									"rows": [
										[
											"01\u201312",
											"Lynx's courier (dressed entirely in white) arrives well ahead of Sir Ursas's courier. After delivering the invitation, the courier warns them against Ursas's courier (who is dressed entirely in black), and asks for help setting traps against the courier's arrival."
										],
										[
											"13\u201324",
											"Lynx's courier arrives just ahead of Sir Ursas's courier. After delivering the invitation, the first courier waits nearby to ambush the second, in a location obvious to the characters."
										],
										[
											"25\u201337",
											"Lynx's courier arrives and Ursas's never shows. Lynx's courier has already murdered their rival and hastily stashed the body, which is easily and eventually found in the area by the characters (along with the second invitation)."
										],
										[
											"38\u201350",
											"As 01\u201312 above, only Ursas's courier arrives well ahead of Lynx's."
										],
										[
											"51\u201362",
											"As 13\u201324 above, only Ursas's courier arrives just ahead of Lynx's."
										],
										[
											"63\u201374",
											"As 25\u201337 above, only Ursas's courier arrives and Lynx's never shows."
										],
										[
											"75\u201390",
											"Both couriers arrive at the same time, and begin fighting immediately."
										],
										[
											"91\u201300",
											"Both couriers have killed each other, with the characters stumbling across their bodies and both invitations."
										]
									]
								},
								{
									"type": "entries",
									"name": "Invitation",
									"id": "038",
									"entries": [
										"Each invitation extends a formal welcome to the characters and a request to meet in person. The contents are short on details beyond the agent's name, but the invitation promises a lucrative reward for services rendered that will benefit all good and free folk, and includes a map to the respective agent's manor.",
										"Due haste is also advised. Each invitation makes it clear that another, less scrupulous agent is interested in the characters as well, and cautions them against the machinations of this rival.",
										"(Though both agents serve their patron archdevils with fierce loyalty, they are oddly loath to reveal the truth of the other agent's master and their rival's fiendish nature, for fear of their own master and nature being revealed in turn.)"
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Assignment",
							"id": "039",
							"entries": [
								"When first met, each agent extends the same offer. If the characters have not already determined so on their own, the agent explains that the components they found originated in the {@i Infernal Machine of Lum the Mad}. They then offer to pay for those components already in the characters' possession, and to pay a handsome bounty for the recovery of any additional components\u20142,000 gp for each component (negotiable up to 4,000 gp, especially if there's a competing offer from the other agent in play).",
								"If the characters accept, the agent they strike the deal with provides them with information on where to seek the next missing components, as well as a special construct guide programmed to transport them through space and time to reach the site."
							]
						},
						{
							"type": "entries",
							"name": "Lynx Creatlach",
							"id": "03a",
							"entries": [
								"Presenting herself as a tiefling rogue, {@creature Lynx Creatlach|IMR} talks of how she retired as an adventurer to use her assembled fortune and collected antiquities in the service of nobler causes. Chief among those causes is the defeat of the servants of the archdevil Bel. An eccentric dilettante, Lynx has had her thick horns intricately carved and inlaid with sigils and figures in silver, including multiple images of her namesake lynx. She has also lost one eye from old adventuring misfortunes, replacing it with a glass eye of hazy crystal. Several of her teeth have also been replaced with precious stones and metals.",
								"In truth, Lynx is an active agent of Zariel but is no longer among the living. Rather, she's a lawful evil undead tiefling, with her skeleton specially crafted to retain her former skills and intellect, and bonded to an equally special flesh golem that she wears as a costumed skin. (If you are playing through {@adventure Baldur's Gate: Descent into Avernus|BGDIA}, this setup was one of Mad Maggie's creations while the hag was in Zariel's employ.) Beneath this golem costume, Lynx's bones are carved and silver-scribed in the same manner as her horns. She uses her skull, which is locked and accessed from inside the back of her mouth, as a container for her most private treasures.",
								{
									"type": "entries",
									"name": "Lynx's Manor",
									"id": "03b",
									"entries": [
										"Lynx resides in a narrow, multistory house in a fine part of the city. While she claims ownership of the place, she has merely taken over the manor from its current owner. That owner (whose identity is left to your determination) is kept alive and bound within an extradimensional prison, treated as a permanent {@spell Leomund's tiny hut} held inside a permanent {@spell rope trick} spell that can be opened only by Lynx. When the rope from the spell hangs down, it is disguised as a curtain pull in the manor library.",
										"If the characters accept Lynx's invitation, she meets them while strolling the long hallways of her manor, the walls of which are filled with fine paintings. Rather than noting their artists or subjects, however, Lynx describes each painting based on where she stole it from.",
										{
											"type": "entries",
											"name": "Servants",
											"id": "03c",
											"entries": [
												"The house is also occupied by a dozen servants\u2014all {@creature Cultist||cultists} of Zariel disguised in stolen livery."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Lynx's Goal",
									"id": "03d",
									"entries": [
										"Lynx states that she seeks the missing components in order to complete her version of the {@i Infernal Machine of Lum the Mad}. Her plan is to use the powerful artifact to counteract the forces of the archdevil Bel working within Baldur's Gate. She admits a rivalry with Sir Ursas, who she says considers Lynx a criminal for her past adventuring ways and now constantly seeks to thwart her. Lynx further states that Sir Ursas wants the missing components for his own lost cause of leading a war in the Nine Hells, which would invariably result in the components falling into diabolical hands.",
										"As she talks with the characters, Lynx relates that several of the missing components are mentioned in various legends surrounding the Tomb of Horrors, but recent expeditions sent to the tomb have all failed to return. Lynx believes that an expedition should instead be sent to an earlier time in the tomb's construction, when the missing components are known to be there. She further theorizes that existing components of the {@i Infernal Machine} (either those the characters have brought to her, or those already in her possession) could allow time to be manipulated in some localized fashion within the tomb.",
										"Lynx is aware that Sir Ursas has knowledge of other missing components that might relate to an ancient Temple of Moloch."
									]
								},
								{
									"type": "entries",
									"name": "Mechanical Guide",
									"id": "03e",
									"entries": [
										"Lynx has pulled a component from her version of the {@i Infernal Machine} and installed it in a magical construct resembling a silvery skeleton with decorative wings, nicknamed Eludecia. (If you connect this adventure to {@adventure Lost Laboratory of Kwalish|LLK}, the construct has been built from one of Kwalish's old designs.) If the characters possess any missing components, she asks to buy those so that they can be added to the construct as well.",
										"See the \"{@area Mechanical Guides|047|x}\" section below for information on Eludecia's statistics. The construct travels with the characters, and can magically teleport them to either the Tomb of Horrors or the Temple of Moloch, transporting the party to either location in the distant past."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Sir Ursas",
							"id": "03f",
							"entries": [
								"The warrior {@creature Sir Ursas|IMR} strikes an imposing figure\u2014a massive, muscular warrior with one arm replaced with a grizzly bear's paw grafted at the elbow. He grows his dark hair long and shaggy, his eyes are bloodshot, and his complexion is consistently ruddy as if from some combination of exercise, exertion, and bellowing at subordinates. Ursas proudly claims to be the very figure depicted in {@i A Paladin in Hell}\u2014a painting that has become famous throughout Faerûn\u2014and that he lost his arm on that expedition, fighting the forces of the archdevil Zariel.",
								"However, Sir Ursas is hardly the honorable knight he presents himself as. He is secretly a warrior in the service of Bel, and has sworn vengeance against all those who would oppose Bel and the archdevil's struggle to reclaim Avernus\u2014especially followers of Zariel.",
								"See appendix B for Sir Ursas's stat block.",
								{
									"type": "image",
									"href": {
										"type": "internal",
										"path": "adventure/IMR/002-002.jpg"
									},
									"title": "A Paladin in Hell",
									"width": 1200,
									"height": 1550
								},
								{
									"type": "entries",
									"name": "Sir Ursas's Manor",
									"id": "040",
									"entries": [
										"Sir Ursas resides in a veritable stronghold located outside the city limits. Its grounds are surrounded by a vast and intricate hedge maze under a permanent {@spell guards and wards} spell. Any creature navigating the maze on their own without guidance must succeed on a DC 18 Wisdom saving throw or become disoriented and lost. Such creatures are unable to find their way to the manor, as all paths appear to only exit the maze.",
										"If the characters accept his invitation, Ursas meets them at the maze's entrance and guides them to an ornate gazebo in a hidden courtyard to talk.",
										{
											"type": "entries",
											"name": "Servants",
											"id": "041",
											"entries": [
												"The stronghold is also occupied by a dozen mercenaries\u2014all {@creature Cultist||cultists} of Bel who appear as burly and brutish fighters."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Sir Ursas's Goal",
									"id": "042",
									"entries": [
										"Ursas states that he seeks the missing components in order to complete his version of the {@i Infernal Machine of Lum the Mad}. When complete, the powerful artifact will allow him to finish the military campaign he started long ago, letting him return to Avernus and take on the forces of Zariel. Further, he is open about his rivalry with Lynx. He claims that the retired rogue is after the missing components only to add them to her collection of stolen rarities, and that she has no intention of putting them into the service of good.",
										"As he talks with the characters, Sir Ursas relates that several of the missing components are mentioned in legends surrounding an ancient Temple of Moloch. Recent expeditions there have found the temple ruined and looted, and the missing components are long gone. Ursas believes that an expedition should instead be sent to an earlier time in the temple's history, when the missing components are known to be there. He further theorizes that existing components of the {@i Infernal Machine} (either those the characters have brought to him, or those already in his possession) could allow time to be manipulated in some localized fashion within the temple.",
										"Ursas is aware that Lynx has knowledge of other missing components that might relate to the Tomb of Horrors."
									]
								},
								{
									"type": "entries",
									"name": "Mechanical Guide",
									"id": "043",
									"entries": [
										"Sir Ursas offers the characters the services of a magical construct built to resemble a smaller version of the {@i Mighty Servant of Leuk-O}, and which is nicknamed Luke. The construct is powered by one of the {@i Infernal Machine} components Ursas has collected. If the characters possess any missing components, he asks to buy those so that they can be added to the construct as well.",
										"See the \"{@area Mechanical Guides|047|x}\" section below for information on Luke's statistics. The construct travels with the characters, and can magically teleport them to either the Temple of Moloch or the Tomb of Horrors, transporting the party to either location in the distant past."
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Expedition Options",
					"id": "044",
					"entries": [
						"This adventure is designed to provide plenty of options for you as the DM, and to help give the players a strong sense of agency and choice.",
						{
							"type": "entries",
							"name": "Agents",
							"id": "045",
							"entries": [
								"The characters can ally themselves with either agent, whether choosing to deal with the first agent they meet, or meeting both before making a choice. They might even meet with both in order to play one against the other. They might distrust both agents and ally with neither, instead undertaking the adventure on their own to capture the missing components and prevent them falling into the wrong hands. In the latter case, you simply need to arrange for them to gain access to their own mechanical guide, whether through theft, purchase, or an alternative patron (such as Kwalish)."
							]
						},
						{
							"type": "entries",
							"name": "Locations",
							"id": "046",
							"entries": [
								"Depending on which agent they ally themselves with, the characters will initially travel to either the Tomb of Horrors or the Temple of Moloch. If you want to focus on only one location in the adventure, that's fine. But plot hooks and NPC interactions at each location give you lots of opportunity to inspire or compel the characters to travel to the second location, either after or in conjunction with exploring the first location."
							]
						},
						{
							"type": "entries",
							"name": "Mechanical Guides",
							"id": "047",
							"entries": [
								"Each mechanical guide is programmed to teleport through space and time to the adventure's set locations, effectively dropping the characters at the start of {@adventure chapter 3|IMR|3} or {@adventure chapter 4|IMR|4}. Each guide can return to its agent's manor at any time.",
								"Each guide is an unaligned Medium construct with AC 20, 50 hit points, and a speed of 20 feet. It has no attacks, and has a +0 modifier for all its ability scores.",
								"Each guide has 6 charges, and regains {@dice 1d6} expended charges daily at dawn. Teleporting itself and the party to either adventure locale or back to its home manor costs a guide 1 charge. A guide can also be commanded to spend 1 or more charges to manipulate time in the local area at either adventure location. See \"{@area Manipulating Time|049|x}\" below for more information.",
								"All damage dealt to a guide can be restored during a long rest with a successful DC 14 Dexterity check using thieves' tools or tinker's tools. A damaged guide can also be restored to full hit points by the use of a {@spell mending} spell or similar magic. If reduced to 0 hit points, the guide is destroyed and no longer functions\u2014possibly stranding the characters in the distant past. {@adventure Chapter 3|IMR|3} and {@adventure chapter 4|IMR|4} each offer appropriate suggestions for how the characters might repair or replace a destroyed guide.",
								"Each guide follows the party and obeys all the characters' commands. If two characters issue commands to the guide at the same time, you decide how the commands are resolved.",
								{
									"type": "entries",
									"name": "Working Both Sides",
									"id": "048",
									"entries": [
										"If the characters meet with both agents, they might agree to work for both without the other agent knowing. In that case, it's possible that they acquire both mechanical guides. You can decide whether the programming of the two constructs causes them to bicker and one-up each other\u2014or whether each guide attempts to sabotage and destroy its counterpart. Or you might decide that they develop a mutual respect for each other, perhaps even becoming friends as a result of their shared adventures. If on friendly terms, a guide can restore any damage dealt to its counterpart during a short rest, by willingly sacrificing parts for the other."
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Manipulating Time",
					"id": "049",
					"entries": [
						"The ability to manipulate time at either the Tomb of Horrors or the Temple of Moloch is a fun part of the adventure, so make sure the players are clear on the parameters for doing so. The following information reflects what the characters learn from the mechanical guide they work with:",
						{
							"type": "list",
							"items": [
								"The {@i Infernal Machine} components placed into the mechanical guides allow the characters to order a guide to spend 1 or more charges to alter time within individual areas of the Tomb of Horrors and the Temple of Moloch. If the localized time in an area at either site can be altered, that area's description has a \"Manipulating Time\" section, detailing the effects that result when a mechanical guide spends charges to alter the flow of time in that area.",
								"A guide spends 1 or more charges using its action. Commanding a guide to spend a charge requires no action.",
								"Neither the characters nor the agents know in advance which rooms are subject to localized time effects, which areas can be affected by multiple charges, whether spending charges advances or rewinds time, or if the effects will be helpful, harmful, or simply wondrous in nature. Ultimately, some amount of experimentation might be necessary."
							]
						},
						"By spending 1 or more charges in an area, a mechanical guide alters the flow of time within that area in a limited way. As time flows forward or backward, the characters see the area and its occupants move like ghosts into the future or the past, then settle back into the normal time frame once more. As was seen at the clock tower in chapter 1, this time manipulation affects only the immediate area and that area's original inhabitants. The characters, any creatures accompanying them, and any creatures that enter the area while time is shifting are not affected.",
						"For example, having a mechanical guide spend 1 or more charges in a specific room might cause that room's occupants to move to a different location, as local time speeds forward or back to a point when those occupants are going on or off duty, starting or ending a rest period, and so on. The characters and other outside observers see the affected occupants retreating or advancing in time, but cannot interact with them.",
						"Once the affected creatures arrive at their new time and location, they start acting as they normally would from that point forward. This means that creatures going back in time have their memories revert, such that they forget any interactions with characters in the area they just left. Likewise, time-manipulated creatures will suddenly \"discover\" characters if they encounter them in the area where they return to normal time.",
						"By manipulating time in either adventure locale, NPCs and monsters can be moved into new positions so that combat can be avoided (even if that combat is already underway). Likewise, characters who fail badly in negotiations with NPCs can try to wind back the clock to replay those negotiations as desired."
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Chapter 3: Construction of Horrors",
			"id": "04a",
			"entries": [
				"The Tomb of Horrors is one of the most legendary dungeons in the multiverse. Shaped by the demilich Acererak as a testing ground for would-be heroes\u2014and as a place to steal the souls of those heroes whose skills where found wanting\u2014the tomb has claimed countless lives over millennia, and even some of the most hardened adventurers would think twice about entering those deadly halls. But by going back into the past, the characters have a chance to explore a version of the Tomb of Horrors that few have ever seen, and to engage one of the world's deadliest dungeons on their own terms.",
				{
					"type": "section",
					"name": "Background",
					"id": "04b",
					"entries": [
						"According to legend, Acererak was a tiefling fathered by a balor named Tarnhem. In his youth, he studied spellcasting under Vecna, and has since become an archmage of surpassing evil. While researching the means to achieve lichdom, Acererak built a number of dungeons and tombs, including his famed Tomb of Horrors. Those dungeons were created partly as a means to draw out and defeat those adventurers driven to seek and destroy him\u2014and partly to claim those adventurers' souls to feed his phylactery.",
						"Even after Acererak eventually became an archlich whose dark plots would threaten the world, he left behind the Tomb of Horrors as a monument to his greatness. But in its earliest stages, the tomb was a very different sort of place.",
						"By traveling to the Tomb of Horrors in the past, the characters arrive with the place still under construction. The artificer Moghadam serves as the tomb's chief architect, overseeing its construction in initial areas dug out by enthralled umber hulks and refined by master artisans. As part of the unprecedented levels of magic used to create the deadly traps in the Tomb of Horrors, Moghadam has installed several of the missing components from the {@i Infernal Machine of Lum the Mad} at the site. These components are used to draw magical energy from the life force of creatures sacrificed on Acererak's orders\u2014including the archmage's own father, the balor Tarnhem.",
						"Over the years of the tomb's construction, Moghadam and his rival artificer, Thessalar, have competed fiercely against each other's endeavors. Moghadam takes pleasure in having lured away several sculptors from Thessalar's temple to help with the tomb's construction. He has also recently sent a party of thieves and a master gemsmith to his rival's temple, instructing them to steal the temple's two most famous gems\u2014set into the eyes of a great statue of Moloch\u2014for use in the creation of Acererak's jeweled demilich skull. Unfortunately, those thieves have failed to return, and are presumed captured by Thessalar."
					]
				},
				{
					"type": "section",
					"name": "Who Dwells Here?",
					"id": "04c",
					"entries": [
						"This version of the Tomb of Horrors takes place in the distant past, when various legendary figures of in-game history (Acererak included) still operate as mere mortals. Several of such figures have been included as NPCs, but you should not treat this adventure's approach to those characters as canon. Rather, use them to flesh out this particular adventure in \"what-if\" fashion. Alternatively, if you prefer not to populate the adventure with such prominent names, you can substitute those characters with unnamed general NPCs who can fill the same roles.",
						"Some of the NPCs in this section of the adventure (including Moghadam) are a much more potent threat than characters of the lower levels suggested for the adventure can safely deal with. The players should be forewarned that their characters should treat with such legendary figures carefully\u2014a warning that is repeated by whichever agent the characters are dealing with.",
						{
							"type": "entries",
							"name": "Moghadam",
							"id": "04d",
							"entries": [
								"A legendary evil human artificer, Moghadam has long sought out interesting challenges for his immense intellect. As such, he considers the design of the Tomb of Horrors to be his masterwork. If questioned about his motivations, he claims that Acererak took his family hostage, and will not release them until Moghadam completes his work. The truth is that the artificer has no family. He delights in creating despair, and works on the tomb in the hope that his name will go down alongside Acererak's in legend.",
								"Moghadam competes with a rival artificer named Thessalar, who operates out of a temple dedicated to Moloch some distance away. Moghadam has lured away several of Thessalar's expert sculptors to come work on the tomb, promising them great wealth that he has no intention of paying. More recently, the architect sent his own expert gemsmith along with a group of thieves to the Temple of Moloch, so that they might steal the gemstone eyes from its most famous statue. However, the thieves were captured, and Moghadam is now without the gemstones or his gemsmith, and plots the means to seize both.",
								"See {@adventure appendix B|IMR|7} for {@creature Moghadam|IMR|Moghadam's} stat block."
							]
						},
						{
							"type": "entries",
							"name": "Nolzur",
							"id": "04e",
							"entries": [
								"Fated to one day become a spellcaster of great renown, Nolzur (a neutral male human {@creature master thief|vgm}) has not yet begun to hone his magical art in this time, but has already started a specialization in alchemy that will one day lead to the crafting of such items as his famed {@item Nolzur's marvelous pigments}. In this age, Nolzur most recently studied with Thessalar, learning secrets of alchemy and infusing his own blood with strange and dangerous properties. Moghadam learned of all this and captured Nolzur. He is now held in the tomb, with his blood used as a base material for magic pigments.",
								{
									"type": "inset",
									"name": "Who's Who",
									"id": "04f",
									"entries": [
										"According to game lore, Nolzur belonged to the Company of Seven, a famed group of adventurers whose names are immortalized in spells, artifacts, and magic items such as {@item Keoghtom's ointment}, {@item Quaal's feather token}, {@item Heward's handy haversack}, and {@spell Tasha's hideous laughter}. Nolzur was a noted thief, illusionist, and alchemist, most famous for creating {@item Nolzur's marvelous pigments}."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Pentival",
							"id": "050",
							"entries": [
								"A lawful good male half-dragon paladin in the service of Pelor, Pentival ventured to the tomb worksite along with several fellow paladins, drawn by rumors of a powerful balor bound there. Acererak spread these rumors, relying on combat between Pentival and Tarnhem to weaken them both, after which he could capture and imprison them for his own purposes.",
								"Pentival uses the {@creature half-red dragon veteran} stat block, but has the form of a gold dragon. He can be found in the chapel of evil ({@area area 14|093|x}), forced to take part in the evil ceremony there. Though Pentival has been forced to watch his fellow paladins succumb one by one to the ceremony, he has so far held out, his devotion somehow keeping him alive."
							]
						},
						{
							"type": "entries",
							"name": "Phenex",
							"id": "051",
							"entries": [
								"An {@creature incubus} cleric of Vecna, Phenex came to this world by way of the jungles of Chult. He first occupied an abandoned temple filled with girallons, where Acererak found and recruited him with promises of power and glory.",
								"Although Phenex remains fanatically loyal to Vecna (even to the point of removing one of his eyes and his left hand), Acererak finds him useful to his own cause as well. (The mortal Acererak still ostensibly pledges his own faith to Vecna at this time.) Since arriving at the tomb along with many of his girallons, Phenex has magically grafted on a second set of arms, making him resemble something of a girallon himself. "
							]
						},
						{
							"type": "entries",
							"name": "Tarnhem",
							"id": "052",
							"entries": [
								"A powerful {@creature balor} and Acererak's father, Tarnhem has been tricked into imprisonment by his son. Above all else, the demon desires his freedom, and is willing to promise anything to those who can offer it to him."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Missing Components",
					"id": "053",
					"entries": [
						"The missing components of the {@i Infernal Machine} at this location can be found in the chapel of evil ({@area area 14|093|x}), worked into the altar. They resemble the components found at the clock tower in {@adventure chapter 1|IMR|1}, being gemstone-like buttons made of some unknown material, all a deep sapphire blue."
					]
				},
				{
					"type": "section",
					"name": "Mechanical Guide",
					"id": "054",
					"entries": [
						"If the characters' mechanical guide is lost or destroyed while they explore the Tomb of Horrors, you can make use of a number of options to keep the characters from remaining stranded in the past. Moghadam might offer to repair or rebuild the guide for a suitable price, and Thessalar makes the same offer if an overland trek is made to reach him. (The sculptors in the tomb possess maps showing the way to the Temple of Moloch.) Tarnhem might also be able to help restore a fallen guide using his powerful fiendish magic, but only if the characters are willing to make a deal with the demon and free him."
					]
				},
				{
					"type": "section",
					"name": "Exploring the Tomb",
					"id": "055",
					"entries": [
						"Compared to the original {@adventure Tomb of Horrors|TftYP} adventure, this version of the tomb is still in the early stages of its construction. Areas 1 to 18 match the well-known maps of the tomb closely, but the sections of the tomb beyond those areas have not yet been constructed.",
						"Numbered locations are keyed to the map on page 18.",
						{
							"type": "entries",
							"name": "Hillside",
							"id": "056",
							"entries": [
								"From the characters' arrival point, a busy vista unfolds at the construction site.",
								{
									"type": "insetReadaloud",
									"id": "057",
									"entries": [
										"Construction of the Tomb of Horrors is well underway, focused on three tunnels being dug into the north end of a flat-topped hill covered in ugly weeds, thorns, and briars. An active workers' camp occupies the north end of the hill, above the tunnels."
									]
								},
								"The rocky hill into which the tomb is being built is approximately six hundred feet wide, nine hundred feet long, and sixty feet high. Characters who ascend the hill to search the top discover a number of large black rocks dumped there. (The rocks will later be placed into the pattern of a grinning humanoid skull). A successful DC 18 Intelligence ({@skill Arcana}, {@skill Nature}, or {@skill Religion}) check identifies the rocks as the remains of living creatures that have been reshaped to stone by dark magic. (These are the remains of worshipers from {@area area 14|093|x}.)",
								{
									"type": "entries",
									"name": "Entrance Portals",
									"id": "058",
									"entries": [
										"The three openings across the north side of the hill lead to areas 1 to 3. With a successful DC 12 Wisdom ({@skill Perception}) check, characters atop the hill can observe umber hulks and their handlers traveling to and from {@area area 2|062|x}, and humanoid workers moving to and from {@area area 3|065|x}. {@area Area 1|05e|x} appears deserted."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "059",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes several workers to emerge from inside the tomb, hauling a large black rock to add to the pile atop the hill."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Workers' Camp",
							"id": "05a",
							"entries": [
								"A number of tents along the north side of the hill house the tomb's workers, their food storage, equipment depots, latrines, and so forth. These workers include two dozen neutral dwarves split into two gangs. A surly, browbeaten lot, they have no interest in who the characters are or what their business at the tomb is. If talked to, they grumble about their poor food and lack of pay, with the two groups blaming each other for every worksite mishap and grievance. They flee into the tomb if threatened, but fight with picks and shovels if cornered.",
								"Each {@creature Dwarven Worker|IMR|worker} uses the {@creature cultist} stat block with the following changes:",
								{
									"type": "list",
									"items": [
										"They are neutral, have a speed of 25 feet, and speak Common and Dwarven.",
										"They have {@sense darkvision} out to a range of 60 feet.",
										"They have advantage on saving throws against the {@condition poisoned} condition and resistance to poison damage.",
										"They have a +4 bonus to Intelligence ({@skill History}) checks related to the origin of stonework.",
										"Their attacks with picks or hammers are treated as a scimitar attack that deals bludgeoning or piercing damage."
									]
								},
								{
									"type": "entries",
									"name": "Umber Hulk Handlers",
									"id": "05b",
									"entries": [
										"Three neutral evil dwarf {@creature Cult Fanatic||cult fanatics} wear spiky leather armor and serve as handlers for the pair of umber hulks found in {@area area 2|062|x}. They know certain command words that magically compel the hulks' obedience. The handlers carry long hooked poles to prod the hulks, and which are also enchanted to magically open and close the stone slab in {@area area 2|062|x}.",
										"If approached, the handlers refer characters to Moghadam in {@area area 1|05e|x}. If combat breaks out, they flee to {@area area 2|062|x} and release the umber hulks, ordering them to dispose of the intruders. They step up to fight for themselves only if all else fails."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "05c",
									"entries": [
										"Little of value can be found in the camp aside from personal effects. These effects include several letters offering high wages for construction workers, signed by Moghadam."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "05d",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes a number of the dwarves to erupt into squabbling, allowing the characters to approach any of the tomb entrances without notice.",
										{
											"type": "gallery",
											"images": [
												{
													"type": "image",
													"href": {
														"type": "internal",
														"path": "adventure/IMR/003-map-1-1.jpg"
													},
													"title": "Map 3.1: the Tomb of Horrors (Under Construction)",
													"width": 2352,
													"height": 2698
												},
												{
													"type": "image",
													"href": {
														"type": "internal",
														"path": "adventure/IMR/004-map-1-1-player.jpg"
													},
													"title": "(Player Version)",
													"width": 2352,
													"height": 2698
												}
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "1. Office of the Artificer",
							"id": "05e",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "05f",
									"entries": [
										"This entrance opens up to a large stone chamber. At the far end, an intense-looking man stands behind a large stone table covered in a dense layer of plans, drawings, and other documents. Tiny wax golems, their heads all lit wicks of flame, flit about the place, keeping the objects under his gaze well illuminated.",
										"The man raises his head and intones: \"So, you've come to engage in this grand endeavor. Are you miners, sculptors, artists? Or, I suspect, something else entirely?\""
									]
								},
								"{@creature Moghadam|IMR} the artificer manages the design and construction of the Tomb of Horrors from this office. He knows he has nothing to fear from the characters, and has little personal loyalty to Acererak. As such, he is happy to listen to any tale the characters tell, and to entertain any deal they might offer.",
								{
									"type": "entries",
									"name": "Moghadam's Bargain",
									"id": "060",
									"entries": [
										"Moghadam knows about the {@i Infernal Machine} components in the tomb, and is quick to negotiate with the characters for them. In truth, he has no intention of parting with them and looks to subvert any deal, ideally by luring the characters to the evil chapel ({@area area 14|093|x}).",
										{
											"type": "image",
											"href": {
												"type": "internal",
												"path": "adventure/IMR/005-003.png"
											},
											"title": "Moghadam",
											"width": 872,
											"height": 1000
										},
										"The artificer talks of having a number of tasks that the characters can help him with, and says he will trade the components for either of the following:",
										{
											"type": "list",
											"items": [
												"The characters must travel to the Temple of Moloch (see {@adventure chapter 4|IMR|4}) to rescue the gemsmith Seodra and any surviving thieves sent there. They must then help those operatives complete their mission to steal the gemstone eyes from the temple's greatest statue.",
												"The characters can instead travel to the temple to facilitate a prisoner exchange, taking Nolzur and some of the sculptors working the tomb to exchange for the gemsmith."
											]
										},
										"The distance between the Tomb of Horrors and the Temple of Moloch is left to your determination, as are the details of the overland journey. If you don't want to play out that journey, the characters' mechanical guide can use its teleportation ability to take them to the temple.",
										"If the characters have already been at large within the tomb and caused trouble, Moghadam might decide he's better off being rid of them. In that event, he might offer to trade the components in exchange for the characters meeting with Phenex and assisting in his ceremony (expecting that the priest will dispense with them), or recapturing the balor if the characters' actions have freed it (hoping that the resulting battle finishes the characters off).",
										"If the characters enter into a deal with Moghadam, he writes them a magic pass that allows them to travel the tomb without being attacked by the girallons therein. Moghadam can communicate telepathically with anyone carrying a pass, and can teleport into an unoccupied space next to anyone carrying a pass."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "061",
									"entries": [
										"The stone table here is the first piece of stone cut for the tomb's excavation. It holds a number of important documents of Moghadam's creation, including the master map of the tomb. This map features a notation in Undercommon: \"The true master of the tomb is he who plans its construction.\"",
										"Characters who have a chance to look around this area can also find {@item calligrapher's supplies|PHB}; a {@item forgery kit|PHB}; {@item Spell Scroll||spell scrolls} of {@spell arcane lock}, {@spell glyph of warding}, and {@spell legend lore}; a {@item wand of secrets}; and a strongbox containing 30 pp."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "2. Umber Hulk Pen",
							"id": "062",
							"entries": [
								"Before its eventual conversion into a false tomb entrance, this tunnel is being used to house a mated pair of umber hulks used as labor for the tomb's construction. During the day, they carve out tunnels for the tomb. At night and while their handlers take breaks, they are kept behind a 10-foot-thick stone block that is magically slid across the tunnel.",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "063",
									"entries": [
										"The two {@creature Umber Hulk||umber hulks} have symbols magically scribed on their mandibles by Moghadam, placing them under the effect of a permanent {@spell dominate monster} spell. Their handlers (at area B when the characters first arrive) know the command words that compel the hulks into service.",
										"Unless ordered otherwise, the umber hulks stay in this area, defending themselves if necessary. If the characters are at the tomb site long enough, they might witness the umber hulks carving out new areas of the dungeon in the blank part of the map."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "064",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the umber hulks to either return here to rest if they are elsewhere, or to depart for the tomb to begin work, opening or closing the stone slab accordingly."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "3. Entrance to the Tomb",
							"id": "065",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "066",
									"entries": [
										"This broad tunnel is currently being shaped into the tomb's elaborate entryway. This is an active site, featuring a number of artisans working by lantern light to plaster the walls and paint them with bright, colorful murals. Other artisans are covering the floor in an elaborate mosaic featuring a distinct winding path of red tiles, some of which cross over a series of open pits."
									]
								},
								"This area is noisy with the sounds of hammering and stone cutting coming from the west (areas 8 and 10). If the umber hulks are digging, a rumbling can also be heard to the east. But even over all that, the characters can hear a rhythmic chanting coming from the south (carried from the chapel of {@area area 14|093|x} by the magic of Phenex's ceremony).",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "067",
									"entries": [
										"Twelve neutral {@creature Tiefling Muralist|IMR|tiefling muralists} work here, constantly mixing fresh pigments to be applied to the plaster walls. A muralist uses the {@creature cultist} stat block with the following changes:",
										{
											"type": "list",
											"items": [
												"It knows the {@spell thaumaturgy} cantrip.",
												"It has resistance to fire damage.",
												"It has {@sense darkvision} out to a range of 60 feet.",
												"It speaks Common and Infernal."
											]
										},
										"A successful DC 14 Wisdom ({@skill Perception}) check made by any character looking over the pigments being prepared identifies the ingredients as including impossibly bright-red blood. If questioned, the muralists talk of working in the tomb in the service of its art, which transcends all other concerns. They direct the characters either to {@creature Moghadam|IMR} or onward to Phenex in response to any other questions."
									]
								},
								{
									"type": "entries",
									"name": "Murals",
									"id": "068",
									"entries": [
										"If the murals are examined, read the following (from the original {@adventure Tomb of Horrors|TftYP}):",
										{
											"type": "insetReadaloud",
											"id": "069",
											"entries": [
												"The scenes painted show fields with kine grazing, a copse with several wolves in the background, slaves (human, orc, elf, and strange human-animal mixture: pig-human, ape-human, and dog-human) going about various tasks. Certain of the frescoes show the rooms of some building: a library filled with many books and scrolls, a torture chamber, a wizard's workroom. Chairs, windows, boxes, bales, doors, chests, birds, bats, spiders, and all manner of things are shown on the walls."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Looking South",
									"id": "06a",
									"entries": [
										"The muralists' lantern light illuminates the north half of this area. The details of {@area area 6|072|x} are visible only when characters with {@sense darkvision} or a light source move close enough to the end of the hall."
									]
								},
								{
									"type": "entries",
									"name": "Open Pits",
									"id": "06b",
									"entries": [
										"In several places, the winding mosaic path crosses over a series of open pits yet to be covered and concealed. The first four pits are each 10 feet deep and empty except for refuse.",
										"The pit leading to {@area area 7|076|x} is 30 feet deep and contains a ladder. Characters who watch this area long enough see the muralists periodically climb down into this pit, then later return with vials of bright-red blood (claimed from Nolzur in {@area area 7|076|x}) to be mixed into new pigments."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "06c",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes one of the muralists to descend the southernmost pit to collect more blood from Nolzur (held in {@area area 7|076|x}). If Nolzur has been rescued, the muralists report this to Moghadam, who rallies available workers to hunt for the missing thief."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "4. Side Entrance",
							"id": "06d",
							"entries": [
								"This section of the wall has not yet been plastered or painted over, leaving an open doorway leading west. The pit before the doorway is crossed by a series of wooden planks."
							]
						},
						{
							"type": "entries",
							"name": "5. Control Room",
							"id": "06e",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "06f",
									"entries": [
										"Through a stone archway, several banks of panels and instruments can be seen lining the walls. They crackle with sparks of eldritch energy, their dials and controls moving of their own volition."
									]
								},
								"Commissioned by Acererak, the wizard Tuerny built these controls for the balor's prison in area 6. A successful DC 12 Intelligence ({@skill Arcana} or {@skill Investigation}) check identifies a number of silver wires that lead from these controls into area 6 and are attached to the imprisoned balor.",
								"Anyone attempting to disrupt the controls or the wires must succeed on a DC 13 Constitution saving throw or take 11 ({@dice 2d10}) force damage. The controls and the wires are self-repairing, and cannot be severed or destroyed. However, if the ceremony is disrupted, the controls here can be set to free the balor.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "070",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area drains more energy from the balor, causing him to fall {@condition unconscious} in area 6.",
										{
											"type": "inset",
											"name": "Who's Who",
											"id": "071",
											"entries": [
												"The wizard Tuerny was the creator of the long-lost artifact called the {@i Iron Flask of Tuerny the Merciless}, used to trap demons, devils, and other creatures. This artifact later became the model for the lesser-but-still-legendary magic of the iron flask. According to lore, Tuerny became a nalfeshnee demon before vanishing from history."
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "6. Captive Balor",
							"id": "072",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "073",
									"entries": [
										"At the end of this hall, some sort of horrible binding process is underway. A balor is held against the wall, pressed in against the stonework design of a great green devil's face. A black sphere holds the demon in place, and appears to be slowly draining away its essence."
									]
								},
								"The balor {@creature Tarnhem|IMR} is bound here by the magic of Acererak, who has fashioned a device from a {@item sphere of annihilation} that slowly drains away Tarnhem's essence to fuel the magical workings of the tomb.",
								"A successful DC 12 Intelligence ({@skill Investigation}) check identifies a number of silver wires attached to the Balor and running to the control room ({@area area 5|06e|x}). Anyone attempting to disrupt the controls or the wires must succeed on a DC 13 Constitution saving throw or take 11 ({@dice 2d10}) force damage. The controls and the wires are self-repairing, and cannot be severed or destroyed.",
								{
									"type": "entries",
									"name": "Bargaining with Tarnhem",
									"id": "074",
									"entries": [
										"If the characters are free to speak with Tarnhem, the balor asks them to disrupt the ceremony in the chapel ({@area area 14|093|x}), and then set the controls in {@area area 5|06e|x} to release him. To convince them to do so, the fiend promises anything within his power. As a show of good faith, he can relate how to safely open the treasure chests in {@area area 13|08f|x}, and how his weapons have been taken to the chapel ({@area area 14|093|x}) and worked into the altar there.",
										"{@creature Tarnhem|IMR} uses the {@creature balor} stat block with the following changes:",
										{
											"type": "list",
											"items": [
												"While held, Tarnhem is {@condition incapacitated} but can still speak.",
												"Until he recovers his weapons from the chapel, his Longsword and Whip actions are replaced by the following action option: {@i {@b Fist of Retribution}.} {@i Melee Weapon Attack}: +14 to hit, reach 10 ft., one target. {@i Hit}: 13 ({@dice 2d4 + 8}) bludgeoning damage plus 7 ({@dice 2d6}) fire damage."
											]
										},
										"If released, Tarnhem upholds any agreement he made to not harm the characters. He instead focuses his wrath on Moghadam and Phenex, hunting both down before vanishing into the rift to the Lower Planes in {@area area 16|09e|x}.",
										"If the balor is released, the sphere binding him becomes a {@item sphere of annihilation} and is unmoored. It travels throughout the tomb at random, though is confined by the tomb's magic to stay within its rooms and corridors rather than boring through the walls. This sphere can be controlled as normal while within the tomb, but it cannot leave.",
										"If Tarnhem is not freed, the balor is eventually drained away to become part of a horrible monument. His life force fuels the black sphere in the mouth of the great green devil face in this area when the Tomb of Horrors is complete."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "075",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area reverts Tarnhem to an earlier period before so much of his life force was drained, awakening him if he is {@condition unconscious}."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "7. Forsaken Prison",
							"id": "076",
							"entries": [
								"A narrow crawl space leads here from the southernmost pit in the entrance hall ({@area area 3|065|x}). At the bottom of a 10-foot drop at the end of the crawl space, a miserable cell holds a solitary prisoner. The artisan Nolzur (a neutral male human {@creature master thief|vgm}, but he is reduced to 1 hit point) has been captured and held here, his alchemical blood continually drained to create the magic pigments used to paint the tomb's murals. The muralists drain him with tools crafted from the beaks of stirges, keeping him barely alive with healing magic.",
								"Nolzur is too weak to escape on his own, but if rescued and provided healing and nourishment, he gladly aids the characters in any way. This includes telling the characters the general layout of the Temple of Moloch, and revealing Thessalar's vulnerability to magic potions and salves that restore hit points (see \"{@area Who Dwells Here?|0b4|x}\" in {@adventure chapter 4|IMR|4}).",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "077",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes one of the muralists to arrive here to collect more blood, for use in either {@area area 3|065|x} or 10. Spending 2 charges also restores a measure of health to Nolzur, equivalent to the effect of a {@spell cure wounds} spell."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "8. Sculptors' Workroom",
							"id": "078",
							"entries": [
								"This workspace is used by a number of neutral human sculptors creating objects for use in the tomb. Five are present when the characters first enter this area, watched over and assisted by a {@creature girallon|VGM}. The sculptors (use the {@creature cultist} stat block) traveled here from the Temple of Moloch under the false promise of fabulous payment for helping construct the tomb. They have since found themselves unable to leave.",
								"The sculptors seek assistance to escape the tomb, and provide whatever information they know in exchange for aid. They can relate how the rest of the sculptors (in {@area area 10|081|x}) are devising a means of escape using a set of superior {@item mason's tools|PHB} hidden there, and that these tools can also weaken the eidolon in the Temple of Moloch (see {@area area 25|13a|x} in {@adventure chapter 4|IMR|4}). They also know that the muralists are loyal to Moghadam and cannot be trusted.",
								"The rhythmic chanting magically carried into {@area area 3|065|x} grows louder in this area.",
								{
									"type": "inset",
									"name": "Nolzur's Gift",
									"id": "079",
									"entries": [
										"If the characters help him escape from the Tomb of Horrors, Nolzur later sends them a set of his {@item Nolzur's marvelous pigments}, which magically arrives wherever and whenever they end up after the adventure is done. The delivery also contains a small, unpainted miniature figure representing each character. Each figure is a tiny clockwork device. If painted and kept on hand, the figures secretly animate to help the characters with small tasks whenever they sleep."
									]
								},
								{
									"type": "entries",
									"name": "Creatures",
									"id": "07a",
									"entries": [
										"Under the command of Phenex ({@area area 14|093|x}), the {@creature girallon|VGM} has been ordered to obey the sculptors as they work, but to not allow them to leave the tomb. The creature carries torches in two hands to provide light for the sculptors. With the other two, it hands out hammers, chisels, and other tools as needed.",
										"The girallon challenges the characters unless they bear one of Moghadam's magical passes. In combat, it uses the implements it holds as weapons. Use the statistics for the girallon's claw attack, but a hammer attack deals bludgeoning damage and a chisel attack deals piercing damage. A torch attack deals bludgeoning damage plus 2 ({@dice 1d4}) fire damage."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "07b",
									"entries": [
										"The girallon wears a golden armband (worth 250 gp) on one of its left arms, scribed by Moghadam with magical symbols that place the creature under the effect of a permanent {@spell dominate monster} spell. Phenex ({@area area 14|093|x}) knows the command words that compel the girallon into service."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "07c",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the girallon to leave. Roll a {@dice d4}. On a 1\u20132, the girallon checks in with Moghadam in {@area area 1|05e|x}. On a 3\u20134, it goes to see Phenex in {@area area 14|093|x}."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "9. Artisans' Chambers",
							"id": "07d",
							"entries": [
								"This connected series of rooms are currently being used as small apartments and storerooms for the muralists and sculptors laboring inside the tomb. The rooms are small, sparse, and minimally furnished.",
								"The rhythmic chanting magically carried into {@area area 3|065|x} grows louder in this area.",
								{
									"type": "entries",
									"name": "Treasure",
									"id": "07e",
									"entries": [
										"These areas contain only personal effects, including several invitations sent from Moghadam for employment at the tomb and offering exorbitant wages. As well, one of the artisans has a map showing the overland route from the Temple of Moloch to the Tomb of Horrors."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "07f",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes {@dice 1d4 + 1} artisans to either return here from their labors, or depart for their work."
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Exploring the Tomb (areas 10-18)",
					"id": "080",
					"entries": [
						{
							"type": "entries",
							"name": "10. Great Hall of Spheres",
							"id": "081",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "082",
									"entries": [
										"This area is being crafted into a second grand hall. Like the entrance hall, it is a busy and noisy work site. A number of artisans are plastering the walls and painting them with bright, colorful murals that include large spheres of different colors. Other artisans work at stone cutting. Watching over them all is a massive four-armed girallon, helping to light the area by holding torches in each of its hands."
									]
								},
								{
									"type": "entries",
									"name": "Creatures",
									"id": "083",
									"entries": [
										"Five neutral human sculptors (use the {@creature cultist} stat block) originally from the Temple of Moloch are here creating stonework for the tomb. Desperate to escape, they are working on a secret plan.",
										"Eight neutral tiefling muralists are plastering and painting, as well as covering the floor with inlaid tiles. They use the same statistics and respond to questions in the same way as the muralists in {@area area 3|065|x}.",
										"The {@creature girallon|VGM} is under orders to obey the workers but not to allow them to leave the tomb. It challenges the characters unless they bear one of Moghadam's magical passes, using the torches as weapons. Use the statistics for the girallon's claw attack, but a torch attack deals bludgeoning damage plus 2 ({@dice 1d4}) fire damage."
									]
								},
								{
									"type": "entries",
									"name": "Murals",
									"id": "084",
									"entries": [
										"If the murals are examined, read the following (from the original {@adventure Tomb of Horrors|TftYP}):",
										{
											"type": "insetReadaloud",
											"id": "085",
											"entries": [
												"The walls are being painted with figures of animals, strange signs and glyphs, and humanoids posing with spheres of different colors."
											]
										},
										{
											"type": "entries",
											"name": "Golden Sphere",
											"id": "086",
											"entries": [
												"Only one of the spheres has special significance: a golden sphere located in the northwest corner that covers the entrance to area 11. The entrance can be noticed behind the sphere, whose magic does not yet fully conceal it. However, that magic prevents anyone carrying any gold or wearing any clothing that is gold in color from passing through the sphere."
											]
										},
										{
											"type": "entries",
											"name": "Open Passageway",
											"id": "087",
											"entries": [
												"One section of the east wall has not yet been plastered or painted over, revealing the passageway to the chapel ({@area area 14|093|x}). The rhythmic chanting magically carried into {@area area 3|065|x} grows louder still at the entrance to the passageway. A successful DC 14 Wisdom ({@skill Perception}) check identifies the chanting as belonging to some sort of ritual involving enchantment magic."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "088",
									"entries": [
										"The girallon wears a golden armband (worth 250 gp) on one of its left arms, scribed by Moghadam with magical symbols that place the creature under the effect of a permanent {@spell dominate monster} spell. Phenex ({@area area 14|093|x}) knows the command words that compel the girallon into service."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "089",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the girallon to leave. Roll a {@dice d4}. On a 1\u20132, the girallon checks in with Moghadam in {@area area 1|05e|x}. On a 3\u20134, it goes to see Phenex in {@area area 14|093|x}."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "11. Escape Room",
							"id": "08a",
							"entries": [
								"The sculptors have utilized this side chamber to plan their escape, though none of them are present when the characters first come here.",
								"The room is occupied by a life-sized sculpture of a winged girallon. Once it is finished, the sculptors plan to animate the statue using the information from half a {@item manual of stone golems} in their possession. The manual was torn in half and taken from the Temple of Moloch, where the other half still resides. If brought to life, the statue uses the {@creature stone golem} stat block, and the sculptors use it to attack the tomb's girallon guards and flee.",
								"If the characters earn the trust of the sculptors, the sculptors estimate completing the statue will take three days. They ask the characters to help buy them this time.",
								{
									"type": "entries",
									"name": "Treasure",
									"id": "08b",
									"entries": [
										"The partial {@item manual of stone golems} is hidden beneath a pile of rocks in the corner of the room, and can be found with any search of the area. Even incomplete, it is worth 500 gp.",
										"Additionally, the sculptors store a set of superior {@item mason's tools|PHB} here. These tools grant advantage when used to make an appropriate crafting check, and are worth 500 gp."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "08c",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area either brings the statue one day of work closer or further from completion (a {@chance 50|50 percent} chance for either)."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "12. False Doors",
							"id": "08d",
							"entries": [
								"To gain time to complete their statue in area 11, the sculptors spend much of their time building, destroying, and rebuilding a number of false doors here in the great hall. Two such doors are marked at area 12 on the map.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "08e",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area creates or removes a false door at random."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "13. Chamber of Three Chests",
							"id": "08f",
							"entries": [
								"This treasury holds resources for the construction of the tomb, including precious metals and gemstones stored here for safekeeping. A number of bones from former prisoners and creatures lie heaped about these materials, acting as magical guardians for three chests\u2014one made of gold, one made of silver, and one made of oak.",
								"The three locked chests can be opened with a successful DC 14 Dexterity check using thieves' tools. However, doing so triggers this area's protective magic.",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "090",
									"entries": [
										"Opening the gold chest causes the bones in the room to assemble into a {@creature giant skeleton|TftYP}. Opening the silver chest results in the bones becoming a {@creature skeletal juggernaut|GoS}. Opening the oak chest creates a {@creature skeletal swarm|GoS} from the bones. If more than one chest is opened, these monsters each assemble in turn, with the next appearing when the previous threat is destroyed. However, if all three chests are opened simultaneously, the bones remain inanimate."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "091",
									"entries": [
										"Panels meant for the tomb's walls are stored here. Each panel is approximately 2 feet wide and 3 feet long, weighs 20 pounds, and is crafted from various materials of differing value:",
										{
											"type": "list",
											"items": [
												"Twenty gleaming copper panels (worth 25 gp each)",
												"Twenty silver panels (50 gp each)",
												"Ten panels of rare woods inlaid with ivory (150 gp each)",
												"Five panels of ivory with gold inlaid (500 gp each)"
											]
										},
										"The three chests hold the following:",
										{
											"type": "list",
											"items": [
												"The gold chest has four {@item Potion of Greater Healing||potions of greater healing}, a {@item potion of flying}, and a {@item potion of poison}.",
												"The silver chest contains {@item Spell Scroll||spell scrolls} of {@spell guards and wards}, {@spell summon lesser demons|XGE} (see {@adventure appendix C|IMR|8}), and {@spell teleportation circle}; and a {@item wand of web}.",
												"The oak chest holds 278 pp, ninety-seven small gems (worth 10 gp each), and a peridot (5,000 gp)."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "092",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes any currently active animated skeletal creature to grow weaker or stronger. Roll a {@dice d4}. On a 1\u20132, the creature halves its hit points. On a 3\u20134, the creature doubles its hit points."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "14. Chapel of Evil",
							"id": "093",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "094",
									"entries": [
										"The chanting heard throughout the tomb originates in this chapel, whose pews are filled with more than two dozen worshipers\u2014and, oddly, with two large chunks of rough black stone. The chapel appears dedicated to Vecna, decorated with artwork and symbols in honor of the god of evil secrets. The worshipers, all humanoid, appear exhausted as they continue their chant. As you watch, one of them collapses\u2014and is suddenly and horrifyingly {@condition petrified} into another chunk of black stone.",
										"At the far end of the chapel, a handsome priest stands behind an altar block that glows an opalescent blue. The priest is missing his left eye and hand, but has a second set of arms grafted to his body. All three of his arms gesture as if directing the worshipers like a conductor. Two girallons flank him, each of them also missing an eye and hand.",
										"The priest smiles and gestures for you to enter the chapel and take a seat. And the chanting fills your mind with a desire to obey..."
									]
								},
								{
									"type": "entries",
									"name": "Creatures",
									"id": "095",
									"entries": [
										"The roughly thirty humanoids here (use the {@creature cultist} stat block) include loyal cultists pressed into service, workers being punished, and captured prisoners. None of the worshipers (except Pentival; see below) can take any actions beyond continuing to chant as long as the priest, Phenex, commands them.",
										{
											"type": "entries",
											"name": "Pentival",
											"id": "096",
											"entries": [
												"One of the prisoners includes the lawful good half-dragon paladin Pentival. Drawn to the temple by rumors of its bound balor, Pentival and his party were quickly captured. All his friends have succumbed to the magic of the temple and been transformed into black rock, but Pentival has so far held out. Of all the worshipers, he alone can communicate with the characters, quickly explaining who he is and the nature of the ceremony.",
												"If freed, Pentival joins the characters for the remainder of their time at the tomb. He uses the {@creature half-red dragon veteran} stat block, but has the form of a gold dragon. However, he insists on keeping Tarnhem imprisoned, and on attempting to destroy Moghadam."
											]
										},
										{
											"type": "entries",
											"name": "Phenex",
											"id": "097",
											"entries": [
												"An {@creature incubus} cleric of Vecna, Phenex directs the dark ceremony here. As long as he commands the worshipers (using a bonus action each round), they maintain their chant.",
												"In combat, Phenex first orders the girallons to attack. As needed, he then uses his Charm action to force a character or Pentival to defend him. Due to his fanatic devotion, Phenex does not use his Etherealness action to escape a fight, but remains in the chapel to the bitter end."
											]
										},
										{
											"type": "entries",
											"name": "Girallons",
											"id": "098",
											"entries": [
												"The two girallons that protect Phenex have each had a left hand and eye removed. They use the {@creature girallon|VGM} stat block but can make only three claw attacks as part of their multiattack action."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Ceremony",
									"id": "099",
									"entries": [
										"As long as the worshipers chant, the ceremony fueling the balor's prison ({@area area 6|072|x}) remains active. They continue to chant while they are physically able and while Phenex commands them. The ceremony fuels Phenex as well, allowing him to maintain it without need for sustenance or sleep.",
										"Anyone entering the chapel while the ceremony is underway must succeed on a DC 15 Wisdom saving throw or fall under an effect equivalent to a {@spell mass suggestion} spell. While a character is under this effect, Phenex can direct them to sit and join the ceremony. Any character who does so takes up the chant, and has their Constitution score reduced by 1 each round on initiative count 0. A character reduced to 0 hit points while under this effect dies and has their body and all possessions transformed into a chunk of black rock (see below). A character under the effect of the ceremony can make another saving throw at the end of each turn, ending the effect with a success.",
										"(This version of the ceremony is more potent than that suffered by the other worshipers, who would otherwise have all turned to black rock by now. Phenex is concentrating his magic in an effort to defeat the characters.)",
										"If Phenex is defeated, any remaining worshipers immediately cease chanting and collapse into exhausted unconsciousness. Once a character is freed from the ceremony and out of combat, their hit point maximum is restored at a rate of 1 hit point per round. Anyone transformed into a black rock unfortunately remains in this condition."
									]
								},
								{
									"type": "entries",
									"name": "Black Rocks",
									"id": "09a",
									"entries": [
										"When a worshiper's life energy has been drained by the ceremony, they are transformed into a large black rock, carried out of the tomb, and set on the hillside (where they'll eventually form the image of a grinning skull). A {@spell greater restoration} or {@spell wish} spell can end the {@condition petrified} condition for one victim, restoring them and their gear."
									]
								},
								{
									"type": "entries",
									"name": "Altar",
									"id": "09b",
									"entries": [
										"This block of strange material glows with an inner light of opalescent blue, owing to the missing components of the {@i Infernal Machine of Lum the Mad} wired into its workings. There are three such components, each a deep sapphire blue. Removing one component safely requires a successful DC 14 Dexterity check using thieves' tools, jeweler's tools, or tinker's tools.",
										"In addition, Tarnhem's flaming whip and lightning-imbued longsword have also been worked into the altar. On a failed check to remove a missing component, these weapons cast a {@spell lightning bolt} or a {@spell fireball} at the character making the check (a {@chance 50|50 percent} chance for either spell; save DC 16 for both). If Tarnhem is freed, he comes here directly to recover these weapons, and is the only creature that can do so. Anyone else attempting to claim them automatically triggers a {@spell lightning bolt} or a {@spell fireball}."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "09c",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area reverts one of the black rocks back to a living worshiper."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "15. Secret Door",
							"id": "09d",
							"entries": [
								"A secret door here leads to a hallway beyond. The door is unlocked and can be found with a successful DC 18 Wisdom ({@skill Perception}) check."
							]
						},
						{
							"type": "entries",
							"name": "16. Rift to the Lower Planes",
							"id": "09e",
							"entries": [
								"The ceremony that summoned Tarnhem resulted in an unstable rift to the Lower Planes opening up in this area. The far end of the hallway is scribed with glyphs and sigils, and leads to an open fiery pit\u2014a portal to the Abyss. The unstable magic of the portal prevents any creature that is not a fiend from stepping through it. If Tarnhem is freed, he eventually comes this way and escapes.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "09f",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes a ripple in the rift's magic, allowing a creature to pass through it into the tomb. Roll a {@dice d6}. On a 1\u20135, treat this effect as a {@spell summon lesser demons|XGE} spell. On a 5\u20136, treat it as a {@spell summon greater demon|XGE} spell. (See {@adventure appendix C|IMR|8} for both those spells.) Pick one character at random to be treated as the summoner."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "17. Flooding Pit",
							"id": "0a0",
							"entries": [
								"The corridor beyond the secret door at {@area area 15|09d|x} contains three open 10-foot-deep pits. Lying at the bottom of each pit, a number of skeletons are shackled to the walls. In addition, the outline of a door on the south wall of each pit can be seen.",
								{
									"type": "image",
									"href": {
										"type": "internal",
										"path": "adventure/IMR/006-004.png"
									},
									"width": 420,
									"height": 420
								},
								{
									"type": "entries",
									"name": "Flooding Trap",
									"id": "0a1",
									"entries": [
										"The first two pits are trapped, such that anyone trying the false door at the bottom causes a stone slab to slide across the opening, the skeletons to animate (see below), and the pit to begin filling with water. It takes 5 rounds to completely fill a pit, leaving no air space at the top. After one hour, the slab opens and the water drains away.",
										"A successful DC 20 Strength check allows a character inside or outside the pit to pry the slab open, allowing escape from the pit. A character proficient with mason's tools can also make a DC 18 Dexterity check using those tools, cracking open the slab on a success."
									]
								},
								{
									"type": "entries",
									"name": "Creatures",
									"id": "0a2",
									"entries": [
										"The first pit contains four humanoid {@creature Skeleton||skeletons}. The second contains two umber hulk exoskeletons (use the {@creature minotaur skeleton} stat block, but treat its greataxe attack as a claws attack and its gore attack as a mandibles attack). The third looks like it contains the skeleton of a large wolf-headed humanoid, but a successful DC 13 Wisdom ({@skill Perception}) check reveals that the creature is a mix of humanoid and animal bones. The bones do not animate.",
										"When either of the first two pits are sealed, the skeletons within animate. They remain shackled to the walls, but attack any character in the pit to hinder any attempt to escape from the flooding chamber."
									]
								},
								{
									"type": "entries",
									"name": "True Doorway",
									"id": "0a3",
									"entries": [
										"The third pit contains an actual door leading to area 18."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0a4",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area opens one closed pit at random, or closes one pit at random if all the pits are open."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "18. Guardian Door",
							"id": "0a5",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "0a6",
									"entries": [
										"A mithral door in the stone wall resembles the figure of a flattened tortle, its arms and legs extended to the four corners, and its shell carved with a complete map of the tomb. Its head is turned in profile, its eye set with a gleaming gem."
									]
								},
								"When any character approaches the door, the tortle's head animates and intones: \"Are you the master?\"",
								{
									"type": "entries",
									"name": "Opening Riddle",
									"id": "0a7",
									"entries": [
										"The door unlocks automatically for Moghadam or Seodra the gemsmith. To anyone else, it repeatedly asks, \"Who is the master?\" The correct answer to the question can be found in Moghadam's office ({@area area 1|05e|x}): \"The true master of the tomb is he who plans its construction.\" With any answer other than that phrase or the name \"Moghadam,\" the door replies that the speaker is not the master and refuses to open."
									]
								},
								{
									"type": "entries",
									"name": "Soul Gem",
									"id": "0a8",
									"entries": [
										"The door's eye is gem set with a smaller version of one of a demilich's soul gems. The gem can be removed only by a character proficient with jeweler's tools who succeeds on a DC 13 Dexterity check using the superior jeweler's tools found in {@area area 31|151|x} of {@adventure chapter 4|IMR|4}. A successful check removes the soul gem, which destroys the gem and unlocks the door.",
										"A character who attempts to remove or destroy the gem in any other way must succeed on a DC 13 Constitution saving throw or take 11 ({@dice 2d10}) force damage."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0a9",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the door to intone: \"The master does not resort to feeble manipulations of a clock to open this door. You are not the master.\""
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "18a. Gemsmith's Workshop",
							"id": "0aa",
							"entries": [
								"Seodra, a master gemsmith in the employ of Moghadam, maintains her workshop here, although she is currently a prisoner in the Temple of Moloch (see {@adventure chapter 4|IMR|4}).",
								{
									"type": "insetReadaloud",
									"id": "0ab",
									"entries": [
										"Beyond the door, a series of overlapping curtains embroidered with a pattern of silvery spiderwebs drape across a stairway leading down."
									]
								},
								{
									"type": "entries",
									"name": "Curtains",
									"id": "0ac",
									"entries": [
										"The first three curtains are sheets of thick webbing that function as the product of the {@spell web} spell. The fourth is a disguised {@creature trapper|VGM} kept by Seodra as a pet, and which attacks anyone who passes by it except Seodra and Moghadam.",
										"Once the characters move beyond the curtains, read:",
										{
											"type": "insetReadaloud",
											"id": "0ad",
											"entries": [
												"This workshop features a number of tables covered in {@item jeweler's tools|PHB} and materials\u2014including three large diamonds. Set against the back wall is a couch upholstered in golden cloth, on which rests a headless body outfitted in elaborate robes."
											]
										},
										"When the first character descends the stairs, the body rises to its feet."
									]
								},
								{
									"type": "entries",
									"name": "Creature",
									"id": "0ae",
									"entries": [
										"The body is a {@creature greater zombie|TftYP}, used by Seodra as a manikin and animated assistant. It automatically stands up whenever anyone enters the workshop, but does not attack unless Seodra's gems are touched (see below)."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "0af",
									"entries": [
										"In addition to a set of {@item jeweler's tools|PHB}, one worktable contains plans for crafting the jeweled silver skull of a demilich. The three large diamonds (worth 1,000 gp each) have already been cut and fashioned into teeth. These are meant for the skull currently in Seodra's possession (see {@adventure chapter 4|IMR|4})."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0b0",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the manikin to approach the table and indefinitely pantomime searching for its missing head. Spending 2 charges causes it to search briefly, then settle back down to the couch, where it remains inert until anyone new enters the workshop.",
										{
											"type": "inset",
											"name": "Completing the Skull",
											"id": "0b1",
											"entries": [
												"If {@creature Seodra|IMR} has all six diamond teeth (the three in the Tomb of Horrors, along with the three she has with her in {@area area 31|151|x} of chapter 4), the jeweled eyes from the great statue in the Temple of Moloch ({@area area 25|13a|x} of {@adventure chapter 4|IMR|4}), and the silver skull (also in {@area area 31|151|x} of chapter 4), she will have all she needs to complete Acererak's demilich skull.",
												"The magic of the ritual that creates the skull shrinks down the great rubies of Moloch's eyes to fit the silver skull. The last stage of the ritual involves placing the finished skull atop the manikin in area 18a. The spirit of the archmage Acererak then possesses the manikin and transforms it into an eye of fear and flame. If the characters are present, they can treat with Acererak in this form.",
												"The {@creature eye of fear and flame|MFF} attacks at once if the characters are known to have undertaken any actions against Moghadam, the tomb, or its workers. If not, and if Acererak is impressed with their adventuring acumen, the archmage promises to grant a great boon in exchange for some measure of service necessary for the completion of his tomb. The details of the service are left to your determination. The boon can be the equivalent of a {@spell wish} spell, though whether or not Acererak fulfills any promise is left to you to decide."
											]
										}
									]
								}
							]
						}
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Chapter 4: Temple of Moloch",
			"id": "0b2",
			"entries": [
				"The Temple of Moloch is an ancient site steeped in magic, and the former home of a legendary artificer. Thessalar was a master alchemist and creator of monsters, whose own blood was said to possess dire magical properties. The artificer's mad plots, thirst for power, and pursuit of lichdom eventually left the temple a ruin long ago. But the characters now find themselves back in that long ago, facing off against the artificer and his host of monstrous guardians in pursuit of the missing components of the {@i Infernal Machine of Lum the Mad}. Having come back in time, the characters have a unique opportunity to explore a site now lost to memory\u2014and to lay claim to its legendary riches.",
				{
					"type": "section",
					"name": "Background",
					"id": "0b3",
					"entries": [
						"The Temple of Moloch was said to have begun as a series of caverns where the elemental princes Olhydra and Ogrémoch once battled, and in so doing, opened a rift to their respective Elemental Planes. This rift between the Plane of Water and the Plane of Earth resulted in a stream flowing through the caverns, which carries with it gemstones of extreme size and quality\u2014particularly rubies. When ancient peoples came upon these gems, their greed led them to gather as many as possible, and to build a temple at the site to honor Moloch. They built an ornate statue to the exiled archdevil, and set two of the largest ruby gemstones for its eyes.",
						"Centuries later, one of the high priests of the temple, an artificer named Thessalar, was so seduced by power and authority that he slew most of his fellow cultists in a bloody ceremony, then took control of the temple for himself. Thessalar repurposed the chambers of the temple for his own experiments, creating numerous monsters that bore his name (including the thessalhydra), as well as unnatural beasts such as the owlbear that would one day spread across the world.",
						"Several of the missing components of the {@i Infernal Machine of Lum the Mad} made their way to the temple through the years. At the time the characters visit, Thessalar has installed these components in his lab equipment, channeling their magic for the purpose of endless mutation.",
						"Over the years that were the height of Thessalar's power in the temple, the artificer's chief rival was the artificer Moghadam, architect of the Tomb of Horrors. Moghadam recently lured away several sculptors from Thessalar's temple to help construct his tomb, with false promises of vast salaries. To add insult to injury, Moghadam then sent back a party of mercenary thieves and a master gemsmith to steal the temple's most famous gems\u2014the eyes of the great statue of Moloch that is the centerpiece of the site. These thieves came under the pretense of delivering animal subjects for Thessalar's experiments, but were captured. The gemsmith Seodra is now forced to labor for Thessalar, while the thieves are the subjects of dark experiments. All are desperate to escape."
					]
				},
				{
					"type": "section",
					"name": "Who Dwells Here?",
					"id": "0b4",
					"entries": [
						"As with the Tomb of Horrors, this version of the temple takes place in a period of the distant past, and incorporates rare elements of D&D lore. You are, of course, free to use or not use such elements\u2014Thessalar, the creation of the owlbear, and so forth\u2014as you see fit. You can easily substitute Thessalar or any other NPCs in the adventure with characters specific to your campaign, or with general NPCs who can fill the same roles.",
						"Several of the temple's residents (including Thessalar, his thessalkraken, and the eidolon) are a much more potent threat than characters of the lower levels suggested for the adventure can safely deal with. The players should be forewarned that their characters should treat with such legendary figures carefully\u2014a warning that is repeated by whichever agent the characters are dealing with.",
						{
							"type": "entries",
							"name": "Andras and Stolos",
							"id": "0b5",
							"entries": [
								"One of Thessalar's most loyal assistants, Andrastolos was the subject of many of the artificer's early magical trials. In a grand experiment, Andrastolos's body and mind were split across two separate beings: Andras and Stolos. Although they both operate in the temple, their split nature and the memory of who they once were disturbs Andras and Stolos so much that they seek each other's ruin. The only thing that keeps both from killing the other is a desperate belief that their original natures might somehow be restored.",
								{
									"type": "entries",
									"name": "Andras",
									"id": "0b6",
									"entries": [
										"{@creature Andras|IMR} is a neutral evil male human assassin with the head of a giant snowy owl. Though he retains his full intellect, his speech is hindered, resembling the hoots and clicks of an owl. Cruel and sadistic, Andras has been installed as the temple's torturer. When the characters arrive, he is overseeing the interrogation of Moghadam's thieves and their wererat leader, Mack Francache. See {@area area 9|0eb|x} for Andras's full statistics."
									]
								},
								{
									"type": "entries",
									"name": "Stolos",
									"id": "0b7",
									"entries": [
										"A reverse of Andras, the neutral {@creature Stolos|IMR} possesses the head of an aging man atop the body of a giant owl. Garrulous and inquisitive, Stolos has been installed as the temple's warden, overseeing the prison and the unfortunate creatures held there. Stolos is a warlock of the Great Old One, but see {@area area 11|0fd|x} for his full statistics."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Ard-Sagart",
							"id": "0b8",
							"entries": [
								"Under Thessalar, the high priests of the temple are chosen from sculptors who craft such perfect statues that the temple's resident eidolon (containing the spirit of the first high priest) selects them for its use. As the temple's current high priest, Ard-Sagart (a lawful evil male human {@creature warlock of the fiend|VGM}) believes that the wayward sculptors who left for the Tomb of Horrors have caused the temple to lose favor with Moloch. He is eager to rectify this situation by recovering as many gemstones as possible from the temple's waters as tribute."
							]
						},
						{
							"type": "entries",
							"name": "Barbatos",
							"id": "0b9",
							"entries": [
								"The ranger {@creature Barbatos|IMR} (a neutral evil male human; see {@adventure appendix B|IMR|7} for his stat block) uses his tracking, stealth, and combat prowess to trap creatures for selfish gain. He has long worked for Thessalar, trapping animals and monsters to be used in the temple's experiments. As part of his wages, Barbatos has undergone his own experimentation, with Thessalar wiring items made from living creatures directly into the ranger's body.",
								"Barbatos is always accompanied by his animal companion, a {@creature hell hound} named Sadie III."
							]
						},
						{
							"type": "entries",
							"name": "Mack Francache",
							"id": "0ba",
							"entries": [
								"This neutral {@creature wererat} thief is the leader of the band sent to the temple by Moghadam, and charged with stealing the ruby eyes from the temple's great statue of Moloch. Having failed in his assignment, Francache now languishes in the temple's torture chamber."
							]
						},
						{
							"type": "entries",
							"name": "Seodra",
							"id": "0bb",
							"entries": [
								"A lawful neutral female genasi from the Quasi-elemental Plane of Mineral, {@creature Seodra|IMR} is a gemsmith who studied under Xagy, the mysterious figure who crafted such masterpiece artifacts as {@i Queen Ehlissa's Marvelous Nightingale}. Seodra accompanied Mack Francache and his thieves to the temple, as her expertise was needed to steal the gem eyes of the great statue of Moloch without damaging them. With the gems in hand, Seodra would have been able to craft the jeweled skull of a demilich for Acererak. Unfortunately, she was captured along with the rest of the thieves, and is now forced to work for Thessalar\u2014crafting the same jeweled skull for his own use. See {@area area 31|151|x} for her statistics."
							]
						},
						{
							"type": "entries",
							"name": "Thessalar",
							"id": "0bc",
							"entries": [
								"As an artificer, {@creature Thessalar|IMR} is vainglorious, egotistical, and utterly ruthless in furthering his research. His career began as a priest in the service of Moloch, where he rose through the ranks before eventually taking over the temple as a working laboratory. Most of his experiments have involved the pursuit of new forms of life, resulting in such creatures as the thessalhydra and the owlbear. In recent years, he has also researched the prolonging of life\u2014namely his own. Thessalar hopes that by becoming a lich, his research and experiments can continue indefinitely.",
								"Over time, Thessalar has subjected himself to so many of his own experiments that his blood has taken on alchemical and magical properties. He regularly uses it as the basis for many of the reagents used throughout his labs. As a side effect, although Thessalar is now immune to poison and the {@condition poisoned} condition, any magical liquid or salve that restores hit points acts as a poison against him if applied to a piercing or slashing weapon.",
								"Several of Thessalar's prized sculptors have been lured away from the temple by Moghadam, his rival artificer, with promises of false payment to help construct the Tomb of Horrors. Worse, the sculptors took with them their best tools and half a {@item manual of stone golems}. Both items were part of Thessalar's plans to craft a powerful stone golem and send it against Moghadam and his tomb. More recently, Moghadam ordered a group of thieves to assault the temple and steal the gemstone eyes from its great statue of Moloch. Thessalar captured the thieves and put the gemsmith accompanying them to work, but the temple still remains on alert against intruders.",
								"See {@adventure appendix B|IMR|7} for Thessalar's stat block.",
								{
									"type": "inset",
									"name": "Who's Who",
									"id": "0bd",
									"entries": [
										"Little is known regarding Xagy\u2014except as a partial anagram for 'Gygax,' and for her role in crafting Queen Ehlissa's Marvelous Nightingale, one of the artifacts appearing in the first edition {@i Dungeon Masters Guide}. When operated, this magical-mechanical marvel would shoot eye rays of different colors and effects, and produce songs able to work magical wonders."
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Missing Components",
					"id": "0be",
					"entries": [
						"The missing components of the {@i Infernal Machine} at this location can be found in various laboratory chambers throughout the temple. Removing the components deactivates various controls within these chambers, disrupting experiments and freeing creatures.",
						"The components resemble those found at the clock tower in {@adventure chapter 1|IMR|1}, being gemstone-like buttons made of some unknown material and of various colors. The missing components are disbursed as follows:",
						{
							"type": "list",
							"items": [
								"{@area Area 9|0eb|x}. One component, speckled gold",
								"{@area Area 14|10a|x}. One component, cloudy orange",
								"{@area Area 15|110|x}. Three components, all emerald green",
								"{@area Area 16|119|x}. One component, light purple",
								"{@area Area 22|12d|x}. One component, hazy yellow"
							],
							"style": "list-no-bullets"
						}
					]
				},
				{
					"type": "section",
					"name": "Mechanical Guide",
					"id": "0bf",
					"entries": [
						"If the characters' mechanical guide is lost or destroyed while they explore the Temple of Moloch, you can make use of a number of options to keep the characters from remaining stranded in the past. Thessalar can repair or rebuild the guide for a suitable price, as can Moghadam if an overland trek is made to reach him. (The sculptors in the temple possess maps showing the way to the Tomb of Horrors.) Alternatively, replacement parts for the guide might be recovered from the bottom of the underground lake at the end of the adventure\u2014if the characters are able to deal with the thessalkraken!"
					]
				},
				{
					"type": "section",
					"name": "Exploring the Temple",
					"id": "0c0",
					"entries": [
						"The temple is divided into two main sections. Areas 1 through 23 are the working laboratories where Thessalar resides and operates, along with many lizardfolk guards. Areas 24 through 39 make up the temple section, largely inhabited by priests and others who care for the temple's statues as well as its living demigod, the thessalkraken. That creature dwells in a deep subterranean lake beyond areas 30 and 39.",
						"Numbered locations are keyed to the map on page 29.",
						{
							"type": "entries",
							"name": "Temple Approach",
							"id": "0c1",
							"entries": [
								"From the point at which the characters arrive outside the temple, they find themselves within striking distance of a small, isolated village. The villagers\u2014quiet, nervous folk\u2014can provide lodging, meager supplies to trade, and directions to the temple.",
								"From the village, a two-mile trek along a seldom-used road ends at the edge of a fen.",
								{
									"type": "insetReadaloud",
									"id": "0c2",
									"entries": [
										"A general bleakness hangs over this area, with only a few clumps of brush and tamarack sprouting here and there. Through this, a narrow causeway leads out to a low mound, upon which stand the outer walls of what must be the temple."
									]
								},
								"The upper levels of the temple are abandoned and falling to ruin, as Thessalar focuses his activities in the dungeons below. Once the characters cross the causeway, they easily spot a stone staircase leading down.",
								{
									"type": "image",
									"href": {
										"type": "internal",
										"path": "adventure/IMR/007-005.png"
									},
									"title": "Thessalheart Construct",
									"width": 1350,
									"height": 1000
								}
							]
						},
						{
							"type": "entries",
							"name": "Never Alone",
							"id": "0c3",
							"entries": [
								"As the characters explore the Temple of Moloch, keep in mind that this is an active, living dungeon filled with guards, servants, and monsters. Different areas provide information on lizardfolk guards heading out on patrol and monsters potentially breaking free and running amok. When that happens, keep a rough idea of where those guards and monsters might be heading, and let the characters hear or see them as they skulk about. Not every encounter with a wandering monster or patrol needs to end in combat, but knowing that they don't have free run of the dungeon will help keep the characters on their toes.",
								"In addition to those potential encounters, two unusual monsters also patrol the temple complex, and can be encountered at any time, wandering through any corridors or rooms\u2014a thessalhydra and another creation of Moghadam's known as the thessalheart construct.",
								{
									"type": "entries",
									"name": "Thessalhydra",
									"id": "0c4",
									"entries": [
										"When the characters first enter the temple, roll a {@dice d4}. On a 1\u20132, the temple's guardian {@creature thessalhydra|HftT} is patrolling the laboratory section (areas 1 to 23). On a 3\u20134, it patrols the temple section (areas 24 to 39). There are no fixed mechanics for encounters with the thessalhydra, but feel free to have it show up in the distance whenever the characters need incentive to keep moving. The thessalhydra ignores lizardfolk guards and known servants of Thessalar, but attacks all other creatures on sight. Accustomed to inspiring fear, and having grown somewhat lazy in its guardian role, it is usually content to let foes flee from it rather than pursuing.",
										"Each time the characters finish a long rest in the temple, the thessalhydra leaves its current zone and takes up a patrol in the other zone. The thessalheart construct switches to the opposite zone (see below)."
									]
								},
								{
									"type": "entries",
									"name": "Thessalheart Construct",
									"id": "0c5",
									"entries": [
										"The {@creature thessalheart construct|IMR} is a strange magical-mechanical device that struts about like a chicken, and which features a human heart beating madly behind its glass front. The construct always wanders the zone opposite to the thessalhydra's zone, and for good reason.",
										"The human heart that sits within the construct is magically connected to the thessalhydra, tapping into the power of the {@i Infernal Machine} components as it roams, and feeding that power to the monster as restorative energy. Whenever the thessalhydra is taken to 0 hit points, it stays dead for 1 hour before returning to life with full hit points. Destroying the construct or claiming all the {@i Infernal Machine} components is the only way to end this effect.",
										"The thessalheart construct has a telepathic bond to Thessalar, who becomes aware of the characters through the construct's senses if they encounter it as they wander. If encountered, the construct gets close enough to identify the characters, then attempts to flee to protect itself.",
										{
											"type": "gallery",
											"images": [
												{
													"type": "image",
													"href": {
														"type": "internal",
														"path": "adventure/IMR/008-map-1-2.jpg"
													},
													"title": "Map 4.1: Temple of Moloch",
													"width": 5100,
													"height": 6600
												},
												{
													"type": "image",
													"href": {
														"type": "internal",
														"path": "adventure/IMR/009-map-1-2-player.jpg"
													},
													"title": "(Player Version)",
													"width": 5100,
													"height": 6600
												}
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "1. Entry Chamber",
							"id": "0c6",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "0c7",
									"entries": [
										"Stairs from the surface lead down to this damp vaulted chamber. The floor is strewn with bones and rubble. The ceiling is supported by arches meeting at the twenty-foot-high domed peak, and is obscured by thick webs. Corridors lead off to the east, south, and west, with the west ending at a heavy oak door with bronze fittings. "
									]
								},
								{
									"type": "entries",
									"name": "Arrow Slit",
									"id": "0c8",
									"entries": [
										"Any character who succeeds on a DC 16 Wisdom ({@skill Perception}) check notices an arrow slit concealed in a gap in the stairwell stones. The guards in {@area area 5|0db|x} watch the stairs through this slit, giving them a warning of the characters' approach."
									]
								},
								{
									"type": "entries",
									"name": "Oak Door",
									"id": "0c9",
									"entries": [
										"Anyone who listens at the door to the west and succeeds on a DC 12 Wisdom ({@skill Perception}) check hears a moaning that rises and fades away (caused by strong breezes in {@area area 2|0cd|x}). Opening the door causes the breeze to fill this corridor, creating the effect of a {@spell gust of wind} spell."
									]
								},
								{
									"type": "entries",
									"name": "Creature",
									"id": "0ca",
									"entries": [
										"The webs on the ceiling conceal a mutated giant spider with the beak of a giant owl (use the {@creature grell} stat block). This creature escaped from Thessalar's labs and has been allowed to lair here to watch over the entrance. The lizardfolk have nicknamed it \"Thacko.\""
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "0cb",
									"entries": [
										"A character who searches the chamber and succeeds on a DC 12 Wisdom ({@skill Perception}) check finds 19 sp and a small ruby (worth 20 gp) inside a lizardfolk skull."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0cc",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the guards in {@area area 5|0db|x} to change shifts, allowing the characters to pass through here without being noticed. Spending 2 charges also causes Thacko to grow younger or older. Roll a {@dice d4}. On a 1\u20132, the creature halves its hit points. On a 3\u20134, the creature doubles its hit points."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "2. Water Room",
							"id": "0cd",
							"entries": [
								"This natural cavern provides fresh water for the temple from the cold and fast-flowing stream along its western edge. The stream enters from the north along a tunnel, and exits to the south in the same manner. A cold wind blows from the south tunnel, generated above the subterranean lake the stream flows into (accessed via {@area area 30|14f|x} or area 39).",
								"Numerous barrels, casks, and buckets are stored here, all used to collect fresh water.",
								{
									"type": "entries",
									"name": "Pool",
									"id": "0ce",
									"entries": [
										"The stream forms a small pool 7 feet deep at its center, which is home to numerous small, white blindfish and crayfish. An unusual mineral formation occupies the bottom of the pool. With a successful DC 15 Wisdom ({@skill Perception}) check, a character identifies the formation as a limed-over skeleton."
									]
								},
								{
									"type": "entries",
									"name": "Tunnels",
									"id": "0cf",
									"entries": [
										"The tunnel to the north has no air space within it, and leads back to the underground spring that is the stream's source. The tunnel to the south is higher, leaving an ample air space along which the brisk wind is channeled. Characters can make an arduous journey along the south tunnel to the underground lake (see that section at the end of the adventure), encountering hazards and monsters as you determine."
									]
								},
								{
									"type": "entries",
									"name": "Skeleton",
									"id": "0d0",
									"entries": [
										"The skeleton is the remains of the temple's first high priest (whose spirit now resides as the eidolon in {@area area 25|13a|x}). If the skeleton is examined by a creature in the water, a successful DC 15 Wisdom ({@skill Perception}) check reveals a key in its hand. (This fits the secret door leading to the treasure vault in {@area area 38|16b|x}). The key can be easily claimed, but doing so disturbs the skeleton and causes a cylindrical object to dislodge from it. This object is carried off by the stream unless any character in or out of the water succeeds on a DC 18 Dexterity check to snag it."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "0d1",
									"entries": [
										"The watertight ivory tube dislodged by the skeleton contains a vellum map of the temple complex. However, slow seepage has blurred all but a small portion, so that the map now shows only area 1; area 2; the passage to area 3, with that area only a smudge; and the passage to {@area area 26|141|x}, starting about 20 feet south of the secret door in area 3."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0d2",
									"entries": [
										"Having a mechanical guide spend 1 or more charges in this area creates a 10 percent cumulative chance for a ruby (worth {@dice 1d10 × 10} gp) to wash into view from upstream, as well as a 25 percent cumulative chance for {@dice 1d4} {@creature lizardfolk} to arrive on assignment to bring more water into the temple.",
										"Additionally, if 2 or more charges are spent, enough of the lime flakes off the skeleton in the pool that it can be identified without an ability check."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "3. Empty Ceremonial Chamber",
							"id": "0d3",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "0d4",
									"entries": [
										"This chamber resembles a larger version of the entry, with arches meeting at the twenty-five-foot domed peak of the ceiling. A nine-foot-tall wooden platform stands against the south wall, on which several bodies lie wrapped in funeral shrouds."
									]
								},
								"The wooden platform is used as a dais for religious rites. The faithful are brought here after death, blessed, and then carried to their final resting place in the subterranean lake (where they are consumed by the thessalkraken). The bodies currently upon the platform are four lizardfolk slain during the capture of Moghadam's thieves, as well as one of those thieves (a female human).",
								{
									"type": "entries",
									"name": "Secret Door",
									"id": "0d5",
									"entries": [
										"Seven small knobs of stone protrude from the south wall at the level of the platform. A character who succeeds on a DC 12 Intelligence ({@skill Investigation}) or Wisdom ({@skill Perception}) check notices which three knobs show the most wear. Pressing those knobs in any order opens the secret door."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0d6",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area results in four {@creature lizardfolk} guards and a {@creature lizardfolk shaman} opening the secret door to the south and conveying the bodies down the south corridor before vanishing from sight."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "4. Guardroom",
							"id": "0d7",
							"entries": [
								"Since Moghadam's thieves came to the temple, Thessalar has had the temple on heightened alert and guards stationed around the entrance at all times.",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "0d8",
									"entries": [
										"Eight {@creature lizardfolk}, a {@creature lizardfolk shaman}, and the shaman's {@creature two-headed crocodile|IMR} companion rest in this area. If they are alerted to intruders by the lizardfolk in {@area area 5|0db|x}, they head directly for {@area area 1|0c6|x} to challenge them."
									]
								},
								{
									"type": "entries",
									"name": "Secret Tunnel",
									"id": "0d9",
									"entries": [
										"A secret trapdoor in the floor opens to an access tunnel leading to {@area area 5|0db|x}. It can be found with a successful DC 12 Wisdom ({@skill Perception}) check."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0da",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the guards to change shifts, leaving for the barracks ({@area area 6|0e0|x}). Spending 2 charges reverses time and causes them to instead head into the temple complex to search for Moghadam's thieves, believing the thieves have just arrived. You determine where the guards might be encountered as a result."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "5. Watch Room",
							"id": "0db",
							"entries": [
								"The guards here are companions of the force resting in area 4. They are on active duty, watching the stairs down into {@area area 1|0c6|x}.",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "0dc",
									"entries": [
										"If the four {@creature lizardfolk} stationed here spot intruders, two of them travel through the secret tunnel to alert the guards in area 4 and join their hunt. The other two remain here to watch for additional foes descending the stairs, but head out in pursuit of the characters if their allies don't return within a few minutes."
									]
								},
								{
									"type": "entries",
									"name": "Arrow Slit",
									"id": "0dd",
									"entries": [
										"An arrow slit opens up in a gap in the stairwell stones, and provides a view of any creatures descending the stairs into {@area area 1|0c6|x}."
									]
								},
								{
									"type": "entries",
									"name": "Secret Tunnel",
									"id": "0de",
									"entries": [
										"A secret trapdoor in the floor opens to an access tunnel leading to area 4. It can be found with a successful DC 12 Wisdom ({@skill Perception}) check."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0df",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the guards to change shifts, leaving here for the barracks ({@area area 6|0e0|x}). Spending 2 charges causes them to instead head into the temple complex to search for Moghadam's thieves, believing the thieves have just arrived. You determine where the guards might be encountered as a result."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "6. Barracks",
							"id": "0e0",
							"entries": [
								"This cluttered chamber serves as a barracks for Thessalar's lizardfolk servants. Crude sleeping pallets line the walls, and the place has a foul smell.",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "0e1",
									"entries": [
										"Eight {@creature lizardfolk} are off duty here, sleeping or leisurely playing at a rudimentary board game using dice and small stones as playing pieces. If they have been alerted to trouble by the lizardfolk in areas 4 or 5, they head into the temple to challenge intruders."
									]
								},
								{
									"type": "entries",
									"name": "Prisoner",
									"id": "0e2",
									"entries": [
										"A gruesome scene plays out along the east wall. One of Moghadam's thieves hangs from manacles there, dead, torn open, and with his innards hanging out, having been given to the lizardfolk to consume."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "0e3",
									"entries": [
										"A successful DC 14 Intelligence ({@skill Investigation}) check made to search through the lizardfolk's possessions uncovers 25 cp, 55 sp, and 10 gp.",
										"In addition, twelve uncut rubies (worth 50 gp each) are being used as pieces for the board game. A successful DC 12 Wisdom ({@skill Perception}) check reveals that the board resembles a partial map of the temple, showing areas 1 to 22."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0e4",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the guards to change shifts, leaving for areas 4 and 5. Spending 2 charges also brings the prisoner back to life. Little Gadai is a lawful neutral human {@creature spy}. He joins the characters if allowed to, seeking to rescue and rejoin the other thieves to complete their original mission. His knowledge of the temple is limited to areas 1 through 6."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "7. Storage Area",
							"id": "0e5",
							"entries": [
								"This is a general storage area for the temple, holding crates, sacks, and barrels filled with typical goods in support of temple operations (foodstuffs, cloth, oil, tools, and so forth).",
								"Characters who search this area thoroughly might make an unusual discovery with a successful DC 14 Intelligence ({@skill Investigation}) check, allowing one check per character. Use the Storage Area Discoveries table to determine what a character discovers, or as inspiration for unusual discoveries of your own.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0e6",
									"entries": [
										"Having a mechanical guide spend 1 or more charges in this area has a 20 percent cumulative chance that {@dice 1d4} {@creature lizardfolk} guards arrive to fetch more supplies for the temple. They attack intruders at once.",
										{
											"type": "table",
											"caption": "Storage Area Discoveries",
											"colLabels": [
												"d100",
												"Discovery"
											],
											"colStyles": [
												"col-2 text-center",
												"col-10"
											],
											"rows": [
												[
													"01\u201305",
													"A pile of moldy sacks is contaminated with toxic mold. The character who discovers them must succeed on a DC 12 Constitution saving throw or become {@condition poisoned} for 1 hour."
												],
												[
													"06\u201315",
													"A tiny {@creature mimic} is disguised as a sack. The mimic deals half damage with its pseudopod and bite attacks, and has only 1 hit point."
												],
												[
													"16\u201325",
													"A small box holds one {@item Gauntlets of Ogre Power||gauntlet of ogre power} and one {@item Boots of Striding and Springing||boot of striding and springing}. There is no sign of either item's missing mate unless you want to have it found elsewhere in the adventure."
												],
												[
													"26\u201335",
													"A live parrot in a wicker cage (captured by Barbatos and stashed here pending use in laboratory experiments). The bird claims their name is 'Hector.'"
												],
												[
													"36\u201345",
													"A small barrel holds a live {@creature boggle|VGM}, bound, gagged, and marinating in their own excreted oil. This is the former partner of the boggle steward in areas 36 and 37, who betrayed and left this boggle here in order to pose as both stewards and reap twice the salary. You decide whether this boggle bolts and flees the dungeon if rescued, or whether they accompany the characters to seek vengeance."
												],
												[
													"46\u201355",
													"A cookbook written in Goblin sits in a cast iron skillet that can be used as a mace. The skillet is engraved in Goblin with the words: PUT IN FIRE FOR COOKING."
												],
												[
													"56\u201365",
													"A small book is found, colorfully illustrated and offering a variety of rumors and advice regarding monsters and dungeons, information on various items of specialized adventuring gear, and short pieces of fiction."
												],
												[
													"66\u201370",
													"An empty sack is an uncommon magic item that spits out a random mundane object once per day. Select these items from the {@book trinkets table|PHB|5|Trinkets} in chapter 5 of the {@book Player's Handbook|PHB}, or choose any random nonmagical item."
												],
												[
													"71\u201380",
													"A long piece of oilcloth wraps up a number of missing levers to an {@item apparatus of Kwalish} (to be found in {@area area 29|14c|x})."
												],
												[
													"81\u201385",
													"A small sack is revealed to be a {@item bag of beans} containing six beans."
												],
												[
													"86\u201390",
													"A piece of parchment hidden under a crate appears to be a magic treasure map. If the map is not followed to its end within 30 days, it rewrites itself as an entirely new map and any copies made of it turn blank. There is a {@chance 50|50 percent} chance that the map leads to an actual treasure. If not, it leads to a dangerous monster with no treasure."
												],
												[
													"91\u201396",
													"A sack holds a common magic item and {@dice 1d4} potions, all of your choice."
												],
												[
													"97\u201399",
													"A leather case holds an uncommon magic item and {@dice 1d4} scrolls, all of your choice."
												],
												[
													"00",
													"A box holds a rare magic item of your choice."
												]
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "8. Office of the Torturer",
							"id": "0e7",
							"entries": [
								"Characters approaching this area from the north can see activity through the open doorway to {@area area 9|0eb|x}, but can't make out any details until they advance beyond the corridor leading into {@area area 8|0e7|x}.",
								"This chamber serves as the office and apartment of {@creature Andras|IMR}, the temple's torturer and rival of the warden. It holds a bed, a desk, and mundane gear. The desk contains notes on tortured prisoners and any information they've revealed (including the fact that the recently captured thieves were sent by Moghadam). If he is not at work in {@area area 9|0eb|x}, {@creature Andras|IMR} will be found here.",
								{
									"type": "entries",
									"name": "Treasure",
									"id": "0e8",
									"entries": [
										"A successful DC 14 Intelligence ({@skill Investigation}) check made to search the desk uncovers several papers stolen from {@creature Stolos|IMR} (see {@area area 11|0fd|x}), which discuss the split nature of Andras and Stolos.",
										"In addition, a locked strongbox can be found under Andras's bed. It can be opened with a successful DC 15 Dexterity check using thieves' tools, but contains an easily noticed poison needle trap. A failed check triggers the trap, which deals 1 piercing damage and delivers a dose of {@item Blood of the Lycanthrope|IMR|blood of the lycanthrope poison} (see {@adventure appendix C|IMR|8}). The strongbox can be smashed open with a successful DC 20 Strength check.",
										"The strongbox holds treasure collected from Andras's recent victims\u2014110 sp, 55 gp, 10 pp, five rubies (worth 100 gp each), and a vial of {@item mummy rot antidote|IMR} (see {@adventure appendix C|IMR|8})."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0e9",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes Andras to return here from {@area area 9|0eb|x} and prepare to rest."
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Exploring the Temple (areas 9-16)",
					"id": "0ea",
					"entries": [
						{
							"type": "entries",
							"name": "9. Torture Chamber",
							"id": "0eb",
							"entries": [
								"The characters can hear what's happening in this area before they see it. Read the following if any character approaches within 30 feet of the open doorway:",
								{
									"type": "insetReadaloud",
									"id": "0ec",
									"entries": [
										"A low groaning rises from this chamber, whose open doorway provides a hint of its source. This is a torture chamber, filled with racks, implements of pain, and other foul devices."
									]
								},
								"As the characters enter, read the following, making adjustments as necessary if Andras is not here:",
								{
									"type": "insetReadaloud",
									"id": "0ed",
									"entries": [
										"Two prisoners and a frantic rat lie strapped to tables, and are being worked on by a humanoid figure with the head of a snowy owl. Silver wires connect the tables to a complex control panel standing between them."
									]
								},
								{
									"type": "entries",
									"name": "Andras",
									"id": "0ee",
									"entries": [
										"The result of one of Thessalar's grand experiments, {@creature Andras|IMR} has the body of a male human and the head of a massive snowy owl. Like that of any owl, his head can rotate almost fully around for 360-degree vision.",
										"The prisoners are two of Moghadam's thieves, who Andras is pressing for additional information as to their raid and Moghadam's plans. However, the torturer is almost impossible to understand, with his speech resembling the hoots and clicks of an owl. Conversing with Andras requires a successful DC 10 Wisdom ({@skill Insight}) check or a {@spell speak with animals} spell, but the torturer speaks to the characters only in bold threats. In combat, Andras uses weapons coated in {@item Blood of the Lycanthrope|IMR|blood of the lycanthrope poison} (see {@adventure appendix C|IMR|8}). He uses the {@creature assassin} stat block with the following changes:",
										{
											"type": "list",
											"items": [
												"He is neutral evil, and can speak and understand Common and Giant Owl.",
												"Andras has advantage on Wisdom ({@skill Perception}) checks that rely on hearing or sight.",
												"The poison effect on his shortsword and light crossbow attacks is replaced with the following: If the target is a humanoid, it must succeed on a DC 11 Constitution saving throw or be cursed with wererat lycanthropy."
											]
										},
										"Andras carries keys that open the concealed door leading to {@area area 23|132|x}."
									]
								},
								{
									"type": "entries",
									"name": "Prisoners",
									"id": "0ef",
									"entries": [
										"Mack Francache, the neutral {@creature wererat} leader of Moghadam's thieves, is the unwilling subject of one of Thessalar's sadistic experiments, conducted by Andras. His lycanthropic blood is being drained for study by Thessalar, who has already discovered ways in which it might be weaponized (see \"{@area Poisons|20f|x}\" in {@adventure appendix C|IMR|8}).",
										"The silver wires connect Francache to a lawful neutral female human {@creature bandit captain} named Big Gadai (sister to the dead thief in {@area area 6|0e0|x}) and a normal rat. As Andras operates the controls to this strange torture device, he causes Francache's lycanthropy to transform the rat into a duplicate of Big Gadai, to the pain and horror of everyone involved. When the rat is in human form, it insists that it is the real Big Gadai, as does the real Big Gadai.",
										"Francache bargains with the characters for his freedom, promising anything he can in return\u2014including knowledge of the Tomb of Horrors. (His previous assignment for Moghadam was to spy on its workers while in rat form.)"
									]
								},
								{
									"type": "entries",
									"name": "Control Panel",
									"id": "0f0",
									"entries": [
										"The control panel is covered with dials, switches, and buttons\u2014including a speckled gold button recognizable as one of the missing components of the {@i Infernal Machine}. Removing this component deactivates the controls and releases the restraints on the tables, freeing Francache, Big Gadai, and the rat.",
										"Anyone attempting to disrupt the controls or the wires must succeed on a DC 13 Constitution saving throw or take 11 ({@dice 2d10}) force damage. The controls and the wires are self-repairing, and cannot be severed or destroyed."
									]
								},
								{
									"type": "entries",
									"name": "Concealed Door",
									"id": "0f1",
									"entries": [
										"Located at the back of an empty iron maiden, this locked door leads to {@area area 23|132|x}, and is used by Andras to check on the clones there. It can be detected with a successful DC 14 Wisdom ({@skill Perception}) check. Without the key carried by Andras, its lock can be picked with a successful DC 18 Dexterity check using thieves' tools, or it can be forced with a successful DC 18 Strength check."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0f2",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes Andras to return to his quarters ({@area area 8|0e7|x}) to rest. If Andras and Stolos are both at this location, spending 3 charges results in both transforming back into their original forms\u2014the human Andrastolos and his giant snowy owl companion. If restored to normal, Andrastolos uses Andras's statistics but his alignment reverts to neutral. He is endlessly grateful to the characters, providing any information about the temple he can (he is familiar with areas 1 through 23), and offering to guide the party as needed."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "10. Prison Cells",
							"id": "0f3",
							"entries": [
								"Characters entering this area can see activity through the open doorway to {@area area 11|0fd|x}, but can't make out any details until they advance. If the characters engage in any noisy or noticeable activity here (including advancing down the corridor with light sources), {@creature Stolos|IMR} emerges from {@area area 11|0fd|x} to investigate.",
								{
									"type": "insetReadaloud",
									"id": "0f4",
									"entries": [
										"A long hallway leads past six cell doors, alternating three on each side. Five of the doors are constructed from iron bars, with the exception of what appears to be a glass door at the end."
									]
								},
								"The doors to the cells are locked, and Stolos (in {@area area 11|0fd|x}) has the keys. They can also be unlocked with a successful DC 16 Dexterity check using thieves' tools, or forced open from outside the cell with a successful DC 20 Strength check.",
								{
									"type": "entries",
									"name": "Prisoners",
									"id": "0f5",
									"entries": [
										"The cells are occupied as follows:",
										{
											"type": "entries",
											"name": "10a",
											"id": "0f6",
											"entries": [
												"Three {@creature lizardfolk} here are being punished for various transgressions. Mean-tempered and suspicious, they nonetheless offer information regarding the temple in exchange for their freedom, knowing their fate is otherwise horrible experimentation. They are likely to turn against the party at the first opportunity."
											]
										},
										{
											"type": "entries",
											"name": "10b",
											"id": "0f7",
											"entries": [
												"Two of Moghadam's thieves (both lawful evil {@creature Spy||spies}) are incarcerated here, one wounded and one near death, and both desperate to be freed. They are periodically taken out for interrogation in {@area area 9|0eb|x}, and are aware that experiments performed on them have created clones of themselves. They vehemently claim to be the real thieves.",
												"The two join the characters if allowed, seeking to rescue and rejoin the other thieves to complete their original mission. Their evil nature inspires them to betray the characters if doing so works to their advantage."
											]
										},
										{
											"type": "entries",
											"name": "10c",
											"id": "0f8",
											"entries": [
												"This cell is currently empty."
											]
										},
										{
											"type": "entries",
											"name": "10d",
											"id": "0f9",
											"entries": [
												"This cell contains magically created duplicates of the thieves in 10b. They also claim to be the real thieves. (At your determination, these might be the real thieves, with the duplicates in 10b unaware of their true nature.)"
											]
										},
										{
											"type": "entries",
											"name": "10e",
											"id": "0fa",
											"entries": [
												"Two {@creature Doppelganger||doppelgangers} are being held here for study and as eventual experimental subjects. They attempt to look like Mack Francache, Seodra the gemsmith, or anyone else they've seen pass through the cell area in order to escape."
											]
										},
										{
											"type": "entries",
											"name": "10f",
											"id": "0fb",
											"entries": [
												"This cell is sealed off behind a padlocked sheet of transparent glassteel\u2014a resilient magical material as strong as metal\u2014to prevent the escape of the {@creature adult oblex|MTF} inside. The oblex can still use its Eat Memories action and Sulfurous Impersonation trait to create copies of anyone approaching too closely."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "0fc",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes one of the cell doors (chosen at random, excluding cell F) to rust with age and weaken. In this state, a door can be forced opened with a successful DC 10 Strength check from either side."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "11. Office of the Warden",
							"id": "0fd",
							"entries": [
								"Adjust the following text if the characters attract Stolos's attention as they approach this area.",
								{
									"type": "insetReadaloud",
									"id": "0fe",
									"entries": [
										"The end of the cell hallway opens up to an office. A most unusual figure is seen behind a large desk strewn with papers\u2014a huge white owl with the head of an aging man, seated atop a large, ornate bird stand. The figure reads while turning pages with a talon, muttering curses about, \"That damned thumb-screwer, Andras.\""
									]
								},
								{
									"type": "entries",
									"name": "Stolos",
									"id": "0ff",
									"entries": [
										"The result of the same experiment that produced Andras ({@area area 9|0eb|x}), Stolos has the head of a male human atop the body of a giant snowy owl. He readily converses with the characters even if their initial appearance is suspicious, asking them friendly questions with the aim of discovering if Moghadam sent them.",
										"If asked about his unusual appearance, Stolos angrily admits that he and Andras derived from a singular human subject and his giant snowy owl companion years before. The two hybrid creatures now have an intense hatred for one another, owing to a mutual disgust for their split nature.",
										"Stolos offers to work with the characters if they harm or impede Andras (most easily by freeing the prisoners being tortured in {@area area 9|0eb|x}). His only real aim is for the characters to sow chaos before the temple's guards invariably deliver them back into his custody.",
										"{@creature Stolos|IMR} uses the {@creature warlock of the Great Old One|VGM} stat block with the following changes:",
										{
											"type": "list",
											"items": [
												"He is neutral evil.",
												"He has a flying speed of 30 feet.",
												"Replace his dagger attack with the following attack: {@b {@i Talons}.} {@i Melee Weapon Attack}: +3 to hit, reach 5 ft., one target. {@i Hit}: 8 ({@dice 2d6 + 1}) slashing damage."
											]
										},
										"Stolos carries the keys to the cells in {@area area 10|0f3|x}."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "100",
									"entries": [
										"A successful DC 14 Intelligence ({@skill Investigation}) check to search the desk uncovers a box of nine {@item Paper Bird|WDH|paper birds} (see {@adventure appendix C|IMR|8}) used to send messages to Thessalar.",
										"In addition, a locked strongbox can be found under the desk. It can be opened with a successful DC 15 Dexterity check using thieves' tools, but contains an easily noticed poison gas trap. A failed check triggers the trap, which sprays a dose of {@item Dust of the Mummy|IMR|dust of the mummy poison} (see {@adventure appendix C|IMR|8}) at the character making the check. The strongbox can be smashed open with a successful DC 20 Strength check, but doing so targets each character within 5 feet of the strongbox with {@item Dust of the Mummy|IMR|dust of the mummy poison}.",
										"The strongbox holds the treasure collected from Stolos's current prisoners\u201445 gp, 23 pp, ten small rubies (worth 25 gp each), a {@item ring of water walking}, and a vial of {@item blood of the lycanthrope antidote|IMR} (see {@adventure appendix C|IMR|8})."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "101",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes Stolos to leave and check on the cells in {@area area 10|0f3|x}. If Andras and Stolos are both at this location, spending 3 charges results in both transforming back into their original forms. See {@area area 9|0eb|x} for details."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "12. Owl Laboratory",
							"id": "102",
							"entries": [
								"Whenever anyone enters this area, a huge cacophony of shrieks and hooting is raised from the animals kept here. The walls of the room are lined with cages filled with {@creature Owl||owls}\u2014one pair each of barn owls, horned owls, screech owls, and snowy owls. Against one wall, a huge cage holds a {@creature giant owl}. In addition, several terrariums hold live mice, lizards, and small snakes used as food for the owls. Various cabinets hold prepared owl food, supplies, and implements for both the care and dissection of these creatures.",
								"Any character who feeds the owls or succeeds on a DC 14 Wisdom ({@skill Animal Handling}) check can successfully quiet them.",
								{
									"type": "entries",
									"name": "Barbatos",
									"id": "103",
									"entries": [
										"The neutral evil human ranger {@creature Barbatos|IMR} is either here or in area 13 (a {@chance 50|50 percent} chance for either; see {@adventure appendix B|IMR|7} for his stat block), accompanied by his {@creature hell hound} companion, Sadie III. He carries keys to the cages in this area and area 13. Arrogant and cruel, Barbatos threatens and taunts the characters before attempting to capture them for Thessalar. If they prove too powerful, he flees and sets up hit-and-run ambushes for them as they continue to explore the temple.",
										"A successful DC 12 Wisdom ({@skill Perception}) check made while Barbatos is in combat identifies a number of silver wires connecting the ranger's cloak and backpack. If Barbatos is defeated, examining his body reveals that the backpack holds a troll's still-beating heart, while his cloak incorporates the feathery antennae of several rust monsters. The silver wires connect those living tissues to the ranger's own heart, providing his unique features. This setup is made permanently inoperable if Barbatos is slain.",
										"Anyone attempting to disrupt the wires must succeed on a DC 13 Constitution saving throw or take 11 ({@dice 2d10}) force damage. The wires are self-repairing, and cannot be severed or destroyed."
									]
								},
								{
									"type": "entries",
									"name": "Owls",
									"id": "104",
									"entries": [
										"If the owls are freed, they try to escape, flying out to {@area area 1|0c6|x} and up the stairs. If Barbatos is still in the room when the owls escape, they attack him first.",
										"A character who succeeds on a DC 18 Wisdom ({@skill Animal Handling}) check can convince at least one of the owls (of your choice) to remain with the party for the duration of the adventure. Feeding the owls first provides advantage on this check."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "105",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes all the cage doors to rust with age and weaken, allowing the owls to break free. There is a {@chance 50|50 percent} chance that the giant owl also ages into an undead version of itself that attacks until destroyed. The {@creature Skeletal Giant Owl|IMR|skeletal, rotted creature} uses the {@creature giant owl} stat block with the following changes:",
										{
											"type": "list",
											"items": [
												"It has the undead type instead of the beast type.",
												"It has vulnerability to bludgeoning damage.",
												"It is immune to poison damage and the {@condition poisoned} condition, and is immune to {@condition exhaustion}."
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "13. Bear Laboratory",
							"id": "106",
							"entries": [
								"Whenever anyone enters this area, a low growling rises from the animals kept here. A number of large, sturdy cages house one pair each of {@creature Black Bear||black bears}, {@creature Brown Bear||brown bears}, and {@creature Polar Bear||polar bears}. In addition, shelves and cupboards throughout the room hold dried fish, dried berries, and grubs as food for the bears, along with tools and supplies.",
								"Any character who feeds the bears or succeeds on a DC 14 Wisdom ({@skill Animal Handling}) check can successfully quiet them.",
								{
									"type": "entries",
									"name": "Barbatos",
									"id": "107",
									"entries": [
										"The ranger {@creature Barbatos|IMR} is either here or in area 12 (a {@chance 50|50 percent} chance for either), accompanied by his {@creature hell hound} companion, Sadie III. See {@adventure appendix B|IMR|7} for his stat block, and {@area area 12|102|x} for more information."
									]
								},
								{
									"type": "entries",
									"name": "Bears",
									"id": "108",
									"entries": [
										"If the bears are freed, they scatter throughout the temple, attacking anyone they see before eventually making their way to {@area area 1|0c6|x} and up the stairs. If Barbatos is still in the room when the bears escape, they attack him first.",
										"A character who succeeds on a DC 20 Wisdom ({@skill Animal Handling}) check can convince at least one of the bears (of your choice) to remain with the party for the duration of the adventure. Feeding the bears first provides advantage on this check."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "109",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes all the cage doors to rust with age and weaken, allowing the bears to break free. There is a {@chance 50|50 percent} chance that both polar bears also age into undead versions of themselves that attack anyone in the room until destroyed. Each {@creature Skeletal Polar Bear|IMR|skeletal, rotted bear} uses the {@creature polar bear} stat block with the following changes:",
										{
											"type": "list",
											"items": [
												"It has the undead type instead of the beast type.",
												"It has vulnerability to bludgeoning damage.",
												"It is immune to poison damage and the {@condition poisoned} condition, and is immune to {@condition exhaustion}."
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "14. Main Laboratory (North)",
							"id": "10a",
							"entries": [
								"Depending on how they move through this area, the characters might see into {@area area 16|119|x} at the same time. See that area for additional details.",
								{
									"type": "insetReadaloud",
									"id": "10b",
									"entries": [
										"A massive L-shaped laboratory space is filled with creatures strapped down to tables or chained to the floor, all attended to by lizardfolk workers. In this north wing of the lab, two tables hold terrified-looking fish-folk of some kind, connected by silver wires to other tables holding stoic-looking lizardfolk. More silver wires connect the tables to a complex control panel standing between them."
									]
								},
								"The experiment underway in this area involves transferring and enhancing the amphibiousness of locathah prisoners to Thessalar's loyal lizardfolk guards. (The artificer's aim is to establish a permanent population of lizardfolk in the underground lake to uncover more of the gems there.)",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "10c",
									"entries": [
										"Four {@creature Lizardfolk Shaman||lizardfolk shamans} work here as lab managers, overseeing two {@creature Lizardfolk Render|GoS|lizardfolk renders} connected to a pair of {@creature locathah|GoS}. If attacked, the shamans release the renders to take on the characters, then one shaman flees to alert the rest of the laboratory section of the temple (areas 1 through 23).",
										"If the locathah are freed, they attempt to flee for {@area area 2|0cd|x}, hoping to escape the temple via the river. However, a successful DC 16 Charisma ({@skill Persuasion}) check can convince them to remain with the characters for the duration of the adventure, as long as they can access fresh water every 4 hours."
									]
								},
								{
									"type": "entries",
									"name": "Control Panel",
									"id": "10d",
									"entries": [
										"The control panel is covered with dials, switches, and buttons\u2014including a cloudy orange button recognizable as one of the missing components of the {@i Infernal Machine}. Removing this component deactivates the controls and releases the restraints on the tables, freeing all the creatures in this area.",
										"Anyone attempting to disrupt the controls or the wires must succeed on a DC 13 Constitution saving throw or take 11 ({@dice 2d10}) force damage. The controls and the wires are self-repairing, and cannot be severed or destroyed."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "10e",
									"entries": [
										"Any search of the room finds two vials of {@item Thessaltoxin|IMR|thessaltoxin poison} (see {@adventure appendix C|IMR|8}), whose polymorph capabilities are being used to facilitate the experiments here."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "10f",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the lizardfolk renders on the tables to devolve back into standard {@creature lizardfolk}."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "15. Thessalar's Laboratory",
							"id": "110",
							"entries": [
								"Adjoining the main laboratory, Thessalar's private lab is the site of the artificer's most challenging experiments.",
								{
									"type": "insetReadaloud",
									"id": "111",
									"entries": [
										"Amazing instruments of complex design fill this laboratory, all seemingly engaged in active experimentation. Facing the doorway is a wooden desk, its legs resembling four small dryads whose outstretched hands are clasped together to support a desktop littered with thick tomes, alchemical vessels, and a complex control panel.",
										"An ancient male human sits behind the desk, with a homunculus perched on his shoulder.",
										"\"More of Moghadam's mercenaries, I presume?\" the figure asks wearily. \"I still haven't disposed of the last poor souls the so-called master of the tomb sent here.\" The homunculus then pulls the alchemist's face into an expression of wry contempt."
									]
								},
								{
									"type": "entries",
									"name": "Thessalar",
									"id": "112",
									"entries": [
										"The imperturbable artificer {@creature Thessalar|IMR} readily converses with the characters, albeit with a domineering attitude. His starting assumption is that they've been sent by {@creature Moghadam|IMR}, and he wants to learn as much about his rival's machinations as he can. See {@adventure appendix B|IMR|7} for his stat block.",
										{
											"type": "image",
											"href": {
												"type": "internal",
												"path": "adventure/IMR/010-cover-page.png"
											},
											"title": "Thessalar",
											"width": 677,
											"height": 1000
										}
									]
								},
								{
									"type": "entries",
									"name": "Grand Experiments",
									"id": "113",
									"entries": [
										"If the characters poke around the room while speaking with Thessalar, they can take in some of the experiments on display. These include the following, along with whatever other odd and wondrous examples you might think of:",
										{
											"type": "list",
											"items": [
												"Orreries display unknown planets and various models of the planes.",
												"Glass piping connects tanks holding strange liquids and materials, all in an ongoing state of transmutation.",
												"A miniaturized human lies in apparent stasis in a windowed glass case.",
												"A vermiform pseudodragon twists and crawls about inside a large crystal tank.",
												"A colony of ants is constructing an elaborate city system in a huge glass tank\u2014complete with an ant lion larva to which tiny insect victims are being sacrificed."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Thessalar's Bargain",
									"id": "114",
									"entries": [
										"Thessalar knows about the {@i Infernal Machine} components in the temple, and appears to entertain the notion of bargaining with the characters for them. In truth, he will never part with them as long as they fuel his experiments, and he looks to subvert any deal by eventually feeding the characters to the thessalkraken in the subterranean lake.",
										"In exchange for the components in his possession, Thessalar proposes any of the following options:",
										{
											"type": "list",
											"items": [
												"The characters can travel to the Tomb of Horrors (see {@adventure chapter 3|IMR|3}) to recover Seodra's plans for crafting the jeweled skull of a demilich, as well as the remaining jeweled teeth (both in {@area area 18a|0aa|x} of the tomb). This will allow the captured gemsmith to complete the skull for Thessalar instead.",
												"The characters can instead travel to the tomb to either facilitate a prisoner exchange (offering Seodra for Thessalar's missing sculptors), or to disrupt its construction by stealing Moghadam's plans for the tomb."
											]
										},
										"The distance between the Temple of Moloch and the Tomb of Horrors is left to your determination, as are the details of the overland journey. If you don't want to play out that journey, the characters' mechanical guide can use its teleportation ability to take them to the tomb.",
										"If the characters have already caused trouble in the temple, or if Thessalar suspects they will, he might just task them with the \"easy challenge\" of collecting gemstones from the temple's subterranean lake as replacements for the missing components\u2014without mentioning the thessalkraken that dwells there."
									]
								},
								{
									"type": "entries",
									"name": "Homunculus",
									"id": "115",
									"entries": [
										"Resembling an impish version of Moloch (complete with small ruby eyes worth 100 gp each), Thessalar's homunculus assists with the artificer's experiments, and acts as a conduit for the complicated weave of magic in the Temple of Moloch. If the homunculus is destroyed, the eidolon in the main temple ({@area area 25|13a|x}) must immediately use its Incorporeal Movement trait to enter the nearest available sacred statue, where it remains trapped. If no sacred statues are available, the eidolon is destroyed.",
										"{@creature Thessalar's homunculus|IMR} uses the normal stat block with the following change:",
										{
											"type": "list",
											"items": [
												"The homunculus has the following additional attack option: {@b {@i Acidic Spittle}.} {@i Ranged Weapon Attack}: +4 to hit, range 30 ft., one target. {@i Hit}: 5 ({@dice 1d6 + 2}) acid damage."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Control Panel",
									"id": "116",
									"entries": [
										"The control panel on the desk is covered with dials, switches, and buttons\u2014including three emerald-green buttons recognizable as missing components from the {@i Infernal Machine}. Removing these missing components deactivates the controls and releases the {@creature pseudodragon} and the ant swarm (use the {@creature swarm of insects} stat block), which attack the nearest creatures until destroyed."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "117",
									"entries": [
										"The table is, in fact, crafted from four dryads, all subject to a diminution effect and subsequently {@condition petrified}. If the characters have the ability to undo this state for all of them, the dryads are grateful to them. They promise a favor of your determination, then leave the temple for the nearby woods where they once dwelled.",
										"If this area is searched, a successful DC 14 Intelligence ({@skill Investigation}) check uncovers research notes regarding Thessalar's experiments, including his creation of the various thessalbeasts and the owlbear. The miniaturized human in stasis is described as a prototype phylactery, and is part of the artificer's research into lichdom. Other notes mention Nolzur's apprenticeship and the experiments with his blood (see {@area area 7|076|x} of {@adventure chapter 3|IMR|3}) and how the silver wires can be used to attach the organs of creatures to other hosts (including Barbatos in areas 12 or 13, and the ettin in {@area area 35|15f|x}).",
										"In addition, this area contains {@item alchemist's supplies|PHB}, an {@item herbalism kit|PHB}, two vials each of {@item Thessaltoxin|IMR|thessaltoxin poison} and {@item thessaltoxin antidote|IMR} (see {@adventure appendix C|IMR|8}), a box of ten {@item Paper Bird|WDH|paper birds} ({@adventure appendix C|IMR|8}), and a strongbox containing three exceptional rubies worth 500 gp each."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "118",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area has no effect on Thessalar or his homunculus, but one of the experiments in the lab randomly advances as you determine. For example, using 1 charge might cause the pseudodragon to age into an undead pseudo-dracolich form, the miniature human to revert into a miniature baby that wakes from stasis and starts crying, and so forth."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "16. Main Laboratory (South)",
							"id": "119",
							"entries": [
								"Depending on how they move through this area, the characters might see into {@area area 14|10a|x} at the same time. See that area for additional details.",
								{
									"type": "insetReadaloud",
									"id": "11a",
									"entries": [
										"A massive L-shaped laboratory space is filled with creatures strapped down to tables or chained to the floor, all attended to by lizardfolk workers. In this west wing of the lab, two owlbears are chained to the floor, connected by silver wires to a third creature that appears to be a two-headed owlbear. More silver wire connects their restraints to a complex control panel standing between them."
									]
								},
								"The experiment underway in this area involves creating a two-headed owlbear by infusing an owlbear\u2014a classic creation of Thessalar's\u2014with ettin's blood.",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "11b",
									"entries": [
										"Four {@creature Lizardfolk Shaman||lizardfolk shamans} work here as lab managers, overseeing the process by which two {@creature Owlbear||owlbears} are fueling the creation of a new creature\u2014a {@creature two-headed owlbear|IMR} nicknamed Bear-Bear (see {@adventure appendix B|IMR|7} for its stat block). If the lizardfolk shamans are attacked, they release the owlbears and the two-headed owlbear to take on the characters, then flee to alert the rest of the laboratory section of the temple (areas 1 through 23).",
										"If the owlbears or their two-headed kin are freed, the cruel experiments performed on them have pushed them all to the breaking point. They ignore each other but attack any other creatures they can see."
									]
								},
								{
									"type": "entries",
									"name": "Control Panel",
									"id": "11c",
									"entries": [
										"The control panel is covered with dials, switches, and buttons\u2014including a light-purple button recognizable as one of the missing components of the {@i Infernal Machine}. Removing this component deactivates the controls and releases the restraints on the tables, freeing all the creatures in this area.",
										"Anyone attempting to disrupt the controls or the wires must succeed on a DC 13 Constitution saving throw or take 11 ({@dice 2d10}) force damage. The controls and the wires are self-repairing, and cannot be severed or destroyed."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "11d",
									"entries": [
										"Any search of the room recovers two vials of {@item Thessaltoxin|IMR|thessaltoxin poison} (see {@adventure appendix C|IMR|8}) and a vial labeled \"Distilled Ettin Blood\" (worth 25 gp to an alchemist), all used to facilitate the experiments here."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "11e",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the owlbears' chains to rust with age and weaken, even as the owlbears age into undead versions, break free, and attack until destroyed. Each of the skeletal, rotted creatures uses the {@creature skeletal owlbear|IMR} or {@creature skeletal two-headed owlbear|IMR} stat block which includes the following changes:",
										{
											"type": "list",
											"items": [
												"It has the undead type instead of the monstrosity type.",
												"It has vulnerability to bludgeoning damage.",
												"It is immune to poison damage and the {@condition poisoned} condition, and is immune to {@condition exhaustion}."
											]
										}
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Exploring the Temple (areas 17-24)",
					"id": "11f",
					"entries": [
						{
							"type": "entries",
							"name": "17. Midden",
							"id": "120",
							"entries": [
								"As the characters approach this area, a foul stench begins to rise. When the door is opened, read:",
								{
									"type": "insetReadaloud",
									"id": "121",
									"entries": [
										"The stench from the chamber beyond the door delivers a punch like an angered demigod. The floor slopes toward an open pit at its center, and is covered in a layer of waste, blood, and viscera."
									]
								},
								"The temple residents bring their refuse to this filthy chamber, including organic waste from the various laboratories. The foul debris here is ankle deep at the edges of the chamber, rising to knee deep closer to the center where the floor slopes toward the pit (area 18).",
								"Upon entering this area, a character must succeed on a DC 12 Constitution saving throw or become {@condition poisoned} for 1 hour. Each character who moves across the floor must succeed on a DC 12 Dexterity check or fall {@condition prone} at the end of their move. If the check fails by 5 or more, the character slides 5 feet closer to the pit.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "122",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes a {@creature lizardfolk} to appear here with a bucket of waste to dispose of. The lizardfolk ignores the characters, expecting that anyone hanging out in the midden must have some good reason to do so."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "18. Disposal Pit",
							"id": "123",
							"entries": [
								"This open pit collects the waste thrown into the midden (area 17), where it feeds the {@creature otyugh} that dwells in the pit. If any creature moves within 5 feet of the pit, the otyugh clambers out and attacks.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "124",
									"entries": [
										"Having a mechanical guide spend 1 charge within 5 feet of the pit evolves the otyugh into a {@creature neo-otyugh|IMR}, which leaves the pit and attacks any creatures it can see. If the characters flee, the neo-otyugh begins to roam the temple, attacking all creatures as it looks to establish itself as the new ruler of the site."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "19. Sitting Room",
							"id": "125",
							"entries": [
								"Serving as Thessalar's private study, this area is richly furnished with ornate tables, chairs, and cabinets all carved from expensive stone. A fireplace along the west wall is carved to resemble a smaller version of the famed statue of Moloch in the main temple ({@area area 25|13a|x}).",
								{
									"type": "entries",
									"name": "Treasure",
									"id": "126",
									"entries": [
										"With successful DC 14 Intelligence ({@skill Investigation}) checks made to search this area, the characters can uncover several items of interest:",
										{
											"type": "list",
											"items": [
												"A vial of {@item Thessaltoxin|IMR|thessaltoxin poison} (see {@adventure appendix C|IMR|8})",
												"A tiny {@creature mimic} in the shape of a jewelry box; the mimic deals half damage with its pseudopod and bite attacks, and has only 1 hit point",
												"Three rubies (worth 200 gp each)",
												"A piece of river crystal (400 gp)"
											]
										},
										"In addition, designs can be found for Thessalar's homunculus, indicating how it was crafted from a sliver of the statue of Moloch, and hinting that its destruction will disrupt the eidolon in {@area area 25|13a|x}."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "20. Thessalar's Bedroom",
							"id": "127",
							"entries": [
								"Thessalar's private sleeping quarters are richly furnished with an ornate bed, chests filled with clothes, and other personal effects. A fireplace along the east wall resembles a smaller version of the famed statue of Moloch in the main temple ({@area area 25|13a|x}).",
								{
									"type": "entries",
									"name": "Treasure",
									"id": "128",
									"entries": [
										"A successful DC 12 Intelligence ({@skill Investigation}) check made to search this area uncovers a key to the treasure vault in {@area area 38|16b|x} (set with a small ruby worth 20 gp). In addition, journal entries hint at Thessalar's immunity to poison and his vulnerability to magic potions and salves that restore hit points."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "129",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes {@creature Thessalar|IMR} to return here from his private lab ({@area area 15|110|x}) and prepare to rest. His homunculus remains in the lab to clean up experiments in progress, providing the characters with a window of opportunity to deal with it alone if they so choose."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "21. Elite Guard Barracks",
							"id": "12a",
							"entries": [
								"This damp chamber is filled with dry straw sleeping palettes, and houses the guards responsible for the protection of Thessalar's apartments and laboratories.",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "12b",
									"entries": [
										"Three {@creature Lizardfolk Render|GoS|lizardfolk renders} are stationed here. They attack any intruders to subdue them, then drag them before Thessalar in {@area area 15|110|x}."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "12c",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area reverses time and causes the lizardfolk to head into the temple complex to search for Moghadam's thieves, believing the thieves have just arrived. You determine where the guards might be encountered as a result."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "22. Alchemical Lab",
							"id": "12d",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "12e",
									"entries": [
										"This laboratory space is filled with worktables holding tubing, glassware, and all manner of alchemical experiments. All the various experiments are connected by silver wires to a complex control panel."
									]
								},
								{
									"type": "entries",
									"name": "Control Panel",
									"id": "12f",
									"entries": [
										"The control panel is covered with dials, switches, and buttons\u2014including a hazy yellow button recognizable as one of the missing components of the {@i Infernal Machine}. Removing this component deactivates the controls and shuts down all the experiments underway here."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "130",
									"entries": [
										"Any search of this area recovers a set of {@item alchemist's supplies|PHB}, a set of {@item glassblower's tools|PHB}, and a set of {@item tinker's tools|PHB}. In addition, a successful DC 14 Intelligence ({@skill Arcana}) check identifies two vials of {@item Thessaltoxin|IMR|thessaltoxin poison}, one vial of {@item blood of the lycanthrope antidote|IMR}, one vial of {@item mummy rot antidote|IMR}, and one vial of {@item thessaltoxin antidote|IMR}. See {@adventure appendix C|IMR|8} for all these items."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "131",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area advances the experiments underway here, producing three identical vials of liquid. One is water, one is a {@item potion of poison}, and one is a potion chosen by you."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "23. Body Tanks",
							"id": "132",
							"entries": [
								"If the characters have met Thessalar already, they recognize the bodies in the tank as the artificer. Adjust the following read-aloud text accordingly:",
								{
									"type": "insetReadaloud",
									"id": "133",
									"entries": [
										"This chamber holds a half-dozen floor-to-ceiling glass tanks, four of which are filled with a light-blue fluid in which the body of an elderly male human is suspended. Three of the bodies appear lifeless and inert. The fourth looks toward you and mouths silent words."
									]
								},
								"Thessalar maintains several clones in tanks of preserving chemicals here, prepared by the spell of the same name and awaiting his use. Three clones are inert. The fourth has managed to gain a degree of sentience from its proximity to the magic of the missing components of the {@i Infernal Machine}, and mouths its demand to be set free. If freed, it claims to be the true Thessalar and that the artificer in {@area area 15|110|x} is an impostor.",
								"Any freed clone uses the same stat block as {@creature Thessalar|IMR} (see {@adventure appendix C|IMR|8}) but lacks his special equipment and his homunculus.",
								{
									"type": "entries",
									"name": "Concealed Door",
									"id": "134",
									"entries": [
										"Located at the back of an empty tank, this locked door leads to {@area area 9|0eb|x}. It can be detected with a successful DC 14 Wisdom ({@skill Perception}) check. Without the key carried by Andras, its lock can be picked with a successful DC 18 Dexterity check using thieves' tools, or it can be forced with a successful DC 18 Strength check."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "135",
									"entries": [
										"Having a mechanical guide spend 1 or more charges in this area causes one clone per charge to gain sentience, awaken, and demand to be set free. If all four are awakened, Thessalar arrives to investigate."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "24. Halls of Statues",
							"id": "136",
							"entries": [
								"This series of long hallways are each lined with statues created by the temple's sculptors through the ages. Many depict Moloch, but other archdevils, demon lords, and former high priests of the temple are also represented. A successful DC 12 Intelligence ({@skill Religion}) check identifies any statue's specific subject, including several statues of Demogorgon, Asmodeus, Dagon, Bel, Zariel, Mammon, and Semuanya.",
								{
									"type": "entries",
									"name": "Sacred Statues",
									"id": "137",
									"entries": [
										"Ten of the statues in this area are large enough to serve as {@creature Sacred Statue|MTF|sacred statues}. The {@creature eidolon|MTF} in area 25 can enter and animate those statues as needed (see {@adventure appendix B|IMR|7}).",
										"The sacred statues can be attacked to destroy them, preventing the eidolon from animating them. When not occupied by the eidolon, each statue has AC 17, 50 hit points, resistance to piercing and slashing damage, and immunity to poison and psychic damage. A sacred statue is also vulnerable to the set of superior mason's tools found in {@area area 11|08a|x} of {@adventure chapter 3|IMR|3}. A character proficient with mason's tools can use the superior set to destroy a sacred statue with a successful DC 13 Dexterity check."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "138",
									"entries": [
										"Having a mechanical guide spend 1 or more charges in this area causes one sacred statue per charge to age and crumble to rubble, as long as the statue is not occupied by the eidolon."
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Exploring the Temple (areas 25-32)",
					"id": "139",
					"entries": [
						{
							"type": "entries",
							"name": "25. Main Temple",
							"id": "13a",
							"entries": [
								{
									"type": "insetReadaloud",
									"id": "13b",
									"entries": [
										"The north end of this vaulted chamber is entirely filled by the temple's famed statue of Moloch. The impressive figure rises twenty-five feet high, nearly touching the ceiling. Its hands hold a massive burning brazier, illuminating the chamber with an eerie flickering glow. The brazier's fire reflects brightly within the facets of the statue's massive ruby eyes."
									]
								},
								{
									"type": "entries",
									"name": "Statue of Moloch",
									"id": "13c",
									"entries": [
										"The eyes of the statue are the largest rubies ever recovered from the underground lake, and were cut and faceted by the temple's first priests. With a successful DC 12 Intelligence ({@skill Arcana}) check or a {@spell detect magic} spell, a character discerns that the gem eyes are a focal point for the magic of the temple, and are magically connected to the various control panels making use of the missing components from the {@i Infernal Machine of Lum the Mad}. A successful DC 12 Wisdom ({@skill Perception}) check made to examine the gems reveals that they are connected to the statue with silver wires similar to those seen in Thessalar's labs.",
										"The gems can be removed with a successful DC 20 Dexterity check using thieves' tools. However, doing so deactivates any control panel still utilizing components from the {@i Infernal Machine} in the temple (in areas 9, 14, 15, 16, and 22). This disrupts the experiments and frees the bound creatures in all those areas.",
										"The {@creature eidolon|MTF} in this area (see below) can enter the statue to transform it into a {@creature sacred statue|MTF}. The statue can be attacked to destroy it, preventing the eidolon from animating it. When not occupied by the eidolon, the statue has AC 17, 50 hit points, resistance to piercing and slashing damage, and immunity to poison and psychic damage. The statue is also vulnerable to the set of superior mason's tools found in {@area area 11|08a|x} of {@adventure chapter 3|IMR|3}. A character proficient with mason's tools can use the superior set to destroy the statue with a successful DC 13 Dexterity check.",
										"If the sacred statue is destroyed, the eidolon can enter one of the other appropriate statues in area 24."
									]
								},
								{
									"type": "entries",
									"name": "Alcove",
									"id": "13d",
									"entries": [
										"In the east wall, a narrow corridor leads to a tiny chapel room where the temple's first high priest communed with Moloch. After the priest's death, Moloch rewarded their faithful service by transforming him them into the {@creature eidolon|MTF} that still resides here.",
										"If the characters desecrate any part of the temple, including tampering with or examining the statue's gemstone eyes, the eidolon enters the sacred statue of Moloch and attacks."
									]
								},
								{
									"type": "entries",
									"name": "Concealed Door",
									"id": "13e",
									"entries": [
										"In the southeast corner of this area, a door concealed behind a tapestry leads to the guardroom ({@area area 34|15d|x}). A fight between the characters and the eidolon (in or out of the sacred statue) is heard by the guards, who rush up to investigate."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "13f",
									"entries": [
										"Notwithstanding their value to Moghadam and Thessalar, the statue's gemstone eyes are worth 5,000 gp each."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "140",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area forces the eidolon to either enter or leave the sacred statue. Doing so causes the eidolon to attack if it is not already in combat with the characters.",
										{
											"type": "image",
											"href": {
												"type": "internal",
												"path": "adventure/IMR/011-006.jpg"
											},
											"title": "Statue of Moloch",
											"width": 1200,
											"height": 1565
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "26. Workshop",
							"id": "141",
							"entries": [
								"The temple's sculptors labor in this workshop, which is filled with tables and benches covered in tools and raw materials for the crafting and repair of statuary.",
								{
									"type": "entries",
									"name": "Creatures",
									"id": "142",
									"entries": [
										"The five human sculptors here (use the {@creature cultist} stat block) work feverishly to cover for the absence of the colleagues who left for the Tomb of Horrors. If the characters talk to them, the sculptors assume they were sent from the tomb as well, and ask about their missing colleagues. The sculptors share that Thessalar has captured the thieves sent out by Moghadam, including the gemsmith in {@area area 31|151|x}). They also know about the eidolon in area 25, and that this area of the temple is guarded by a two-headed giant called \"the Demogorgon\" (in {@area area 35|15f|x})."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "143",
									"entries": [
										"In addition to ten rubies (worth 50 gp each) being worked into statues, this area contains two sets of {@item jeweler's tools|PHB} and {@item mason's tools|PHB}, as well as half a {@item manual of stone golems}. This is the torn matching half of the half manual held by the sculptors in {@area area 11|08a|x} of {@adventure chapter 3|IMR|3}. Even incomplete, it is worth 500 gp."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "144",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the sculptors to leave and return to their dormitory ({@area area 33|15a|x})."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "27. Workshop and Storage",
							"id": "145",
							"entries": [
								"This area holds a large kiln, which is constantly lit and used for the crafting of statues, homunculi, and other objects for the temple. Tools, chunks of stone, and lumps of clay wrapped in cloth are scattered about.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "146",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the homunculus in {@area area 15|110|x} to return here (its place of origin)."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "28. Private Chapel",
							"id": "147",
							"entries": [
								"The temple's high priest resides in these small quarters, which contain a bed, personal effects, ceremonial robes, and religious instruments of office. A fireplace along the northeast wall is carved to resemble a smaller version of the famed statue of Moloch.",
								{
									"type": "entries",
									"name": "Alcoves",
									"id": "148",
									"entries": [
										"The larger alcove to the south of this area holds a pile of sacred stones for the construction of a powerful stone golem. This stone supposedly fell from Ogrémoch's body during the fight against Olhydra that carved out the first of the temple caverns. The smaller alcove holds the golem under construction. Thessalar hopes to recover his sculptors, their superior mason's tools, and their half of the {@item manual of stone golems} to complete this golem and send it out against Moghadam."
									]
								},
								{
									"type": "entries",
									"name": "High Priest",
									"id": "149",
									"entries": [
										"Ard-Sagart (a lawful evil male human {@creature warlock of the fiend|VGM}) is here when the characters arrive, praying before the fireplace. With the loss of the sculptors in Thessalar's service, he believes the temple has lost favor with Moloch. To remedy this, he has requested more lizardfolk to brave the underwater lake and collect gemstones as tribute. He is preparing to bless the next volunteers."
									]
								},
								{
									"type": "entries",
									"name": "Secret Door",
									"id": "14a",
									"entries": [
										"A secret door to the underground lake is hidden within the fireplace, and can be detected with a successful DC 16 Wisdom ({@skill Perception}) check. The image of the brazier held by the statue of Moloch is worked into the fireplace hearth. Two types of offering can be placed in this graven brazier\u2014either a character's sacrifice of blood (represented by a self-inflicted wound that deals 5 piercing or slashing damage) or a gemstone of any value. Either offering is consumed when given, whereupon the fireplace flames magically lower and the secret door in the back of the fireplace opens."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "14b",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the high priest to leave for area 29 by way of the secret door, then prepare for a ceremony of blessing."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "29. Secret Equipment Room",
							"id": "14c",
							"entries": [
								"Gear and equipment related to exploring the underground lake are stored in this private chapel to the temple's living demigod, the thessalkraken. Search and salvage gear are normally assigned to the lizardfolk charged with searching the subterranean lake for gems. Before entering the lake, the lizardfolk are blessed by the high priest in front of a smaller version of the statue of Moloch, modified to resemble the thessalkraken by having its arms changed into tentacles and its mouth filled with long needle-like teeth.",
								{
									"type": "entries",
									"name": "Treasure",
									"id": "14d",
									"entries": [
										"In addition to mundane gear, this area contains a {@item folding boat}, a {@item helm of underwater action|GoS} (see {@adventure appendix C|IMR|8}), and an incomplete {@item apparatus of Kwalish}. The missing levers of the apparatus can be found in {@area area 7|0e5|x}, and require a successful DC 14 Intelligence ({@skill Arcana}) check or a Dexterity check using thieves' tools or tinker's tools to reassemble."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "14e",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes {@dice 1d4} {@creature Lizardfolk Render|GoS|lizardfolk renders} to arrive for the priest's blessing before departing down the stairs to the underground lake (area 30). They attack unless they can be convinced the characters are part of the blessing ceremony."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "30. Hidden Stairs",
							"id": "14f",
							"entries": [
								"This winding set of stairs leads down to a natural cavern system below the temple. The main cavern is filled with a vast subterranean lake, fed by the stream at {@area area 2|0cd|x}. See \"Underground Lake\" at the end of this chapter for more information.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "150",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the thessalkraken to reveal itself as it breaks the surface of the water seeking food. Spending 2 charges also causes {@dice 1d4} {@creature Lizardfolk Render|GoS|lizardfolk renders} to arrive, ready to brave the waters in search of gems. The lizardfolk take the appearance of the characters as a sign of offering, and attempt to force them into the water as sacrifices for their demigod."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "31. Gemsmith's Cell",
							"id": "151",
							"entries": [
								"The oak door leading to this area is locked, but can be opened with a successful DC 14 Dexterity check using thieves' tools, or forced open with a successful DC 14 Strength check. The chamber beyond holds the temple's most valued prisoner, Seodra the gemsmith.",
								{
									"type": "insetReadaloud",
									"id": "152",
									"entries": [
										"This room contains a cot, a footlocker, a basin, and a worktable covered in various tools. The table is presently occupied by a female genasi, her skin encrusted with patches of faceted crystals. The project she's working on is a silver skull with jeweled teeth.",
										"Not bothering to look at you, the genasi says, \"Your interruptions are not helping. For the last time, tell Thessalar I need more time to finish!\""
									]
								},
								{
									"type": "entries",
									"name": "The Gemsmith",
									"id": "153",
									"entries": [
										"{@creature Seodra|IMR} is an earth genasi from the Quasi-elemental Plane of Mineral. Sent by Moghadam to assist the thieves charged with stealing the gemstone eyes from the statue of Moloch in {@area area 25|13a|x}, she was captured and put to work.",
										"If the characters talk of rescuing her, Seodra refuses to leave unless they also promise to help her steal the statue's eyes. She takes her tools and the silver skull if the characters convince her to come with them. {@creature Seodra|IMR} uses the {@creature noble} stat block with the following changes:",
										{
											"type": "list",
											"items": [
												"She has AC 19 (natural armor).",
												"She speaks Common and Primordial.",
												"She can move across difficult terrain made of stone without expending extra movement.",
												"She has the following trait: {@b {@i Treasure Sense}.} Seodra can pinpoint, by scent, the location of precious metals and stones, such as coins and gems, within 60 feet of her."
											]
										}
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "154",
									"entries": [
										"The worktable contains the workings for the jeweled skull of a demilich: a solid silver skull (worth 2,000 gp) into which three diamonds (1,000 gp each) have been cut and set as teeth. Thessalar plans to use the skull for his own ascension to lichdom, either as his lich's phylactery or as the skull of a demilich.",
										"Seodra possesses a set of superior {@item jeweler's tools|PHB}. These tools grant advantage when used to make an appropriate crafting check, and are worth 500 gp."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "155",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area taps into the ritual magic Seodra is using to craft the demilich's skull, causing a random character to age by one year. This effect can be reversed by casting a {@spell remove curse} spell using a 6th-level spell slot."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "32. Guardroom",
							"id": "156",
							"entries": [
								"Four {@creature Lizardfolk Render|GoS|lizardfolk renders} are stationed here, assigned to watch over the gemsmith in area 31.",
								{
									"type": "entries",
									"name": "Corridor",
									"id": "157",
									"entries": [
										"The small corridor leading east across from the guardroom dead-ends at a point with several natural fissures in the floor (leading to the underground lake below), and is used as a privy."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "158",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the lizardfolk to head into the temple complex to search for Moghadam's thieves, believing the thieves have just arrived. You determine where the guards might be encountered as a result."
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Exploring the Temple (areas 33-39)",
					"id": "159",
					"entries": [
						{
							"type": "entries",
							"name": "33. Sculptors' Dormitory",
							"id": "15a",
							"entries": [
								"This cramped dormitory holds bunks and simple furnishings for the fifteen sculptors originally living in the temple. Ten of those sculptors left the temple to work at the Tomb of Horrors, with only five remaining at work in {@area area 26|141|x}.",
								{
									"type": "entries",
									"name": "Belongings",
									"id": "15b",
									"entries": [
										"A successful DC 12 Intelligence ({@skill Investigation}) check made to search this area uncovers a {@item figurine of wondrous power} hidden by one of the sculptors (choose any rare figurine). The figurine is wrapped in a crumpled invitation sent from Moghadam for employment at the Tomb of Horrors, promising exorbitant wages and offering a map showing the route to the temple."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "15c",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the sculptors to leave their work in {@area area 26|141|x} and return here to rest."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "34. Guardroom",
							"id": "15d",
							"entries": [
								"Four {@creature Lizardfolk Shaman||lizardfolk shamans} are stationed here as temple guards. If they hear any sign of trouble along the corridor from {@area area 25|13a|x}, they rush through the concealed doors to help defend the eidolon and the sacred statue there.",
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "15e",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the lizardfolk to head into the temple complex to search for Moghadam's thieves, believing the thieves have just arrived. You determine where the guards might be encountered as a result."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "35. Office of the Demogorgon",
							"id": "15f",
							"entries": [
								"This area houses an ettin, originally brought here for Thessalar's experiments. The giant is kept both for his blood supply, which Thessalar uses in the crafting of new two-headed creatures, and as a guard for the treasure vault ({@area area 38|16b|x}).",
								"As the characters approach the entrance to this area, read:",
								{
									"type": "insetReadaloud",
									"id": "160",
									"entries": [
										"A deep voice cries out through the open doorway ahead, quickly responded to by a second voice.",
										"\"So! You come to honor Emmanuel, right head of the Demogorgon!\"",
										"\"No! You honor Hebediah, left head of Demogorgon!\""
									]
								},
								"When the characters can see into this area, read:",
								{
									"type": "insetReadaloud",
									"id": "161",
									"entries": [
										"This filthy chamber is occupied by an ettin who is the source of the bellowing. The right head of the creature sports a stylish beard, while the left head has a large, curving mustache. Silver wires extend from a large pouch hanging around the giant's two necks, connecting directly into his chest. A pig snoozes on the floor at the ettin's feet.",
										"\"Stand still!\" one head roars. \"My steward Slippy will present you for a formal audience.\"",
										"\"No! My steward Sticky will present you!\"",
										"Both heads then ignore you as they begin bellowing over one another for Slippy and Sticky to attend them."
									]
								},
								{
									"type": "entries",
									"name": "The Demogorgon",
									"id": "162",
									"entries": [
										"{@creature \"The Demogorgon\"|IMR|This ettin} is thoroughly deranged, with Thessalar cruelly humoring the creature's condition in his \"honored\" treatment. See {@adventure appendix B|IMR|7} for {@creature \"The Demogorgon\"|IMR|the ettin's} stat block. At one time, he was told that he was a statue of Demogorgon brought to life by Thessalar's experiments. He has since come to believe that he is now the actual Demogorgon, with his two heads addressing one another as Aameul and Hathradiah\u2014mispronounced as Emmanuel and Hebediah, respectively. A successful DC 14 Intelligence ({@skill History}) check allows a character to recall the real names of Demogorgon's heads.",
										{
											"type": "image",
											"href": {
												"type": "internal",
												"path": "adventure/IMR/012-007.png"
											},
											"title": "\"The Demogorgon\"",
											"width": 819,
											"height": 1000
										},
										"Much like the true Demogorgon, the ettin's two heads constantly clash and refuse to speak directly with one another, instead relaying messages through their assigned stewards (housed in areas 36 and 37).",
										"If the ettin is defeated, examining the pouches around his necks reveals a collection of eyeballs and still-beating dragon hearts. The silver wires connect those living tissues to the ettin's own hearts, providing the creature's unique features. This setup is made permanently inoperable if the ettin is slain.",
										"Anyone attempting to disrupt the wires must succeed on a DC 13 Constitution saving throw or take 11 ({@dice 2d10}) force damage. The wires are self-repairing, and cannot be severed or destroyed."
									]
								},
								{
									"type": "entries",
									"name": "Alcoves",
									"id": "163",
									"entries": [
										"Various alcoves and side passages around this area hold a foul-smelling clutter of chickens, pigs, and goats kept behind wicker barricades, raised as food for the ettin. They are tended by the boggle who is steward to both the ettin's heads (see areas 36 and 37)."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "164",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the chickens to lay more eggs, to the delight of the ettin. Both his heads call out for their steward to gather the eggs at once."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "36. Office of Hebediah's Steward",
							"id": "165",
							"entries": [
								"This office apartment houses the steward assigned to the ettin's left head (Hebediah). The room is meagerly furnished with a cot and a single chair, and connects to area 37 via a short hall hidden behind a poorly hung curtain. The tunnel is easily discovered with a successful DC 10 Wisdom ({@skill Perception}) check.",
								{
									"type": "entries",
									"name": "\"Slippy\"",
									"id": "166",
									"entries": [
										"If not already met when summoned to area 35, there is a {@chance 50|50 percent} chance that the steward to the ettin is found in this area. If not in this area, the boggle is in area 37.",
										"This {@creature boggle|VGM} was one of two caught trying to use their Dimensional Rift traits to reach into the temple's treasure vault ({@area area 38|16b|x}). As punishment, they were assigned to provide care and grooming to the ettin's left and right heads, as well as relaying messages on the giant's behalf. When the ettin wants to talk to himself, one head gives the message to his steward, who runs off to deliver it to the other steward, who runs back to deliver it to the other head, and back down the line.",
										"The two stewards are identical except for an epaulet worn on the left or right shoulder of their livery, but they have of late never been seen together. This is because only one boggle remains, the companion boggle having been disposed of in {@area area 7|0e5|x}. Both stewards are thus now the same creature, who works hard to make sure this is never discovered. The boggle intuits (correctly) that if the ettin were to uncover this secret, he would rip the boggle in half as a furious means of getting the proper number of stewards once more."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "167",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the steward to run back if they are elsewhere, or rush off to perform some task or deliver a muddled message to the ettin. In the course of doing so, they confuse matters such that their true nature as steward to both heads is accidentally revealed, incurring the ettin's wrath.",
										"If 1 more charge is subsequently spent, things instead rewind and the ettin forgets all. The steward realizes they have been saved and is eternally grateful to the characters, helping them in any way possible."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "37. Office of Emmanuel's Steward",
							"id": "168",
							"entries": [
								"This office apartment houses the steward assigned to the ettin's right head (Emmanuel). It is meagerly furnished with a cot and a small table, and connects to area 36 via a panel hidden behind a poorly hung curtain. The tunnel is easily discovered with a successful DC 10 Wisdom ({@skill Perception}) check.",
								{
									"type": "entries",
									"name": "\"Sticky\"",
									"id": "169",
									"entries": [
										"If not already met when summoned to {@area area 35|15f|x}, there is a {@chance 50|50 percent} chance that the steward to the ettin is found in this area. If not in this area, the {@creature boggle|VGM} is in area 36. See area 36 for details on the identity of Sticky and Slippy."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "16a",
									"entries": [
										"Having a mechanical guide spend charges in this area has the same effect as in area 36."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "38. Treasure Vault",
							"id": "16b",
							"entries": [
								"The wealth the temple has collected over centuries is stored in this hidden vault. Much of this wealth consists of gemstones gathered from the underground lake beyond areas 30 and 39.",
								{
									"type": "entries",
									"name": "Secret Door",
									"id": "16c",
									"entries": [
										"The secret door leading into this area can be detected with a successful DC 14 Wisdom ({@skill Perception}) check, but is locked. Without the key (found in {@area area 2|0cd|x} or {@area area 20|127|x}), the lock requires a successful DC 18 Dexterity check using thieves' tools to open, or it can be forced open with a successful DC 22 Strength check."
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "16d",
									"entries": [
										"Uncut rubies and other gems are piled and sorted here according to size\u2014two hundred tiny stones (worth 10 gp each), one hundred small stones (25 gp each), twenty medium stones (100 gp each), and five large stones (200 gp each).",
										"A small cask holds cut and polished rubies\u2014fifty small gems (worth 100 gp each), ten medium gems (150 gp each), and five large gems (250 gp each).",
										"In addition, five magic gems and stones are stored in individual coffers scattered about the room\u2014an {@item Elemental Gem, Yellow Diamond||elemental gem (earth)}, an {@item Ioun stone of vitality|IMR} (see {@adventure appendix C|IMR|8}), and three {@item Spell Gem|OotA|spell gems} (see {@adventure appendix C|IMR|8}). Two of the spell gems are {@item Spell Gem (Lapis lazuli)|OotA|lapis lazuli} holding {@spell identify} and {@spell unseen servant}. The third is a {@item Spell Gem (Quartz)|OotA|quartz} holding {@spell locate object}."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "16e",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area either causes {@dice 1d4} of the largest uncut rubies to become cut and polished, doubling their value (a {@chance 50|50 percent} chance), or causes the same number of the largest cut rubies to degrade back to raw stones, halving their value."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "39. Stairs to Underground Lake",
							"id": "16f",
							"entries": [
								"These twisting, turning stairs lead down to the underground lake that opens up beneath the temple complex."
							]
						},
						{
							"type": "entries",
							"name": "Underground Lake",
							"id": "170",
							"entries": [
								"The full details of the natural cavern system that opens up below the temple are left for you to design if desired. The main cavern, reached by the stairs at {@area area 30|14f|x} or 39, is filled by a subterranean lake fed by the stream at {@area area 2|0cd|x}.",
								"When the characters descend the stairs at {@area area 30|14f|x} or area 39, read:",
								{
									"type": "insetReadaloud",
									"id": "171",
									"entries": [
										"The stairs end abruptly, opening up to a vast natural cavern deep beneath the temple. A pebbly beach extends toward the dark waters of a subterranean lake that fills the cavern, a cold wind blowing across it."
									]
								},
								"If the characters have light sources with them, anyone peering into the water notes a dull red gleam where a raw ruby sits at the bottom of the lake near the shore.",
								"Any creature setting foot on the beach or entering the water must succeed on a DC 13 Dexterity ({@skill Stealth}) check or rouse the dread creature lurking within the lake.",
								{
									"type": "entries",
									"name": "Creature",
									"id": "172",
									"entries": [
										"One of Thessalar's monstrous creations, the {@creature thessalkraken|IMR} proved too dangerous to safely handle and was exiled to these caverns years ago. It has since grown too large to return to the temple, and now serves as a kind of living demigod to the cultists and lizardfolk serving Thessalar, who refer to it as the \"Child of Moloch.\""
									]
								},
								{
									"type": "entries",
									"name": "Treasure",
									"id": "173",
									"entries": [
										"Lizardfolk in service to Thessalar are sent here to brave the waters and attempt to recover more gemstones from the bottom of the lake. When the characters arrive here, the bottom of the lake is littered with {@dice 1d10} rubies. Roll a {@dice d10} to determine the value of each ruby found\u2014",
										{
											"type": "list",
											"items": [
												"1\u20135: 10 gp",
												"6\u20137: 25 gp",
												"8\u20139: 100 gp",
												"10: 200 gp"
											],
											"style": "list-no-bullets"
										},
										"If all the rubies are claimed, it takes 24 hours for more rubies to appear in the lake.",
										"The bottom of the lake is also covered with the cracked bones of the many creatures sacrificed to the thessalkraken, or who ran afoul of it while diving for gems."
									]
								},
								{
									"type": "entries",
									"name": "Manipulating Time",
									"id": "174",
									"entries": [
										"Having a mechanical guide spend 1 charge in this area causes the thessalkraken to break the surface of the water seeking food, thus revealing itself. Spending 2 charges also causes {@dice 1d4} {@creature Lizardfolk Render|GoS|lizardfolk renders} to arrive, ready to brave the waters in search of gemstones. The lizardfolk take the appearance of the characters as a sign of offering, and attempt to force them into the water as sacrifices for their demigod."
									]
								}
							]
						}
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Chapter 5: Final Showdown",
			"id": "175",
			"entries": [
				"After visiting the Tomb of Horrors or the Temple of Moloch (or both), the characters should have recovered some of the missing components of the {@i Infernal Machine}. Whenever they return to their original time, Lynx and Sir Ursas both make a play for the components, desiring to use them to complete and control the {@i Infernal Machine of Lum the Mad}.",
				{
					"type": "section",
					"name": "Special Delivery",
					"id": "176",
					"entries": [
						"Whichever agent the characters are working for, their mechanical guide is programmed to teleport them back to the agent's manor. If the characters somehow obtained both mechanical guides, they can decide which agent they want to initially return to. (Even if the characters have done secret deals with both agents, they should choose one to be their initial contact upon their return to their original time.)",
						"If the characters somehow manage to return to their original time at any other location, a courier arrives at that location shortly thereafter, delivering an urgent invitation to come to the manor to discuss the results of their expedition. If the characters have the intent of avoiding the agent, the agent comes to find them in short order, and arranges for their mechanical guide to teleport everyone back to the manor.",
						{
							"type": "entries",
							"name": "Formal Review",
							"id": "177",
							"entries": [
								"When the characters meet with their chosen agent, Lynx or Sir Ursas asks to inspect any missing components they've collected. The agent agrees to pay the characters as arranged, but only after their servants test that the components are in working order. The characters are then led to the agent's workshop. As they go, the agent talks about deducting expenses for any resources used, damage to the mechanical guide, and so forth\u2014in general, becoming increasingly insidious."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Completing the Machine",
					"id": "178",
					"entries": [
						"When the characters first see the workshop, they become aware of the scope of what the agent is hoping to achieve.",
						{
							"type": "insetReadaloud",
							"id": "179",
							"entries": [
								"The entire workshop is filled with a massive magical-mechanical device, worked on by a half-dozen servants. With no visible means to move it, the {@i Infernal Machine of Lum the Mad} must presumably have the power to teleport itself from place to place. It appears ancient, the style of its crafting unlike anything you've ever seen before. It features some sixty levers, forty dials, and twenty massive switches, as well as a booth large enough to hold four humans\u2014but whether those humans would be the machine's operators or the targets for its magic is unknown."
							]
						},
						"When the components the characters collected are presented, the agent's assistants (six {@creature Cultist||cultists} in official-looking white lab coats) work quickly to install those components into the {@i Infernal Machine}. The mechanical guide that's accompanied the characters attaches itself to the machine, allowing it to serve as a command unit.",
						"Another six {@creature Cultist||cultists} then appear with the agent's secret prisoner to finalize the programming.",
						{
							"type": "insetReadaloud",
							"id": "17a",
							"entries": [
								"A door on the far side of the workshop opens, and six more assistants stride forth with a weary-looking prisoner in tow. A human male with a haughty bearing, and wearing tattered, once-regal clothes, the figure gazes up at the great machine with a sense of recognition and longing.",
								"Your host laughs, gesturing toward the figure with a flourish. \"Adventurers! May I present Lum the Mad!\""
							]
						},
						{
							"type": "entries",
							"name": "Lum the Mad",
							"id": "17b",
							"entries": [
								"In response to any reaction or questions, the agent proudly explains how the partially functioning {@i Infernal Machine} was used to find and capture Lum the Mad, so that he could assist in restoring the machine to its primal state.",
								"Lum uses the {@creature warlord|VGM} stat block, but is unarmed and has no attacks while under guard. He possesses sufficient knowledge to program the {@i Infernal Machine}, allowing it to fully function according to its description now that the missing components have been restored. In his state of low-grade madness, Lum has no reason to not follow the agent's orders and help bring the machine online. However, he is also able to deactivate the machine, or even cause it to self-destruct\u2014if the characters can convince him to do so with appropriate roleplaying or Charisma checks of your determination."
							]
						},
						{
							"type": "entries",
							"name": "Raid Against the Machine",
							"id": "17c",
							"entries": [
								"Immediately after the missing components are installed and Lum is presented, the other agent launches a surprise raid against the first agent's manor. Read the following, adding details as appropriate depending on whether Lynx or Sir Ursas is the one coming for the {@i Infernal Machine}, and whether or not the characters have met the other agent:",
								{
									"type": "insetReadaloud",
									"id": "17d",
									"entries": [
										"A sudden shattering crash is heard as the wall of the workshop collapses to rubble! A fighting force advances through a cloud of dust, led by a most unusual-looking figure."
									]
								},
								"The other agent arrives with a full complement of a dozen servants (use the {@creature cultist} stat block).",
								"During the raid, both agents attempt to attune to the {@i Infernal Machine}. You can decide which one is successful or allow chance to decide (see \"Complications\" below), taking into account the actions of the characters if they support one agent or the other.",
								"During the fight, both agents shout out accusations that reveal the other's true natures. Those natures are then confirmed by the agents themselves. Any injury dealt to {@creature Lynx Creatlach|IMR} shows the unnatural construction of her undead flesh and the rune-scribed skeleton beneath it. Any injury dealt to {@creature Sir Ursas|IMR} causes him to shout out in rage, swearing vengeance \"in the name of my unholy patron, Bel!\"",
								"If either agent gains control of the {@i Infernal Machine}, they immediately use it to attempt to defeat their rival. (The machine has all its normal functions except its {@spell wish} ability, which will require additional programming.) If confronted by the characters, the agent turns the {@i Infernal Machine} against them. If the characters leave the agent in control of the machine, the agent departs with it to the Nine Hells when their rival has been dealt with."
							]
						},
						{
							"type": "entries",
							"name": "Complications",
							"id": "17e",
							"entries": [
								"During the raid, any number of complications might arise. As desired, you can roll on the Machine Fight Complications table (see the next page) at the end of each round of combat, rerolling or ignoring results that have already occurred.",
								{
									"type": "inset",
									"name": "Failure Is an Option",
									"id": "17f",
									"entries": [
										"If the characters failed to recover a significant number of components from either site in the past\u2014and assuming you don't want to send them back\u2014you can work that into this final showdown. Whichever agent the characters return to is disappointed in their progress, but comes up with an alternative plan. Knowing that the other agent might also have sent their own operatives back to collect the missing components, the characters' agent invites them to help break into the rival agent's workshop to steal those components from the rival's version of the {@i Infernal Machine}. Reverse the general setup of this section to have the characters on the side that breaks into the workshop. There, they see the rival agent holding Lum the Mad, and in the process of completing the {@i Infernal Machine}."
									]
								},
								{
									"type": "table",
									"caption": "Machine Fight Complications",
									"colLabels": [
										"d100",
										"Result"
									],
									"colStyles": [
										"col-2 text-center",
										"col-10"
									],
									"rows": [
										[
											"01\u201315",
											"Lynx attunes to the {@i Infernal Machine} and begins to use its powers."
										],
										[
											"16\u201330",
											"{@dice 2d8} secret operatives of the city guard (use the {@creature spy} stat block) have been watching one or both agents, and show up to attempt to stop the fight."
										],
										[
											"31\u201345",
											"Lum is threatened by cultists of one agent or the other. If aided, he agrees to work with the characters in whatever fashion they desire."
										],
										[
											"46\u201355",
											"The {@i Infernal Machine} comes to life, summoning a CR 5 monster (your choice) that attacks the creatures closest to it."
										],
										[
											"56\u201365",
											"The {@i Infernal Machine} comes to life, summoning a CR 10 monster (your choice) that attacks the creatures closest to it."
										],
										[
											"66\u201370",
											"A spellcaster fighting for Lynx casts a {@spell lightning bolt} that streaks across the battlefield to strike targets as you determine."
										],
										[
											"71\u201375",
											"A spellcaster fighting for Sir Ursas casts a {@spell fireball} that explodes at a location of your determination."
										],
										[
											"76\u201380",
											"Lynx slays Sir Ursas. She cuts off his bear paw, promising to turn it into her personal backscratcher."
										],
										[
											"81\u201385",
											"Sir Ursas slays Lynx. He tears her flesh golem suit away to reveal the skeleton within, which he then shatters. Lynx's skull might still remain animated and conversational."
										],
										[
											"86\u201390",
											"Both Lynx and Sir Ursas manage to slay one another simultaneously."
										],
										[
											"91\u201300",
											"Both Lynx and Sir Ursas decide that events have grown too heated and escape into the city. High bounties are set for their capture."
										]
									]
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Concluding the Adventure",
					"id": "180",
					"entries": [
						"Depending on the hook you used and how this adventure fits into your overall campaign, a number of things can happen at the end of {@i Infernal Machine Rebuild}.",
						{
							"type": "entries",
							"name": "Nine Hells or Bust",
							"id": "181",
							"entries": [
								"If either agent is successful in taking the {@i Infernal Machine of Lum the Mad} to the Nine Hells, it changes the balance of power in Avernus. Either Zariel is able to solidify her rule of that level, or Bel is able to reclaim the level using the machine's power. What happens as a result is entirely up to you, and might come into play if you are running {@adventure Baldur's Gate: Descent into Avernus|BGDIA} as part of your campaign.",
								{
									"type": "inset",
									"name": "Finders Keepers",
									"id": "182",
									"entries": [
										"If the characters plan on keeping the missing {@i Infernal Machine} components for themselves, for delivery to another patron (such as Kwalish), or simply to keep them out of the hands of the agents, both Lynx and Sir Ursas launch separate attacks to recover them. These attacks can either be spaced out to avoid overwhelming the characters, or you can have both agents attack at the same time and largely concentrate on each other."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Our Infernal Machine",
							"id": "183",
							"entries": [
								"If one or both of Lynx and Sir Ursas are defeated, the characters might end up in possession of the {@i Infernal Machine}. If you opt to keep this powerful artifact in your campaign, see {@adventure appendix C|IMR|8} for its statistics. Otherwise, you can decide that the machine has been fatally programmed to disperse its components to all-new locations\u2014but only after the characters have had a bit of time to experiment with it.",
								"Of course, if the characters take possession of the machine for any length of time, any surviving agents seek revenge against them. Likewise, so will the agents' patron archdevils, Zariel and Bel, who might send forces of cultists to finish the characters off."
							]
						},
						{
							"type": "entries",
							"name": "Mechanical Guides",
							"id": "184",
							"entries": [
								"The mechanical guides are programmed to serve their agent masters\u2014and to self-destruct in the event that anyone else attempts to take control of them. Still, exposure to the power of the components of the {@i Infernal Machine} might change a guide's programming, allowing the characters to befriend and permanently claim it as a companion or ally. If this happens, a guide's time traveling ability can be curtailed as you desire."
							]
						},
						{
							"type": "entries",
							"name": "The Joys of Time Travel",
							"id": "185",
							"entries": [
								"Because this adventure traverses both time and space, you might decide that actions carried out by the characters in the past of chapters 3 and 4 create changes in the present of the campaign world when they return. For example, the construction of the Tomb of Horrors might be disrupted, in which case it holds less prominence in later times. If Thessalar regains his missing sculptors, he might complete his stone golem and send it out to destroy Moghadam and demolish the tomb while it's under construction. Thessalar might also create more monsters than he is already known for, which can spread throughout the world.",
								"Feel free to keep track of what events and choices in the past might have future implications\u2014and have fun presenting the fallout of those events to your players!"
							]
						}
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Appendix A: Further Options",
			"id": "186",
			"entries": [
				"{@i Infernal Machine Rebuild} hopefully provides plenty of options for you to run the adventure the way that works best for your campaign. But if you'd like to customize this adventure even further, consider any of the following possibilities.",
				{
					"type": "section",
					"name": "Chapter 1: The Unicorn and the Hags",
					"id": "187",
					"entries": [
						"The conflict between the hags and the unicorn Banrion can be complicated or augmented in a number of ways.",
						{
							"type": "entries",
							"name": "Clandestine Hags",
							"id": "188",
							"entries": [
								"If having three dryads working together is too immediate a tipoff that these might be hags forming a coven, you can add a fourth illusory mother to the mix to help allay suspicion. Created from a few logs and branches, Mother Hedgehog sits quietly in the corner of the cottage. If the characters attempt to speak with her, the programmed illusion is able to mumble a few incoherent words. A successful DC 16 Intelligence ({@skill Investigation}) check detects this illusion.",
								"The hags' cottage is built from three trees entwined together. These trees might contain the three true dryads whose appearances the hags have stolen for their own use, and who have been enslaved by the hags to help with their corrupt gardening. If the characters treat with Banrion, the unicorn asks them to help free the dryads to set the woods back to order. ",
								"Instead of the hags being disguised as goodly dryads, you might instead choose to reverse the scenario. The Three Mothers might really be dryads in need of help, with Banrion the unicorn an evil creature that must be defeated to save the woods. The unicorn might even be using its dark magic to cause the dryads to appear as hags."
							]
						},
						{
							"type": "entries",
							"name": "Unicorn Showdown",
							"id": "189",
							"entries": [
								"If the characters initially make an aggressive approach toward Banrion (whether because the hags have fooled them or because the unicorn is evil), you can make the fight tougher by having the unicorn appear while the characters are attempting to cross the clock tower bridge. While fighting on the bridge, Banrion looks to knock characters off the tower into the chasm below, or even to try to collapse the tower under the characters while she teleports away.",
								"If the unicorn later makes peace with the characters, she teleports down into the chasm (if still able to) and heals them."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Chapter 2: An Invitation Extended",
					"id": "18a",
					"entries": [
						"Meeting with the infernal agents has the potential for a number of interesting story options.",
						{
							"type": "entries",
							"name": "Updated Guides",
							"id": "18b",
							"entries": [
								"As written, the mechanical guides can safely teleport the characters to and from the specific adventure locations. If it fits with your campaign, you might opt to allow teleportation to other locations in time and space with a successful DC 20 Intelligence ({@skill Arcana}) check. A failed check causes the characters to be misdirected physically or temporally, as you determine. If the characters claim any missing components of the {@i Infernal Machine}, those components can be added to the mechanical guide, providing a +2 bonus to this check per component.",
								"You might decide that neither agent would ever allow the components they already possess to leave their sight, or that the characters are the first ones to have come across any missing components. If so, Lynx's guide is powered by a dangerous combination of living {@spell teleport} and {@spell time stop} spells, and might malfunction as you see fit. Sir Ursas's guide is a captured quarut (an inevitable that seeks to uphold the laws of space and time), and which is forced to use its powers as Ursas demands. Though the quarut is programmed to prevent it from revealing its plight outright, it might provide clues during the adventure that all is not as it seems."
							]
						},
						{
							"type": "entries",
							"name": "Healthy Competition",
							"id": "18c",
							"entries": [
								"When the characters make their choice of which agent they want to work with, whatever agent they turn down immediately arranges to send out their own competing expedition. (If the characters agree to work for both agents, both agents might still send out second redundant expeditions as insurance.)",
								"These expeditions are composed of five {@creature cultist} servants, led either by the enhanced medusa for Lynx, or the brains in iron for Sir Ursas (see below for more information on both). Each expedition also has its own mechanical guide. You might use the members of the rival expedition to chase after the characters, or they might have already arrived at one of the locations and be set up for the characters to stumble upon. The members of the alternative expedition might set obstacles along the way, possibly inspiring the characters to do the same. Using the power of a mechanical guide might allow for the creation of particularly devious traps that can be set across space and time. And the members of the alternative expedition certainly look to sabotage or destroy the characters' mechanical guide in order to strand them.",
								"These competitors might succeed in securing some of the missing components, whether they steal them out from under the characters or take them directly in combat. Any stolen components will be delivered to their respective agents before the characters return from the past."
							]
						},
						{
							"type": "entries",
							"name": "Enhanced Medusa",
							"id": "18d",
							"entries": [
								"Like the enhanced sphinx from {@adventure Lost Laboratory of Kwalish|LLK}, this creature has been augmented with various technologies from the Barrier Peaks. Specifically, its eyes have been replaced with mechanical frames into which it slots different lenses. This is the same magical technology that was used to create another artifact, {@i Daoud's Wondrous Lanthorn}. The medusa is nicknamed \"Daoud's Living Lanthorn\" as a result.",
								"The {@creature enhanced medusa|IMR} uses the {@creature medusa} stat block with the following changes:",
								{
									"type": "list",
									"items": [
										"It has {@sense truesight} out to a range of 60 feet.",
										"It can cast the {@spell light} cantrip at will.",
										"Its Petrifying Gaze trait turns creatures into metal, wood, or porcelain (the medusa's choice) rather than stone."
									]
								},
								"If this adventure is played as a sequel to {@adventure Lost Laboratory of Kwalish|LLK}, the enhanced medusa might seek revenge for what befell its ancestor {@creature Gloine Nathair-Nathair|IMR}, or could be appeased with information regarding that medusa's whereabouts.",
								{
									"type": "inset",
									"name": "Who's Who",
									"id": "18e",
									"entries": [
										"While little is known of Daoud, his lanthorn was part of the treasure to be recovered in the AD&D adventure module {@i Lost Caverns of Tsojcanth}. Light cast through the different faces of the lanthorn created different magical effects, which the lanthorn fueled with crushed gemstones."
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Brains in Iron (The Council)",
							"id": "18f",
							"entries": [
								"This creature originated from old designs of Kwalish, and takes the form of multiple brains that have been magically preserved and which collectively operate a new mechanical body. The brains share insights and knowledge with one another, and have typically been taken from creatures that desired to prolong their consciousness\u2014or that were tasked with controlling a construct for all time as punishment.",
								"A {@creature brain in iron|IMR} uses the {@creature brain in a jar|LLK} stat block with the following changes:",
								{
									"type": "list",
									"items": [
										"It is lawful neutral.",
										"It has the construct type.",
										"Its size is Large.",
										"It has Armor Class 15 (natural armor).",
										"It has a speed of 20 feet."
									]
								},
								"If this adventure is played as a sequel to {@adventure Lost Laboratory of Kwalish|LLK}, this creature began as the brains in jars encountered in the Barrier Peaks. After constructing a new collective body from spare parts, the brains escaped (and now seek revenge against the characters if they did not aid the brains sufficiently during that adventure). The brains' collective goal in seeking the missing components is to be able to transfer themselves into the ultimate mechanical body\u2014the {@i Infernal Machine of Lum the Mad}."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Chapter 3: Construction of Horrors",
					"id": "190",
					"entries": [
						"You can expand the characters' exploration of the Tomb of Horrors construction site in a number of ways.",
						{
							"type": "entries",
							"name": "Hanging with Moghadam",
							"id": "191",
							"entries": [
								"Even villains have their hobbies\u2014and for Moghadam, that hobby is death traps. Any character who discusses traps with Moghadam can impart to him a new deadly design\u2014either using suitable roleplaying and player ingenuity, or a successful DC 16 Charisma ({@skill Persuasion}) check. Doing so gains Moghadam's favor and advantage on further ability checks made to negotiate with the artificer, as you determine."
							]
						},
						{
							"type": "entries",
							"name": "Muralist Mutiny",
							"id": "192",
							"entries": [
								"As written, the sculptors in the Tomb of Horrors are eager to escape but the muralists are loyal to Moghadam. However, you might decide that the muralists have their own reasons to flee servitude, and have secured a set of {@item claws of the umber hulk|PotA} (see {@adventure appendix C|IMR|8}) to do so. They might also look for the characters' help to escape, using the claws to dig a secret tunnel beneath their chambers in {@area area 9|07d|x}\u2014and potentially intersecting with the umber hulks' excavations."
							]
						},
						{
							"type": "entries",
							"name": "Rock and Ruin",
							"id": "193",
							"entries": [
								"As an added element of danger and dilemma during the ceremony in the chapel ({@area area 14|093|x}), each time a character succeeds on a saving throw to resist the ceremony's power, one of the worshipers in the pews is overcome and transforms into black rock.",
								"If the black rocks from the chapel are brought to the sculptors, you might decide that they can help restore those victims to life using their superior mason's tools. Alternatively, the sculptors might want to incorporate these magic rocks into an even more impressive golem, helping to ensure their escape. Likewise, if taken to the Temple of Moloch, these rocks might be highly prized for the crafting of statues and homunculi."
							]
						},
						{
							"type": "entries",
							"name": "Go to Hell",
							"id": "194",
							"entries": [
								"The fiery rift of area 16 allows Tarnhem to return to the Abyss. But depending on the setup of your campaign (and particularly if you are playing through {@adventure Baldur's Gate: Descent into Avernus|BGDIA}), you might instead have this rift lead to the Nine Hells. There, Tarnhem joins the demonic horde taking part in the Blood War.",
								"If the characters later travel through Avernus, they might encounter Tarnhem there\u2014with his reaction to them depending on their interactions at the tomb."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Chapter 4: Temple of Moloch",
					"id": "195",
					"entries": [
						"The level of chaos and creative power on display in the Temple of Moloch lends itself to a number of play options.",
						{
							"type": "entries",
							"name": "Trade Talk",
							"id": "196",
							"entries": [
								"Thessalar's fixation on monster design provides an opportunity for bonding with any character with insight into that topic\u2014or who can fake it well enough, either using suitable roleplaying and player ingenuity, or a successful DC 16 Charisma ({@skill Persuasion}) check. Suggesting a new design for a magical creature (ideally one combining the aspects of two or more existing creatures in some particularly deadly way) can grant advantage on checks made to interact with the artificer."
							]
						},
						{
							"type": "entries",
							"name": "Tressym Patrol",
							"id": "197",
							"entries": [
								"Considering the variety of laboratory creatures residing in the temple, its hallways might also be populated by roving packs of wild, escaped {@creature tressym|BGDIA}. These flying cats follow and spy on the characters, but might help lead them to various locations (such as the secret door outside {@area area 38|16b|x}) if treated well. The tressym despise Barbatos's {@creature hell hound} ({@area areas 12|102|x} and {@area 13|106|x}), and actively aid any effort to destroy it."
							]
						},
						{
							"type": "entries",
							"name": "Mixing up the Thieves",
							"id": "198",
							"entries": [
								"If the characters pass through the village mentioned in the \"{@area Temple Approach|0c1|x}\" section, they might discover that one of the villagers is one of Mack Francache's thieves, left behind to keep an eye on activities outside the temple. When the characters arrive, this thief presents themself as a seemingly reluctant guide willing to join the characters on the incursion into the temple. While there, they secretly try to direct the characters toward rescuing the imprisoned thieves.",
								"Mack Francache the wererat prisoner ({@area area 9|0eb|x}) might instead be a lycanthrope of some kind never seen before: a weremouse, a weremoose, or even a wereooze. Thessalar is extremely interested in studying this new lycanthropy. Alternatively, Mack might have been a normal human when he came to the temple, only to have Thessalar impose this strange lycanthropy upon him."
							]
						},
						{
							"type": "entries",
							"name": "Statuesque",
							"id": "199",
							"entries": [
								"You might introduce different options for interacting with the statues in {@area area 24|136|x}, especially if combat breaks out there. For example, if the eidolon inhabits a statue of Zariel or Bel, the characters might gain advantage on attack rolls against that statue if they serve the archdevil's agent (or disadvantage on attack rolls against the statue of the competing agent's patron). Out of combat, if the characters are allied with Moghadam and remove a hand and an eye from any statue, Vecna rewards them with some boon (advantage on attack rolls during the first round of their next fight, having a consumable magic item appear in the statue's remaining hand, and so forth)."
							]
						},
						{
							"type": "entries",
							"name": "Secret Chicken",
							"id": "19a",
							"entries": [
								"One of the chickens in {@area area 35|15f|x} might be one of Thessalar's experiments, such that it occasionally lays silver eggs (worth 10 gp) or even golden eggs (worth 20 gp). In this scenario, both boggles originally came to the temple to steal this chicken. Or this might just be a tale the remaining boggle tells, planting false eggs with the chickens in order to better negotiate with the characters."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Chapter 5: Final Showdown",
					"id": "19b",
					"entries": [
						"The presence of a legendary artifact in the final chapter of the adventure opens up lots of possibilities.",
						{
							"type": "entries",
							"name": "An Infernal War Machine",
							"id": "19c",
							"entries": [
								"For deeper integration with {@adventure Baldur's Gate: Descent into Avernus|BGDIA}, an alternative climax could have the characters' chosen agent complete their version of the {@i Infernal Machine}\u2014which is then converted into an infernal war machine. Such a process might involve drawing on other elements of the adventure's locations (the Tomb of Horrors' still-to-be-built stone juggernaut, the skeleton of the thessalkraken, and so forth) for use in the war machine's chassis.",
								"The characters are then asked to drive the war machine into Avernus, to confront the minions of the archdevil opposed by their agent and thwart that archdevil's plans. Alternatively, the {@i Infernal War Machine} might be teleported to the Nine Hells, where the characters later encounter it during the course of {@adventure Baldur's Gate: Descent into Avernus|BGDIA} and are required to stop it."
							]
						},
						{
							"type": "entries",
							"name": "A Mighty Servant",
							"id": "19d",
							"entries": [
								"When the characters deliver the missing components to their chosen agent and the other agent launches a raid, that raid is led by a second artifact that the agent has been constructing\u2014the {@i Mighty Servant of Leuk-O}. Alternatively, if Kwalish is involved, he might build or upgrade a suit of {@i powered armor} (from {@adventure Lost Laboratory of Kwalish|LLK}) to become the {@i Mighty Servant of Leuk-O}. The characters can then use that artifact (with features determined by you) to counter the {@i Infernal Machine of Lum the Mad}."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Additional Locations",
					"id": "19e",
					"entries": [
						"You can turn this adventure into an entire campaign by adding additional locations containing more missing components of the {@i Infernal Machine}. Just as the Tomb of Horrors was repurposed here, you might similarly repurpose other adventures from D&D history or your previous campaigns, manipulating their time lines to create alternative scenarios.",
						"So many of the iconic locations in D&D would make great additions to this adventure, from the tower of Sorcere in Menzoberranzan, to one of the elemental nodes in {@adventure Princes of the Apocalypse|PotA}, to the level of Dweomercore in {@adventure Dungeon of the Mad Mage|WDMM}, to Skyreach Castle in {@adventure Hoard of the Dragon Queen|HotDQ}. A few specific examples are presented here.",
						{
							"type": "entries",
							"name": "Tomb of Annihilation",
							"id": "19f",
							"entries": [
								"Missing components could be hidden in any number of locations in the jungles of Chult, including the Lost City of Omu, or even integrated into the Tomb of the Nine Gods. For example, to recover a component located at the City of Omu's amphitheater, the characters might need to overcome the King of Feathers at some point in the past (making it a younger, weaker tyrannosaurus rex) or the future (where it has become a deadly dinosaur zombie)."
							]
						},
						{
							"type": "entries",
							"name": "Glacial Rift of the Frost Giant Jarl",
							"id": "1a0",
							"entries": [
								"Missing components could be hidden throughout many areas of this adventure from {@adventure Tales from the Yawning Portal|TftYP}. In the caverns of area 5, components could be buried within the ice in a way that requires the characters to access them in the past\u2014and allowing the creatures trapped in the ice to be brought back to life. In the visitors' cave of area 26, components might have been brought as special gifts by past dignitaries unaware of their true nature. And in the snow-covered dome of area 28, they might be guarded as treasure by the {@creature remorhaz}."
							]
						},
						{
							"type": "entries",
							"name": "White Plume Mountain",
							"id": "1a1",
							"entries": [
								"The characters might need to travel back to a time when Keraptis first constructed his legendary dungeon (featured in {@adventure Tales from the Yawning Portal|TftYP}), and used components from the {@i Infernal Machine of Lum the Mad} to magically secure {@item Wave}, {@item Whelm}, and {@item Blackrazor} in place. Alternatively, he might trade missing components in his possession for the three famed weapons, which are still hidden elsewhere in the world, or for some of the monstrous creatures that will eventually guard the dungeon.",
								"If you are playing this adventure alongside {@adventure Lost Laboratory of Kwalish|LLK}, {@adventure White Plume Mountain|TftYP} offers a number of connections to that adventure's guides. Ctenmiir the vampire once haunted White Plume Mountain, while Mary Greymalkin's former tutor, the witch Thingizzard, dwelled nearby."
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Additional NPCs",
					"id": "1a2",
					"entries": [
						"To let the characters dig even deeper into the world of the adventure, you can also consider adding a few more iconic NPCs.",
						{
							"type": "entries",
							"name": "Acererak",
							"id": "1a3",
							"entries": [
								"During the time frame in which the characters visit the Tomb of Horrors, Acererak is still a mortal human spellcaster\u2014albeit an incredibly evil and powerful one. You can play him as an {@creature archmage}\u2014or for higher-level parties, use his stat block from {@adventure Tomb of Annihilation|ToA}, but without his undead traits, his Rejuvenation and Turn Resistance traits, and his Disrupt Life legendary action. Acererak does not reside in the Tomb of Horrors at the time the characters travel there in chapter 3, but he might appear if its construction is hindered. He is keen on preventing characters from utterly destroying the tomb, but might grace them with an audience if they look as though they could prove useful to furthering his plans.",
								"If enmity arises between the characters and Acererak, the would-be lich is a formidable foe. You might make this special version of Acererak even more so by having him wielding a sword with a {@item sphere of annihilation} fashioned into its blade, and with the matching {@item talisman of the sphere} fashioned into the hilt."
							]
						},
						{
							"type": "entries",
							"name": "Mary Greymalkin",
							"id": "1a4",
							"entries": [
								"A potential guide in {@adventure Lost Laboratory of Kwalish|LLK}, Mary Greymalkin might appear in this adventure as a servant of Moghadam or Thessalar, a guide for the thieves who entered the Temple of Moloch, one of either agents' couriers, and so forth. As she does in {@adventure Lost Laboratory of Kwalish|LLK}, she offers to let the characters draw from her {@i deck of several things}. Some of the deck's cards bestow effects more relevant to this adventure, as follows:",
								{
									"type": "entries",
									"id": "1a5",
									"entries": [
										{
											"type": "entries",
											"name": "Donjon",
											"id": "1a6",
											"entries": [
												"You are instantly teleported to and confined within either the Tomb of Horrors (in {@area area 7|076|x}) or the Temple of Moloch (in {@area area 10|081|x}) as the DM determines. Everything you were wearing and carrying stays behind in the space you occupied when you disappeared. You draw no more cards."
											]
										},
										{
											"type": "entries",
											"name": "Flames",
											"id": "1a7",
											"entries": [
												"A powerful artificer (Moghadam or Thessalar, at the DM's determination) becomes your enemy. The artificer seeks your ruin, savoring your suffering before attempting to slay you."
											]
										},
										{
											"type": "entries",
											"name": "Gem",
											"id": "1a8",
											"entries": [
												"One of the 1,000 gp gems shaped by Seodra the gemsmith (see {@area area 18a|0aa|x} of chapter 3 or {@area area 31|151|x} of chapter 4) appears at your feet. If all those gems are unavailable, you gain an equivalent hoard."
											]
										},
										{
											"type": "entries",
											"name": "Knight",
											"id": "1a9",
											"entries": [
												"You gain the service of one of the servants of your chosen agent (see {@adventure chapter 2|IMR|2}), who appears in a space you choose within 30 feet of you. The NPC serves you loyally for the duration of the adventure, understanding that the fates have drawn them to you. However, they remain violently opposed to any servants of the opposing agent. You control this character."
											]
										},
										{
											"type": "entries",
											"name": "Ruin",
											"id": "1aa",
											"entries": [
												"All forms of wealth that you carry or own, other than magic items, are lost to you. This wealth can be recovered either in the Tomb of Horrors (held by Moghadam in {@area area 1|05e|x}) or the Temple of Moloch (locked in the treasure vault, {@area area 38|16b|x}), as the DM determines."
											]
										},
										{
											"type": "entries",
											"name": "Talons",
											"id": "1ab",
											"entries": [
												"Every magic item you wear or carry is lost to you. These items can be recovered either in the Tomb of Horrors (held by Moghadam in {@area area 1|05e|x}) or the Temple of Moloch (locked in the treasure vault, {@area area 38|16b|x}), as the DM determines."
											]
										},
										{
											"type": "entries",
											"name": "Throne",
											"id": "1ac",
											"entries": [
												"You gain proficiency in the {@skill Persuasion} skill and you double your proficiency bonus for checks made with that skill for the duration of the adventure. In addition, the Temple of Moloch's high priest regards you as the temple's new champion, sent by Moloch to reclaim its former glory. You must defeat or otherwise clear out Thessalar before you can claim the temple as yours."
											]
										},
										{
											"type": "entries",
											"name": "The Void",
											"id": "1ad",
											"entries": [
												"This black card spells disaster. Your soul is drawn from your body and held within a soul gem in the Temple of Moloch (with the gemsmith in {@area area 31|151|x}). While your soul is trapped in this way, your body is {@condition incapacitated}. {@spell Divination}, {@spell contact other plane}, or a similar spell of 4th level or higher reveals the location of the soul gem. You draw no more cards."
											]
										}
									]
								}
							]
						},
						{
							"type": "entries",
							"name": "Tuerny the Merciless",
							"id": "1ae",
							"entries": [
								"This lawful evil male human {@creature archmage} is no longer at the Tomb of Horrors, but contributed to the construction in his own way. Acererak hired Tuerny to install magical technology obtained from the Barrier Peaks into the tomb (including the missing components), which now hold Tarnhem imprisoned here and drain his life force. Since leaving the tomb, Tuerny has used what he learned in crafting Tarnhem's prison to create the first of his fabled {@item Iron Flask||iron flasks}]. If the characters choose to stay in the time frame of the under-construction tomb, they might find a map leading to Tuerny's fortress."
							]
						}
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Appendix B: NPCs and Monsters",
			"id": "1af",
			"entries": [
				"This section presents new monsters and nonplayer characters introduced in {@i Infernal Machine Rebuild}, as well as stat blocks from the {@book Monster Manual|MM}, {@book Volo's Guide to Monsters|VGM}, {@book Mordenkainen's Tome of Foes|MTF}, and other books.",
				{
					"type": "list",
					"columns": 4,
					"items": [
						"{@creature Barbatos|IMR}",
						"{@creature \"The Demogorgon\"|IMR}",
						"{@creature Lynx Creatlach|IMR}",
						"{@creature Sir Ursas|IMR}",
						"{@creature Master Thief|vgm}",
						"{@creature Moghadam|IMR}",
						"{@creature Sir Ursas|IMR}",
						"{@creature Thessalar|IMR}",
						"{@creature Neo-Otyugh|IMR}",
						"{@creature Thessalheart Construct|IMR}",
						"{@creature Thessalhydra|HftT}",
						"{@creature Thessalkraken|IMR}",
						"{@creature Two-Headed Crocodile|IMR}",
						"{@creature Two-Headed Owlbear|IMR}"
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Appendix C: New Magic and Special Items",
			"id": "20e",
			"entries": [
				"This chapter details new poisons, spells, and magic items that appear in the adventure\u2014including the legendary artifact {@i The Infernal Machine of Lum the Mad}.",
				{
					"type": "section",
					"name": "Poisons",
					"id": "20f",
					"entries": [
						"The artificer Thessalar is known for his experiments with unique toxins, three of which can be found in this adventure.",
						{
							"type": "list",
							"columns": 3,
							"items": [
								"{@item Blood of the Lycanthrope|IMR}",
								"{@item Dust of the Mummy|IMR}",
								"{@item Thessaltoxin|IMR}"
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Magic Items",
					"id": "21d",
					"entries": [
						"A number of new magic items can be utilized by the characters in this adventure, or might be used against them\u2014including the legendary {@i Infernal Machine of Lum the Mad}.",
						{
							"type": "list",
							"columns": 4,
							"items": [
								"{@item Blood of the Lycanthrope Antidote|IMR}",
								"{@item Bridle of Capturing|IMR}",
								"{@item Claws of the Umber Hulk|PotA}",
								"{@item Helm of Underwater Action|GoS}",
								"{@item Ioun Stone|LLK}",
								"{@item Mummy Rot Antidote|IMR}",
								"{@item Paper Bird|WDH}",
								"{@item Pot of Awakening|XGE}",
								"{@item Ruinblade|IMR}",
								"{@item Spell Gem|OotA}",
								"{@item Thessaltoxin Antidote|IMR}",
								"{@item The Infernal Machine of Lum the Mad|IMR}"
							]
						}
					]
				}
			]
		},
		{
			"type": "section",
			"name": "Appendix D: Player Handouts",
			"id": "236",
			"entries": [
				"This section contains a walk-through map of the Temple of Moloch, as well as handout versions of three of the adventure's iconic visuals.",
				"Additionally, as an added thanks for purchasing {@i Infernal Machine Rebuild}, we're providing a printable cert for use with any D&D Adventurers League character.",
				{
					"type": "section",
					"name": "Walk-Through Map",
					"id": "237",
					"entries": [
						"Artist {@link Jason Bradley Thompson|https://twitter.com/mockman} has created a high-resolution walk-through version of the {@i Temple of Moloch}.",
						{
							"type": "gallery",
							"images": [
								{
									"type": "image",
									"href": {
										"type": "internal",
										"path": "adventure/IMR/038-map-1-3.jpg"
									},
									"width": 2175,
									"height": 2025
								},
								{
									"type": "image",
									"href": {
										"type": "internal",
										"path": "adventure/IMR/039-002.jpg"
									},
									"width": 1200,
									"height": 1550
								},
								{
									"type": "image",
									"href": {
										"type": "internal",
										"path": "adventure/IMR/040-021.jpg"
									},
									"width": 1000,
									"height": 1373
								},
								{
									"type": "image",
									"href": {
										"type": "internal",
										"path": "adventure/IMR/041-006.jpg"
									},
									"width": 1200,
									"height": 1565
								}
							]
						}
					]
				},
				{
					"type": "section",
					"name": "Piece of the Infernal Machine of Lum the Mad",
					"id": "238",
					"entries": [
						"Click the image to download a printable PDF cert for use with any D&D Adventurers League character.",
						{
							"type": "image",
							"href": {
								"type": "internal",
								"path": "adventure/IMR/042-al-cert.jpg"
							},
							"title": "{@5etools Download PDF|pdf/adventure/IMR/000-advl_cert-revised-dndxl2019.pdf}",
							"width": 600,
							"height": 462
						}
					]
				}
			]
		}
	]
}
