Skip to content
Snippets Groups Projects
Verified Commit 9497e1a1 authored by bcy603's avatar bcy603
Browse files

Adding automatic porn.prestigeDesc in the editor

Added automatic porn.prestigeDesc option for the editor.
parent 9ad90c01
No related branches found
No related tags found
No related merge requests found
......@@ -158,8 +158,22 @@ App.UI.SlaveInteract.cheatEditSlave = function(slave) {
["Recognized", 2],
["World renowned", 3],
]);
let genre = App.Porn.getGenreByFameName(porn.fameType);
let desc_auto = '';
switch (porn.prestige) {
case 1:
desc_auto = `$He has a following in slave pornography. ${genre.prestigeDesc1}.`;
break;
case 2:
desc_auto = `He is well known from $his career in slave pornography. ${genre.prestigeDesc2}.`
break;
case 3:
desc_auto = `$He is world famous for $his career in slave pornography. ${genre.prestigeDesc3}.`
break;
}
options.addOption(`Prestige Description`, "prestigeDesc", porn)
.addValue("Disable", 0).off()
.addValue("Automatic", desc_auto).off()
.showTextBox();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment