v1.1.1 - Fixed a game-breaking bug
This commit is contained in:
		
							parent
							
								
									952fc6a096
								
							
						
					
					
						commit
						66b42f0c83
					
				
					 2 changed files with 90 additions and 22 deletions
				
			
		
							
								
								
									
										56
									
								
								index.html
									
										
									
									
									
								
							
							
						
						
									
										56
									
								
								index.html
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -145,10 +145,22 @@ DIOTIMA: *[[Here comes one of my students now.|SOCRATES 2]]*
 | 
			
		|||
[continued]
 | 
			
		||||
 | 
			
		||||
[JavaScript]
 | 
			
		||||
var firstimage = "Diotima Human.png";
 | 
			
		||||
var secondimage = "trans parent.png";
 | 
			
		||||
 | 
			
		||||
const element1 = document.getElementById('leftContainer');
 | 
			
		||||
 | 
			
		||||
element1?.remove();
 | 
			
		||||
 | 
			
		||||
const element2 = document.getElementById('rightContainer');
 | 
			
		||||
 | 
			
		||||
element2?.remove();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
///////////
 | 
			
		||||
const img1 = document.createElement("img");
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("src", "Assets/Images/Diotima Human.png");
 | 
			
		||||
img1.setAttribute("src", "Assets/Images/" + firstimage);
 | 
			
		||||
///////////
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("id", "leftPortrait");
 | 
			
		||||
| 
						 | 
				
			
			@ -160,16 +172,14 @@ document.getElementById("backdrop").prepend(cont1);
 | 
			
		|||
//////////
 | 
			
		||||
const img2 = document.createElement("img");
 | 
			
		||||
 | 
			
		||||
img2.setAttribute("src", "Assets/Images/trans parent.png");
 | 
			
		||||
img2.setAttribute("src", "Assets/Images/" + secondimage);
 | 
			
		||||
///////////
 | 
			
		||||
 | 
			
		||||
img2.setAttribute("id", "rightPortrait");
 | 
			
		||||
const cont2 = document.createElement("div");
 | 
			
		||||
cont2.setAttribute("id", "rightContainer");
 | 
			
		||||
cont2.appendChild(img2);
 | 
			
		||||
document.getElementById("backdrop").appendChild(cont2);
 | 
			
		||||
 | 
			
		||||
document.body.removeAttribute("class");</tw-passagedata><tw-passagedata pid="2" name="SOCRATES 2" tags="" position="325,425" size="100,100">progressA: 0
 | 
			
		||||
document.getElementById("backdrop").appendChild(cont2);</tw-passagedata><tw-passagedata pid="2" name="SOCRATES 2" tags="" position="325,425" size="100,100">progressA: 0
 | 
			
		||||
progressB: 0
 | 
			
		||||
inventory: ["People are naive and can be tricked.", "Your argument is a sham and you are an idiot."]
 | 
			
		||||
cred: 4
 | 
			
		||||
| 
						 | 
				
			
			@ -994,17 +1004,41 @@ DIOTIMA: Oh. [[What exactly can I "get for myself"?|INTERLUDE 3]]
 | 
			
		|||
[continued]
 | 
			
		||||
 | 
			
		||||
[JavaScript]
 | 
			
		||||
///////////
 | 
			
		||||
const img1 = document.getElementById("leftPortrait");
 | 
			
		||||
var firstimage = "Diotima.png";
 | 
			
		||||
var secondimage = "trans parent.png";
 | 
			
		||||
 | 
			
		||||
const element1 = document.getElementById('leftContainer');
 | 
			
		||||
 | 
			
		||||
element1?.remove();
 | 
			
		||||
 | 
			
		||||
const element2 = document.getElementById('rightContainer');
 | 
			
		||||
 | 
			
		||||
element2?.remove();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("src", "Assets/Images/Diotima.png");
 | 
			
		||||
///////////
 | 
			
		||||
const img1 = document.createElement("img");
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("src", "Assets/Images/" + firstimage);
 | 
			
		||||
///////////
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("id", "leftPortrait");
 | 
			
		||||
const cont1 = document.createElement("div");
 | 
			
		||||
cont1.setAttribute("id", "leftContainer");
 | 
			
		||||
cont1.appendChild(img1);
 | 
			
		||||
document.getElementById("backdrop").prepend(cont1);
 | 
			
		||||
 | 
			
		||||
//////////
 | 
			
		||||
const img2 = document.getElementById("rightPortrait");
 | 
			
		||||
const img2 = document.createElement("img");
 | 
			
		||||
 | 
			
		||||
img2.setAttribute("src", "Assets/Images/trans parent.png");
 | 
			
		||||
///////////</tw-passagedata><tw-passagedata pid="25" name="INTERLUDE 3" tags="" position="1075,350" size="100,100">SUIKA: [[Love!|INTERLUDE 4]]
 | 
			
		||||
img2.setAttribute("src", "Assets/Images/" + secondimage);
 | 
			
		||||
///////////
 | 
			
		||||
 | 
			
		||||
img2.setAttribute("id", "rightPortrait");
 | 
			
		||||
const cont2 = document.createElement("div");
 | 
			
		||||
cont2.setAttribute("id", "rightContainer");
 | 
			
		||||
cont2.appendChild(img2);
 | 
			
		||||
document.getElementById("backdrop").appendChild(cont2);</tw-passagedata><tw-passagedata pid="25" name="INTERLUDE 3" tags="" position="1075,350" size="100,100">SUIKA: [[Love!|INTERLUDE 4]]
 | 
			
		||||
 | 
			
		||||
SUIKA: I don't want anything to do with love anymore!
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -126,10 +126,22 @@ DIOTIMA: *[[Here comes one of my students now.|SOCRATES 2]]*
 | 
			
		|||
[continued]
 | 
			
		||||
 | 
			
		||||
[JavaScript]
 | 
			
		||||
var firstimage = "Diotima Human.png";
 | 
			
		||||
var secondimage = "trans parent.png";
 | 
			
		||||
 | 
			
		||||
const element1 = document.getElementById('leftContainer');
 | 
			
		||||
 | 
			
		||||
element1?.remove();
 | 
			
		||||
 | 
			
		||||
const element2 = document.getElementById('rightContainer');
 | 
			
		||||
 | 
			
		||||
element2?.remove();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
///////////
 | 
			
		||||
const img1 = document.createElement("img");
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("src", "Assets/Images/Diotima Human.png");
 | 
			
		||||
img1.setAttribute("src", "Assets/Images/" + firstimage);
 | 
			
		||||
///////////
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("id", "leftPortrait");
 | 
			
		||||
| 
						 | 
				
			
			@ -141,16 +153,14 @@ document.getElementById("backdrop").prepend(cont1);
 | 
			
		|||
//////////
 | 
			
		||||
const img2 = document.createElement("img");
 | 
			
		||||
 | 
			
		||||
img2.setAttribute("src", "Assets/Images/trans parent.png");
 | 
			
		||||
img2.setAttribute("src", "Assets/Images/" + secondimage);
 | 
			
		||||
///////////
 | 
			
		||||
 | 
			
		||||
img2.setAttribute("id", "rightPortrait");
 | 
			
		||||
const cont2 = document.createElement("div");
 | 
			
		||||
cont2.setAttribute("id", "rightContainer");
 | 
			
		||||
cont2.appendChild(img2);
 | 
			
		||||
document.getElementById("backdrop").appendChild(cont2);
 | 
			
		||||
 | 
			
		||||
document.body.removeAttribute("class");</tw-passagedata><tw-passagedata pid="2" name="SOCRATES 2" tags="" position="325,425" size="100,100">progressA: 0
 | 
			
		||||
document.getElementById("backdrop").appendChild(cont2);</tw-passagedata><tw-passagedata pid="2" name="SOCRATES 2" tags="" position="325,425" size="100,100">progressA: 0
 | 
			
		||||
progressB: 0
 | 
			
		||||
inventory: ["People are naive and can be tricked.", "Your argument is a sham and you are an idiot."]
 | 
			
		||||
cred: 4
 | 
			
		||||
| 
						 | 
				
			
			@ -975,17 +985,41 @@ DIOTIMA: Oh. [[What exactly can I "get for myself"?|INTERLUDE 3]]
 | 
			
		|||
[continued]
 | 
			
		||||
 | 
			
		||||
[JavaScript]
 | 
			
		||||
///////////
 | 
			
		||||
const img1 = document.getElementById("leftPortrait");
 | 
			
		||||
var firstimage = "Diotima.png";
 | 
			
		||||
var secondimage = "trans parent.png";
 | 
			
		||||
 | 
			
		||||
const element1 = document.getElementById('leftContainer');
 | 
			
		||||
 | 
			
		||||
element1?.remove();
 | 
			
		||||
 | 
			
		||||
const element2 = document.getElementById('rightContainer');
 | 
			
		||||
 | 
			
		||||
element2?.remove();
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("src", "Assets/Images/Diotima.png");
 | 
			
		||||
///////////
 | 
			
		||||
const img1 = document.createElement("img");
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("src", "Assets/Images/" + firstimage);
 | 
			
		||||
///////////
 | 
			
		||||
 | 
			
		||||
img1.setAttribute("id", "leftPortrait");
 | 
			
		||||
const cont1 = document.createElement("div");
 | 
			
		||||
cont1.setAttribute("id", "leftContainer");
 | 
			
		||||
cont1.appendChild(img1);
 | 
			
		||||
document.getElementById("backdrop").prepend(cont1);
 | 
			
		||||
 | 
			
		||||
//////////
 | 
			
		||||
const img2 = document.getElementById("rightPortrait");
 | 
			
		||||
const img2 = document.createElement("img");
 | 
			
		||||
 | 
			
		||||
img2.setAttribute("src", "Assets/Images/trans parent.png");
 | 
			
		||||
///////////</tw-passagedata><tw-passagedata pid="25" name="INTERLUDE 3" tags="" position="1075,350" size="100,100">SUIKA: [[Love!|INTERLUDE 4]]
 | 
			
		||||
img2.setAttribute("src", "Assets/Images/" + secondimage);
 | 
			
		||||
///////////
 | 
			
		||||
 | 
			
		||||
img2.setAttribute("id", "rightPortrait");
 | 
			
		||||
const cont2 = document.createElement("div");
 | 
			
		||||
cont2.setAttribute("id", "rightContainer");
 | 
			
		||||
cont2.appendChild(img2);
 | 
			
		||||
document.getElementById("backdrop").appendChild(cont2);</tw-passagedata><tw-passagedata pid="25" name="INTERLUDE 3" tags="" position="1075,350" size="100,100">SUIKA: [[Love!|INTERLUDE 4]]
 | 
			
		||||
 | 
			
		||||
SUIKA: I don't want anything to do with love anymore!
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue