From 3fadcf84acd224d22957d637f178fb4d09267bf7 Mon Sep 17 00:00:00 2001
From: brokenthyme <brokenthyme@gmail.com>
Date: Mon, 12 Jun 2023 15:11:49 +0800
Subject: [PATCH] Fix for missing porn trinkets

---
 src/descriptions/officeDescription.js | 19 +++++++++++++++++++
 src/js/porn.js                        |  6 +++---
 2 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/src/descriptions/officeDescription.js b/src/descriptions/officeDescription.js
index 867e5828a66..32c81d26fbd 100644
--- a/src/descriptions/officeDescription.js
+++ b/src/descriptions/officeDescription.js
@@ -655,6 +655,25 @@ App.Desc.officeDescription = function(lastElement) {
 				} else {
 					return null;
 				}
+			case "a framed shot from porn starring":
+				if (isArray) {
+					const el = document.createElement("span");
+					if (value.length === 1) {
+						App.Events.addNode(el, [`A framed shot from porn starring`, slaveSentence(value), `, ${value[0].extra}`]);
+					} else {
+						const r = [];
+						const sl = [];
+						r.push(`Framed shots from porn starring `);
+						for (const slave of value) {
+							sl.push(App.UI.DOM.combineNodes(App.UI.DOM.link(getSlave(slave.id).slaveName, () => { V.AS = slave.id; }, [], "Slave Interact"), ` (${slave.extra})`));
+						}
+						r.push(App.UI.DOM.toSentence(sl));
+						App.Events.addNode(el, r);
+					}
+					return el;
+				} else {
+					return null;
+				}
 			case "a poster for the movie that was made about the love between one of your mercenaries and": {
 				if (isArray) {
 					const el = document.createElement("span");
diff --git a/src/js/porn.js b/src/js/porn.js
index fe5500b0d60..b071610eab8 100644
--- a/src/js/porn.js
+++ b/src/js/porn.js
@@ -75,9 +75,9 @@ App.Porn.Genre.analAddict = {
 	type: App.Porn.GenreType.paraphilia,
 	prestigeDesc1: "Thousands have enjoyed watching $him do anything for a dick in $his ass",
 	prestigeDesc2: "$His many fans relish the sight of $him doing anything for a dick up $his ass",
-	prestigeDesc3: "Millions are intimately familiar with the sight of $his well-versed anus.",
+	prestigeDesc3: "Millions are intimately familiar with the sight of $his well-versed anus",
 	hitText: function(slave) { return `${getPronouns(slave).His} complete obsession with taking things up ${getPronouns(slave).his} ass makes ${getPronouns(slave).him} a hit with viewers that enjoy hardcore anal.`; },
-	trinketShotDesc: function(slave) { return `showing ${getPronouns(slave).him} taking a series of huge cocks up ${getPronouns(slave).his} ass.`; },
+	trinketShotDesc: function(slave) { return `showing ${getPronouns(slave).him} taking a series of huge cocks up ${getPronouns(slave).his} ass`; },
 	valid: function(slave) { return slave.sexualFlaw === "anal addict" && canDoAnal(slave); },
 	uiName: function() { return capFirstChar(this.fameName); }
 };
@@ -279,7 +279,7 @@ App.Porn.Genre.masochist = {
 	type: App.Porn.GenreType.fetish,
 	prestigeDesc1: "Thousands have enjoyed $his masochism",
 	prestigeDesc2: "$His many fans relish the sight of $his masochism",
-	prestigeDesc3: "Millions are intimately familiar with $his masochistic stream",
+	prestigeDesc3: "Millions are intimately familiar with $his masochistic streak",
 	hitText: function(slave) { return `With ${getPronouns(slave).his} masochistic streak, ${getPronouns(slave).he} has a clear advantage when it comes to fetish smut.`; },
 	trinketShotDesc: function(slave) { return `showing ${getPronouns(slave).him} being whipped`; },
 	valid: function(slave) { return slave.fetish === "masochist"; },
-- 
GitLab