From 060e9a09e19c1549d061baf732c606e829dd9451 Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@mailbox.org>
Date: Sat, 29 Mar 2025 22:35:38 +0100
Subject: [PATCH] RA: Add warning for autosurgery behaviour to RA Options

---
 src/js/rulesAssistantOptions.js | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js
index 14d39fadb0c..1836ecf4adc 100644
--- a/src/js/rulesAssistantOptions.js
+++ b/src/js/rulesAssistantOptions.js
@@ -277,6 +277,16 @@ App.RA.options = (function() {
 		}
 	}
 
+
+	class NoteElement extends Element {
+		/**
+		 * @param {string} note
+		 */
+		constructor(note) {
+			super(App.UI.DOM.makeElement("div", note, ["note",  "noteworthy","grid-all-columns"]));
+		}
+	}
+
 	class ElementWithLabel extends Element {
 		/**
 		 * @param {string} label
@@ -1724,6 +1734,7 @@ App.RA.options = (function() {
 	class AutosurgeryTab extends Tab {
 		constructor() {
 			super();
+			this.appendChild(new NoteElement("ONLY applies to slaves in the penthouse! ONLY applied at the end of the week!"));
 			this.appendChild(new VoiceSurgeryList());
 			this.appendChild(new VisionSurgeryList());
 			this.appendChild(new HeelsSurgeryList());
@@ -4040,7 +4051,7 @@ App.RA.options = (function() {
 				["apply vasectomy", true],
 				["undo vasectomy", false],
 			];
-			super("Apply or undo vasectomy for slaves with testicles", items, true);
+			super("Vasectomy for slaves with testicles", items, true);
 			this.setValue(current_rule.set.surgery.vasectomy);
 			this.onchange = (value) => current_rule.set.surgery.vasectomy = value;
 		}
-- 
GitLab