:: SE FCTV Watch [nobr]

<<set $nextButton = "Continue", $nextLink = "Scheduled Event", $returnTo = "Scheduled Event", $encyclopedia = "FCTV">>
<<set $FCTV.pcViewership.count++, _possibleChannels = [0].concat(FCTV.channels())>>

Tired after a long day, you tell <<if $Concubine>>your concubine: @@.pink;$Concubine.slaveName@@<<else>>$assistant.name<</if>> to turn on the TV and
<<if !$usedRemote>>
	set FCTV to find a random show. Your larger-than-life screen flashes on, and is soon playing content from the popular streaming service.
	<<if $cheatMode > 0 || $debugMode > 0 || $FCTV.remote>>
	[[Use your remote|SE FCTV Watch][$usedRemote = 1]]
	<</if>>
	<<for _i = 0;; _i++>>
		<<set $FCTV.channel.selected = _possibleChannels[Math.floor(Math.random() * _possibleChannels.length)]>>
		<<if $FCTV.channel.last > -1 && $FCTV.channel.selected == $FCTV.channel.last>>
			<div>There is an audible tone from your screen, which then displays a message: <i>Detected recent viewing, changing channel.</i> </div>
			<<run _possibleChannels.splice($FCTV.channel.selected, 1)>>
			<<continue>>
		<</if>>
		<<if FCTV.showChannel($FCTV.channel.selected).canSelect < 0 && ![3, 4].includes($FCTV.channel.selected)>>
			<div> <<= FCTV.showChannel($FCTV.channel.selected).text>> </div>
			<<run _possibleChannels.splice($FCTV.channel.selected, 1)>>
			<<continue>>
		<</if>>

		<<if _i > 2>>
			<<set $FCTV.channel.selected = -1>> <<break>>
		<</if>>
		<<break>>
	<</for>>
<<elseif $usedRemote && ($cheatMode > 0 || $debugMode > 0 || $FCTV.remote)>>
	bring you the remote so you can choose whatever show you find interesting.<br>
	<<set _pos = 0>>
	<center>
	<<for _i = 0; _i < _possibleChannels.length; _i++>>
		<<set _pos++>>
		<<capture _i>>
		<<if FCTV.showChannel(_i).canSelect > 0>>
			<<if $FCTV.channel.selected != _i>>
				[[_i|SE FCTV Watch][$FCTV.channel.selected = _i]]
			<<else>>
				<<link "@@.yellow;<b>[_i]</b>@@" "SE FCTV Watch">> <<set $FCTV.channel.selected = _i>> <</link>>
			<</if>>
		<<else>>
			<<if ![3, 4].includes(_i)>>
				<<= App.UI.disabledLink(_i, [FCTV.showChannel(_i).text])>>
			<<else>>
				<<= _i>>
			<</if>>
		<</if>>
		<</capture>>
		<<if _pos == 4>> <br> <<set _pos = 0>> <</if>>
	<</for>>

	<br>
	<<if $cheatMode > 0 || $debugMode > 0>>
		<<link "Toggle inappropriate" "SE FCTV Watch">>
			<<if $all>>
				<<set $all = 0>>
			<<else>>
				<<set $all = 1>>
			<</if>>
		<</link>> |
	<</if>>
	[[Randomise channel selection|SE FCTV Watch][$usedRemote = 0]]
	<<if $FCTV.channel.selected == $FCTV.channel.last>>
		<br>You tuned into this channel last week, you may want choose something else.
	<</if>>
	<<if $all>>
		<br>There is an audible tone from your screen, which then displays a message:
		<i>Showing all content, for testing purposes.</i>
	<</if>>
	</center>
<</if>>

<<if $FCTV.channel.selected >= -1>> <<include "SE FCTV Shows">> <</if>>
src/pregmod/FCTV/seFCTVwatch.tw