Преглед изворни кода

fixed bugs in displaying initial thoth content

Imperator Mentus пре 6 година
родитељ
комит
223adc7f7d
3 измењених фајлова са 19 додато и 9 уклоњено
  1. 1 1
      javascripts/avatars.js
  2. 5 2
      javascripts/storylinehandler.js
  3. 13 6
      javascripts/thoth.js

+ 1 - 1
javascripts/avatars.js

@@ -264,7 +264,7 @@ function Avatar(submissiveness, domesticity, maternalism, allure, orientation) {
 		}else{
 			return "neuter";//don't think this is even possible.
 		}
-	});
+	}});
 	Object.defineProperty(this,"youName",{get:function(){return (player===this)?"you":this.name;}});
 	Object.defineProperty(this,"YouName",{get:function(){return (player===this)?"You":capitalize(this.name);}});
 	Object.defineProperty(this,"isare",{get:function(){return this===player?"are":"is";}});

+ 5 - 2
javascripts/storylinehandler.js

@@ -92,12 +92,15 @@ class StoryNode{
 		}
 	}
 	static getCharacters(){
-		return {
+		var c = {
 			player:player,
-			thoth:thoth,
 			rival:rival,
 			leader:leader
 		};
+		if(thoth){
+			c.thoth=thoth;
+		}
+		return c;
 	}
 	deserialize(def){
 		var barred = new Set(["definition","title","text","story"]);

+ 13 - 6
javascripts/thoth.js

@@ -266,6 +266,7 @@ function MeetThoth()
 		  ");
 	  }
 	}
+	NextWindow();
 }
 
 function nameThoth() {
@@ -307,13 +308,14 @@ function nameThoth() {
 				redraw();
 				$(".stats").hide();
 				player.women.push(rival);
-				Message("Camp()", "<h1>" + rival.name + "</h1>\
+				Message(NextWindow, "<h1>" + rival.name + "</h1>\
 				<p>'"+ rival.name + "!' you cry, and you no hold it longer. You spray warm seed in her.</p>\
 				<p>Thoth moans and moves from you. You no see what she does. Then you feel something grab legs and enter you! \
 				Thoth hold your legs and pushes her cock deep in you! You moan now and move body against her. You breasts pressing against her.</p>\
 				<p>She cry like woman even when seeding you. Both lie down and she rubs her back against you. You feel hard again and grab her.</p>\
 				<p>Thoth is more woman than you. She yours now, filled with your seed. You filled with her seed too. But this good. Even faster your clan be reborn!</p>\
 				");
+				NextWindow();
 			});
 
 	  }
@@ -359,12 +361,13 @@ function nameThoth() {
 				 redraw();
 				 $(".stats").hide();
 				 player.women.push(rival);
-				 Message("Camp()", "<h1>" + rival.name + "</h1>\
+				 Message(NextWindow, "<h1>" + rival.name + "</h1>\
 				<p>'"+ rival.name + "!' she cry, nipple hard as rock, warm juice flowing down crotch. '" + rival.name + "!'</p>\
 				<p>And you no hold it in any longer. You spray warm seed inside her. You groan \
 				while "+ rival.name + " moan woman-like. She moves from you between legs. She licks you slit, lapping your warm juice... She yours now, filled with your seed and servicing you. Soon, \
 				your clan reborn.</p>\
 				");
+				NextWindow();
 			});
 
 
@@ -413,12 +416,13 @@ function nameThoth() {
 				 redraw();
 				 $(".stats").hide();
 				 player.women.push(rival);
-				 Message("Camp()", "<h1>" + rival.name + "</h1>\
+				 Message(NextWindow, "<h1>" + rival.name + "</h1>\
 				<p>'"+ rival.name + "!' she cry, nipple hard as rock, cock spraying seed on stomach. '" + rival.name + "!'</p>\
 				<p>And you no hold it in any longer. You spray warm seed inside her. You groan \
 				while "+ rival.name + " moan woman-like. She yours now, filled with your seed. Soon, \
 				your clan reborn.</p>\
 				");
+				NextWindow();
 			});
 
 	  }
@@ -463,12 +467,13 @@ function nameThoth() {
 				redraw();
 				$(".stats").hide();
 				player.women.push(rival);
-				Message("Camp()", "<h1>" + rival.name + "</h1>\
+				Message(NextWindow, "<h1>" + rival.name + "</h1>\
 				<p>'"+ rival.name + "!' she cry, nipple hard as rock, warm juice flowing down crotch. '" + rival.name + "!'</p>\
 				<p>And you no hold it in any longer. You spray warm seed inside her. You groan \
 				while "+ rival.name + " moan woman-like. She yours now, filled with your seed. Soon, \
 				your clan reborn.</p>\
 				");
+				NextWindow();
 			});
 	  }
 	}
@@ -511,12 +516,13 @@ function nameThoth() {
 				 $(".stats").hide();
 				 player.women.push(rival);
 				 if(player.Mods.ironwill>=1){
-					 Message("Camp()", "<h1>" + rival.name + "</h1>\
+					 Message(NextWindow, "<h1>" + rival.name + "</h1>\
 				  <p>'"+ rival.name + "!' you cry, and Thoth no longer to hold. She sprays warm seed inside you!</p>\
 				  <p>Thoth moans and pants. But you not done! You bred like woman, but you stronger woman! You roll Thoth on back and mount Thoth. \
 					Cock not hard, but you make hard. 'I not belong you! You belong me! You manwoman, but I strong woman! I be man again. I give you seed!' \
 					 She hard again and you ride her. Scratching Thoth chest. 'Belong you! I belong to " + player.name + "!' You continue ride her.</p>\
 				 <p>You be woman now. But not long. And then you make Clan Reborn!</p>");
+				 NextWindow();
 				}else{
 					Message("location.reload()","<h1>" + rival.name + "</h1>\
 				  <p>'"+ rival.name + "!' you cry, and Thoth no longer to hold. She sprays warm seed inside you!</p>\
@@ -561,11 +567,12 @@ function nameThoth() {
 				 redraw();
 				 $(".stats").hide();
 				 player.women.push(rival);
-				 Message("Camp()", "<h1>" + rival.name + "</h1>\
+				 Message(NextWindow, "<h1>" + rival.name + "</h1>\
 			  <p>'"+ rival.name + "!' you cry, and you both no longer able hold. You scream like shebeasts!</p>\
 			  <p>Thoth moans and moves between legs. You see head bobbing between thighs. She kisses your sex! Licking like cat on you. You moan and hold Thoth head, pressing head against your sex.\
 			<p>Thoth is more woman than you. She yours now. And you will be man again! You will fill her with seed and more woman with seed. Your clan be reborn!</p>\
 			  ");
+			  NextWindow();
 			});
 	  }
 	}