Browse Source

[fixes] blank screen when working as a camgirl

slonon 3 years ago
parent
commit
1ef83c284f
1 changed files with 50 additions and 56 deletions
  1. 50 56
      locations/kompMFCtwo.qsrc

+ 50 - 56
locations/kompMFCtwo.qsrc

@@ -1,7 +1,8 @@
 # kompMFCtwo
+!! the gotos to this location are already gated by ifs
+!! to prevent further blank pages only clientask is used here
 
-
-if webpopular >= 15 and pcs_ass >= 15 and clientask = 89:
+if clientask = 89:
 	cls
 	gs 'stat'
 	'One of the visitors makes several comments on how badly he wants to fuck your ass, and then offers you tokens to show your asshole to him...'
@@ -45,20 +46,19 @@ if webpopular >= 15 and pcs_ass >= 15 and clientask = 89:
 		act'Continue':gt'komp','waitclients'
 	end
 	gs 'willpower', 'exhib', 'resist', 'hard'
-		if will_cost <= pcs_willpwr:
-			act 'Ignore him (<<will_cost>> Willpower)':
-				cls
-				webpopular -= 1
-				gs 'willpower', 'pay', 'resist'
-				gs 'stat'
-				gt 'komp','waitclients'
-			end
-		else
-			act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-		end	
-end
+	if will_cost <= pcs_willpwr:
+		act 'Ignore him (<<will_cost>> Willpower)':
+			cls
+			webpopular -= 1
+			gs 'willpower', 'pay', 'resist'
+			gs 'stat'
+			gt 'komp','waitclients'
+		end
+	else
+		act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+	end
 
-if webpopular < 50 and clientask = 88:
+elseif clientask = 88:
 	cls
 	gs 'stat'
 	'One of the visitors has a rather unusual request: "Time for you to quiet down for a while! Gag yourself by putting your panties into your mouth..."'
@@ -90,20 +90,19 @@ if webpopular < 50 and clientask = 88:
 		act'Continue':gt'komp','waitclients'
 	end
 	gs 'willpower', 'exhib', 'resist', 'hard'
-		if will_cost <= pcs_willpwr:
-			act 'Ignore him (<<will_cost>> Willpower)':
-				cls
-				webpopular -= 1
-				gs 'willpower', 'pay', 'resist'
-				gs 'stat'
-				gt 'komp','waitclients'
-			end
-		else
-			act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-		end	
-end
+	if will_cost <= pcs_willpwr:
+		act 'Ignore him (<<will_cost>> Willpower)':
+			cls
+			webpopular -= 1
+			gs 'willpower', 'pay', 'resist'
+			gs 'stat'
+			gt 'komp','waitclients'
+		end
+	else
+		act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+	end
 
-if webpopular >= 50 and pcs_vag >= 35 and clientask = 87:
+elseif clientask = 87:
 	cls
 	gs 'stat'
 	'One of the visitors challenges you: "Put something in your vagina. Anything. Impress me."'
@@ -131,20 +130,19 @@ if webpopular >= 50 and pcs_vag >= 35 and clientask = 87:
 		act'Continue':gt'komp','waitclients'
 	end
 	gs 'willpower', 'exhib', 'resist', 'hard'
-		if will_cost <= pcs_willpwr:
-			act 'Ignore him (<<will_cost>> Willpower)':
-				cls
-				webpopular -= 1
-				gs 'willpower', 'pay', 'resist'
-				gs 'stat'
-				gt 'komp','waitclients'
-			end
-		else
-			act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-		end	
-end
+	if will_cost <= pcs_willpwr:
+		act 'Ignore him (<<will_cost>> Willpower)':
+			cls
+			webpopular -= 1
+			gs 'willpower', 'pay', 'resist'
+			gs 'stat'
+			gt 'komp','waitclients'
+		end
+	else
+		act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+	end
 
-if webpopular >= 35 and pcs_vag >= 25 and alko >= 8 and clientask = 86:
+elseif clientask = 86:
 	cls
 	gs 'stat'
 	'One of the visitors, noticing how drunk you are, asks in chat: "How much would it take for you to shove a bottle in your vagina? That would be so hot..."'
@@ -163,9 +161,8 @@ if webpopular >= 35 and pcs_vag >= 25 and alko >= 8 and clientask = 86:
 		'After a while reality kicks in, and that reality is that the cold bottle really doesn''t feel comfortable inside your snatch! Nevertheless, your viewers loved it and sing your praises when you slowly let the bottle slide out of your stretched pussy and crack the bottle open.'
 		act'Further':gt'komp','waitclients'
 	end
-end
 
-if webpopular >= 50 and pcs_vag > 0 and pcs_ass > 0 and alko >= 8 and sub > 50 and clientask = 85:
+elseif clientask = 85:
 	cls
 	gs 'stat'
 	'One of the visitors, noticing how drunk you are, asks in chat: "Hey, <<$pcs_nickname>>! Show us something unusual! Anything!"'
@@ -344,9 +341,8 @@ if webpopular >= 50 and pcs_vag > 0 and pcs_ass > 0 and alko >= 8 and sub > 50 a
 			end
 		end
 	end
-end
 
-if backmfc = 0 and webpopular >= 25 and (pcs_vag + pcs_ass >= 30) and alko >= 8 and clientask = 84:
+elseif clientask = 84:
 	cls
 	gs 'stat'
 	if pcs_vag >= pcs_ass:
@@ -401,9 +397,8 @@ if backmfc = 0 and webpopular >= 25 and (pcs_vag + pcs_ass >= 30) and alko >= 8
 		end
 		act'Continue':gt'komp','waitclients'
 	end
-end
 
-if backmfc = 0 and pcs_vag > 20 and clientask = 83:
+elseif clientask = 83:
 	'One of the visitors asks you: "Fuck yourself with something! But not a dildo... be creative! Use your imagination and surprise us!"'
 	act 'Use the wooden knob on your bed':
 		cls
@@ -454,10 +449,9 @@ if backmfc = 0 and pcs_vag > 20 and clientask = 83:
 		end
 	else
 		act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-	end	
-end
+	end
 
-if webpopular > 25 and backmfc = 0 and sub > 25 and pcs_vag > 10 and prezik > 0 and clientask = 82:
+elseif clientask = 82:
 	cls
 	gs 'stat'
 	'One of the regulars asks: "You know, I really love it when girls stick something in their urethra! Could you do that for me? It doesn''t have to be big!"'
@@ -499,10 +493,9 @@ if webpopular > 25 and backmfc = 0 and sub > 25 and pcs_vag > 10 and prezik > 0
 		end
 	else
 		act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-	end	
-end
+	end
 
-if backmfc = 0 and webpopular >= 50 and pcs_ass > 25 and clientask = 81:
+elseif clientask = 81:
 	cls
 	gs 'stat'
 	'One of the regulars says: "I''ve always been curious what the inside of a girl''s ass looks like. How about you show me? I''ve got a bunch of tokens with your name on it! ;)"'
@@ -546,9 +539,8 @@ if backmfc = 0 and webpopular >= 50 and pcs_ass > 25 and clientask = 81:
 	else
 		act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 	end	
-end
 
-if backmfc = 0 and webpopular >= 50 and pcs_ass > 10 and pcs_vag > 10 and sub > 50 and alko >= 8 and clientask = 80:
+elseif clientask = 80:
 	cls
 	gs 'stat'
 	'When one of your loyal visitors speaks up, you feel a weird knot in your throat. He''s usually making rather insensitive comments and seems to enjoy watching you squirm, but he pays well.'
@@ -597,7 +589,9 @@ if backmfc = 0 and webpopular >= 50 and pcs_ass > 10 and pcs_vag > 10 and sub >
 		end
 	else
 		act 'Ignore him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-	end	
+	end
+else
+	msg 'ERROR: unknown clientask in location "kompMFCtwo". Debug variables: backmfc = <<backmfc>>; webpopular = <<webpopular>>; pcs_ass = <<pcs_ass>>; pcs_vag = <<pcs_vag>>; sub = <<sub>>; alko = <<alko>>; clientask = <<clientask>>; prezik = <<prezik>>.'
 end
 
 --- kompMFCtwo ---------------------------------