1
0
Quellcode durchsuchen

[edit] New variable "usePopUps" to give the player the option to turn popup images off for selfies (settable in display options)

CroWke vor 4 Jahren
Ursprung
Commit
b601828419
3 geänderte Dateien mit 65 neuen und 12 gelöschten Zeilen
  1. 5 0
      locations/Cheatmenu_din.qsrc
  2. 10 2
      locations/phone_selfies_popup.qsrc
  3. 50 10
      locations/telefon.qsrc

+ 5 - 0
locations/Cheatmenu_din.qsrc

@@ -1855,6 +1855,11 @@ $cheatmenu['display'] = {
 	'<center><h1>Display Setting</h1></center>'
 	'<center><table cellspacing="0" cellpadding="20" valign="top"><tr>'
 	'<td cellspacing="0" cellpadding="20" valign="top">'
+	if usePopUps = 1:
+		'Allow Popup pictures: Currently ON - <a href="exec:usePopUps = 0 & dynamic $cheatmenu[''display'']">Turn OFF</a>'
+	else
+		'Allow Popup pictures: Currently OFF - <a href="exec:usePopUps = 1 & dynamic $cheatmenu[''display'']">Turn ON</a>'
+	end
 	if set_imgh > 0: set_imgw = 0
 	if set_imgw > 0: set_imgh = 0
 	if set_imgh <= 0 and set_imgw <= 0: $set_imgh = ''

+ 10 - 2
locations/phone_selfies_popup.qsrc

@@ -4,12 +4,20 @@
 
 !! show uses $phone_loc to determine where the picture is located
 if $ARGS[0] = 'show':
-	msg '<img src="images/pc/selfies/<<$phone_loc>>/<<$ARGS[1]>>/<<$ARGS[2]>>.jpg">'
+	if usePopUps = 1:
+		msg '<img src="images/pc/selfies/<<$phone_loc>>/<<$ARGS[1]>>/<<$ARGS[2]>>.jpg">'
+	else
+		view 'images/pc/selfies/<<$phone_loc>>/<<$ARGS[1]>>/<<$ARGS[2]>>.jpg'
+	end
 end
 
 !! show2 passes the location and image number
 if $ARGS[0] = 'show2':
-	msg '<img src="<<$ARGS[1]>><<$ARGS[2]>>.jpg">'
+	if usePopUps = 1:
+		msg '<img src="<<$ARGS[1]>><<$ARGS[2]>>.jpg">'
+	else
+		view '<<$ARGS[1]>><<$ARGS[2]>>.jpg'
+	end
 end
 
 

+ 50 - 10
locations/telefon.qsrc

@@ -1398,7 +1398,11 @@ if $ARGS[0] = 'Phone_camera_selfie':
 		phone_rand = RAND(1,2)
 		phone_selfie[phone_rand] = 1
 		gs 'stat'
-		msg '<img src="images/system/phone/selfie/phone_selfie<<phone_rand>>.jpg">'
+		if usePopUps = 1:
+			msg '<img src="images/system/phone/selfie/phone_selfie<<phone_rand>>.jpg">'
+		else
+			view 'images/system/phone/selfie/phone_selfie<<phone_rand>>.jpg'
+		end
 	end
 	!if spdirtyf > 0: phone_rand = RAND (m,n) - for SELF in the semen
 	!if photo_event_pic = x: phone_rand = RAND (x,y) - for photos during the events (by heart)
@@ -1415,7 +1419,11 @@ if $ARGS[0] = 'Phone_selfie_image':
 			!!Setting the image owned flag to 1
 			dynamic '<<$phone_loc>>_swim[<<phone_rand>>] = 1'
 			gs 'stat'
-			msg '<img src="images/pc/selfies/<<$phone_loc>>/bikini/<<phone_rand>>.jpg">'
+			if usePopUps = 1:
+				msg '<img src="images/pc/selfies/<<$phone_loc>>/bikini/<<phone_rand>>.jpg">'
+			else
+				view 'images/pc/selfies/<<$phone_loc>>/bikini/<<phone_rand>>.jpg'
+			end
 		elseif $clothingworntype ! 'nude':
 			!!changing to and unmixed variable so the rng will work
 			dynamic 'temp_clotot = <<$phone_loc>>_clotot'
@@ -1423,19 +1431,31 @@ if $ARGS[0] = 'Phone_selfie_image':
 			!!Setting the image owned flag to 1
 			dynamic '<<$phone_loc>>_closelfie[<<phone_rand>>] = 1'
 			gs 'stat'
-			msg '<img src="images/pc/selfies/<<$phone_loc>>/clothed/<<phone_rand>>.jpg">'
+			if usePopUps = 1:
+				msg '<img src="images/pc/selfies/<<$phone_loc>>/clothed/<<phone_rand>>.jpg">'
+			else
+				view 'images/pc/selfies/<<$phone_loc>>/clothed/<<phone_rand>>.jpg'
+			end
 		elseif $pantyworntype ! 'none':
 			dynamic 'temp_undtot = <<$phone_loc>>_undtot'
 			phone_rand = rand(1,temp_undtot)
 			dynamic '<<$phone_loc>>_undselfie[<<phone_rand>>] = 1'
 			gs 'stat'
-			msg '<img src="images/pc/selfies/<<$phone_loc>>/underwear/<<phone_rand>>.jpg">'
+			if usePopUps = 1:
+				msg '<img src="images/pc/selfies/<<$phone_loc>>/underwear/<<phone_rand>>.jpg">'
+			else
+				view 'images/pc/selfies/<<$phone_loc>>/underwear/<<phone_rand>>.jpg'
+			end
 		else
 			dynamic 'temp_nudtot = <<$phone_loc>>_nudtot'
 			phone_rand = rand(1,temp_nudtot)
 			dynamic '<<$phone_loc>>_nudselfie[<<phone_rand>>] = 1'
 			gs 'stat'
-			msg '<img src="images/pc/selfies/<<$phone_loc>>/nude/<<phone_rand>>.jpg">'
+			if usePopUps = 1:
+				msg '<img src="images/pc/selfies/<<$phone_loc>>/nude/<<phone_rand>>.jpg">'
+			else
+				view 'images/pc/selfies/<<$phone_loc>>/nude/<<phone_rand>>.jpg'
+			end
 		end
 	else
 		if $flashing = 'tits':
@@ -1443,19 +1463,31 @@ if $ARGS[0] = 'Phone_selfie_image':
 			phone_rand = rand(1,temp_titflash)
 			dynamic '<<$phone_loc>>_titflash[<<phone_rand>>] = 1'
 			gs 'stat'
-			msg '<img src="images/pc/selfies/<<$phone_loc>>/titflash/<<phone_rand>>.jpg">'
+			if usePopUps = 1:
+				msg '<img src="images/pc/selfies/<<$phone_loc>>/titflash/<<phone_rand>>.jpg">'
+			else
+				view 'images/pc/selfies/<<$phone_loc>>/titflash/<<phone_rand>>.jpg'
+			end
 		elseif $flashing = 'ass':
 			dynamic 'temp_assflash = <<$phone_loc>>_assflash'
 			phone_rand = rand(1,temp_assflash)
 			dynamic '<<$phone_loc>>_assflash[<<phone_rand>>] = 1'
 			gs 'stat'
-			msg '<img src="images/pc/selfies/<<$phone_loc>>/assflash/<<phone_rand>>.jpg">'
+			if usePopUps = 1:
+				msg '<img src="images/pc/selfies/<<$phone_loc>>/assflash/<<phone_rand>>.jpg">'
+			else
+				view 'images/pc/selfies/<<$phone_loc>>/assflash/<<phone_rand>>.jpg'
+			end
 		elseif $flashing = 'pussy':
 			dynamic 'temp_pussyflash = <<$phone_loc>>_pussyflash'
 			phone_rand = rand(1,temp_pussyflash)
 			dynamic '<<$phone_loc>>_pussyflash[<<phone_rand>>] = 1'
 			gs 'stat'
-			msg '<img src="images/pc/selfies/<<$phone_loc>>/pussyflash/<<phone_rand>>.jpg">'
+			if usePopUps = 1:
+				msg '<img src="images/pc/selfies/<<$phone_loc>>/pussyflash/<<phone_rand>>.jpg">'
+			else
+				view 'images/pc/selfies/<<$phone_loc>>/pussyflash/<<phone_rand>>.jpg'
+			end
 		end
 		$flashing = ''
 	end
@@ -1473,13 +1505,21 @@ if $ARGS[0] = 'Phone_selfie_image_bathing':
 		!!Setting the image owned flag to 1
 		dynamic '<<$phone_loc>>_showerselfie[<<phone_rand>>] = 1'
 		gs 'stat'
-		msg '<img src="images/pc/selfies/<<$phone_loc>>/shower/<<phone_rand>>.jpg">'
+		if usePopUps = 1:
+			msg '<img src="images/pc/selfies/<<$phone_loc>>/shower/<<phone_rand>>.jpg">'
+		else
+			view 'images/pc/selfies/<<$phone_loc>>/shower/<<phone_rand>>.jpg'
+		end
 	elseif $ARGS[1] = 'bath':
 		dynamic 'temp_bathtot = bathroom_bathtot'
 		phone_rand = rand(1,temp_bathtot)
 		dynamic '<<$phone_loc>>_bathselfie[<<phone_rand>>] = 1'
 		gs 'stat'
-		msg '<img src="images/pc/selfies/<<$phone_loc>>/bath/<<phone_rand>>.jpg">'
+		if usePopUps = 1:
+			msg '<img src="images/pc/selfies/<<$phone_loc>>/bath/<<phone_rand>>.jpg">'
+		else
+			view 'images/pc/selfies/<<$phone_loc>>/bath/<<phone_rand>>.jpg'
+		end
 	end
 end