Skip to content
Snippets Groups Projects
rulesAssistantOptions.js 115 KiB
Newer Older
  • Learn to ignore specific revisions
  • lowercasedonkey's avatar
    lowercasedonkey committed
    			];
    
    ezsh's avatar
    ezsh committed
    			super("Tummy Tuck", items, true);
    
    			this.setValue(current_rule.set.surgery.tummy);
    			this.onchange = (value) => current_rule.set.surgery.tummy = value;
    
    ezsh's avatar
    ezsh committed
    	class BodyHairSurgeryList extends RadioSelector {
    
    vas's avatar
    vas committed
    		constructor() {
    			const items = [
    
    vas's avatar
    vas committed
    				["keep", 1],
    				["removal", 2],
    			];
    
    ezsh's avatar
    ezsh committed
    			super("Body Hair", items, true);
    
    			this.setValue(current_rule.set.surgery.bodyhair);
    			this.onchange = (value) => current_rule.set.surgery.bodyhair = value;
    
    vas's avatar
    vas committed
    		}
    	}
    
    
    ezsh's avatar
    ezsh committed
    	class HairSurgeryList extends RadioSelector {
    
    vas's avatar
    vas committed
    		constructor() {
    			const items = [
    
    vas's avatar
    vas committed
    				["keep", 1],
    				["removal", 2],
    			];
    
    ezsh's avatar
    ezsh committed
    			super("Hair", items, true);
    
    			this.setValue(current_rule.set.surgery.hair);
    			this.onchange = (value) => current_rule.set.surgery.hair = value;
    
    vas's avatar
    vas committed
    		}
    	}
    
    ezsh's avatar
    ezsh committed
    
    
    	class EarShapeSurgeryList extends RadioSelector {
    		constructor() {
    			const items = [
    				["normal ears", 1],
    				["small eflin ears", 2],
    				["long elfin ears", 3],
    				["bovine ears", 4],
    			];
    			super("Ear Shape", items, true);
    			this.setValue(current_rule.set.surgery.earShape);
    			this.onchange = (value) => current_rule.set.surgery.earShape = value;
    		}
    	}
    
    	class HornSurgeryList extends RadioSelector {
    		constructor() {
    			const items = [
    				["none", 1],
    				["curved succubus horns", 2],
    				["backswept horns", 3],
    				["cow horns", 4],
    				["one long oni horn", 5],
    				["two long oni horns", 6],
    				["small horns", 7],
    			];
    			super("Horn Implants", items, true);
    			this.setValue(current_rule.set.surgery.horn);
    			this.onchange = (value) => current_rule.set.surgery.horn = value;
    		}
    	}
    
    	class AutomaticAssignmentList extends ListSelector {
    
    vas's avatar
    vas committed
    		constructor() {
    			const items = [
    				["Rest", "rest"],
    				["Fucktoy", "please you"],
    				["Subordinate Slave", "be a subordinate slave"],
    				["House Servant", "be a servant"],
    				["Confined", "stay confined"],
    				["Whore", "whore"],
    
    vas's avatar
    vas committed
    				["Public Servant", "serve the public"],
    
    vas's avatar
    vas committed
    				["Classes", "take classes"],
    				["Milked", "get milked"],
    
    kopareigns's avatar
    kopareigns committed
    				["Gloryhole", "work a glory hole"],
    				["Choose Her Own", "choose her own job"]
    
    vas's avatar
    vas committed
    			];
    
    klorpa's avatar
    klorpa committed
    
    
    DCoded's avatar
    DCoded committed
    			if (V.HGSuite > 0) {
    				items.push(["Head Girl Suite", "live with your Head Girl"]);
    			}
    			if (V.brothel > 0) {
    				items.push(["Brothel", "work in the brothel"]);
    			}
    			if (V.club > 0) {
    				items.push(["Club", "serve in the club"]);
    			}
    			if (V.arcade > 0) {
    				items.push(["Arcade", "be confined in the arcade"]);
    			}
    			if (V.dairy > 0) {
    				items.push(["Dairy", "work in the dairy"]);
    			}
    			if (V.farmyard > 0) {
    				items.push(["Farmyard", "work as a farmhand"]);
    			}
    			if (V.servantsQuarters > 0) {
    				items.push(["Servant Quarters", "work as a servant"]);
    			}
    			if (V.masterSuite > 0) {
    				items.push(["Master Suite", "serve in the master suite"]);
    			}
    			if (V.schoolroom > 0) {
    				items.push(["Schoolroom", "learn in the schoolroom"]);
    			}
    			if (V.spa > 0) {
    				items.push(["Spa", "rest in the spa"]);
    			}
    			if (V.clinic > 0) {
    				items.push(["Clinic", "get treatment in the clinic"]);
    			}
    			if (V.cellblock > 0) {
    				items.push(["Cellblock", "be confined in the cellblock"]);
    			}
    
    klorpa's avatar
    klorpa committed
    
    
    vas's avatar
    vas committed
    			super("Automatically set assignment", items);
    			this.setValue(current_rule.set.setAssignment);
    			this.onchange = (value) => current_rule.set.setAssignment = value;
    		}
    
    vas's avatar
    vas committed
    	}
    
    klorpa's avatar
    klorpa committed
    
    
    	class PitAssignmentList extends ListSelector{
    
    		constructor() {
    
    			const items =[["remove from pit", 0], ["assign to pit", 1]];
    
    klorpa's avatar
    klorpa committed
    			super("Pit assignment", items);
    
    			this.setValue(current_rule.set.pitRules);
    			this.onchange = (value) => current_rule.set.pitRules = value;
    		}
    	}
    
    klorpa's avatar
    klorpa committed
    
    
    ezsh's avatar
    ezsh committed
    	class BellyImplantList extends RadioSelector {
    
    vas's avatar
    vas committed
    		constructor() {
    			const items = [
    				["install", "install"],
    				["remove", "remove"],
    			];
    
    ezsh's avatar
    ezsh committed
    			super("Belly implant", items, true);
    
    			this.setValue(current_rule.set.surgery.bellyImplant);
    			this.onchange = (value) => current_rule.set.surgery.bellyImplant = value;
    
    vas's avatar
    vas committed
    		}
    	}
    
    klorpa's avatar
    klorpa committed
    
    
    ezsh's avatar
    ezsh committed
    	class LabelList extends StringEditor {
    
    vas's avatar
    vas committed
    		constructor() {
    
    			super("Custom label(s) (separate by '|')", [], true, true);
    
    vas's avatar
    vas committed
    			this.setValue(current_rule.set.label);
    			this.onchange = (value) => current_rule.set.label = value;
    		}
    	}
    
    ezsh's avatar
    ezsh committed
    	class LabelRemoveList extends StringEditor {
    
    			super("Remove custom label(s) (separate by '|')", [], true, true);
    
    			this.setValue(current_rule.set.removeLabel);
    			this.onchange = (value) => current_rule.set.removeLabel = value;
    		}
    	}
    
    klorpa's avatar
    klorpa committed
    
    
    	class SkinColorList extends ListSelector {
    
    vas's avatar
    vas committed
    		constructor() {
    			const items = [
    
    				["natural"],
    
    klorpa's avatar
    klorpa committed
    				["pure white"],
    				["ivory"],
    				["white"],
    				["extremely pale"],
    				["very pale"],
    
    vas's avatar
    vas committed
    				["pale"],
    
    klorpa's avatar
    klorpa committed
    				["extremely fair"],
    				["very fair"],
    				["fair"],
    				["light"],
    				["light olive"],
    				["tan"],
    				["olive"],
    				["bronze"],
    				["dark olive"],
    
    vas's avatar
    vas committed
    				["dark"],
    
    klorpa's avatar
    klorpa committed
    				["light beige"],
    				["beige"],
    				["dark beige"],
    				["light brown"],
    				["brown"],
    				["dark brown"],
    				["black"],
    				["ebony"],
    				["pure black"],
    
    klorpa's avatar
    klorpa committed
    				["sun tanned"],
    				["spray tanned"],
    
    vas's avatar
    vas committed
    				["dyed red"],
    				["dyed green"],
    				["dyed blue"],
    
    klorpa's avatar
    klorpa committed
    				["dyed pink"],
    
    klorpa's avatar
    klorpa committed
    				["dyed gray"],
    				["tiger striped"],
    
    vas's avatar
    vas committed
    				["camouflage patterned"],
    
    ezsh's avatar
    ezsh committed
    			];
    
    vas's avatar
    vas committed
    			super("Dye or tan skin", items);
    			this.setValue(current_rule.set.skinColor);
    			this.onchange = (x) => current_rule.set.skinColor = x;
    		}
    	}
    
    klorpa's avatar
    klorpa committed
    
    
    vas's avatar
    vas committed
    	return rulesAssistantOptions;
    
    ezsh's avatar
    ezsh committed
    })();