Browse Source

Merge remote-tracking branch 'Felix/master'

Kevin_Smarts 7 months ago
parent
commit
4aba213f11

+ 1 - 1
locations/bedrPar.qsrc

@@ -91,7 +91,7 @@ if $ARGS[0] = '' or $ARGS[0] = 'start':
 		if $home['current'] = 'parents_home':
 		if $home['current'] = 'parents_home':
 			'This is the small bedroom you share with your sister, Anya. On one side of the room is a <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> where you can choose outfits and organise your clothing.'
 			'This is the small bedroom you share with your sister, Anya. On one side of the room is a <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> where you can choose outfits and organise your clothing.'
 			*nl
 			*nl
-			'Your <a href="exec:gt ''bed'', ''start''">bed</a> stands opposite the wardrobe, and your <a href="exec:gt ''stol'' ,''stolPar''">desk</a> is next to it'+iif(mc_inventory['strapon'] = 1, '. You keep your strapon inside it.', '.')+' Your sister''s bed is in the other corner.'
+			'Your <a href="exec:gt ''bed'', ''start''">bed</a> stands opposite the wardrobe, and your <a href="exec:gt ''stol'' ,''start''">desk</a> is next to it'+iif(mc_inventory['strapon'] = 1, '. You keep your strapon inside it.', '.')+' Your sister''s bed is in the other corner.'
 		else
 		else
 			'This small bedroom you used to share with your sister, Anya. The furniture is old and basic.'
 			'This small bedroom you used to share with your sister, Anya. The furniture is old and basic.'
 		end
 		end

+ 6 - 0
locations/cikl.qsrc

@@ -118,6 +118,12 @@ if casting = 1:
 	acting_string2 = rand(10000000,199999999)
 	acting_string2 = rand(10000000,199999999)
 end
 end
 
 
+!! terminate tour gide job when its off season
+if emp_job_status[1] = 1 and month < 6 and month > 8:
+	if work = 1: work = 0
+	emp_job_status[1]  = 4
+end
+
 dynamic $hypnoDaychange
 dynamic $hypnoDaychange
 
 
 !!phone reset for bf
 !!phone reset for bf

+ 26 - 2
locations/journal.qsrc

@@ -37,11 +37,12 @@ end
 if $ARGS[0]='journalmenu':
 if $ARGS[0]='journalmenu':
 	*clr & cla
 	*clr & cla
 	gs 'stat'
 	gs 'stat'
+	*nl
 	if $start_type[1] ! 'nomagic':
 	if $start_type[1] ! 'nomagic':
-        $tablebody = '<tr><th><a href="exec:menutrack = 0 & gs ''journal'', ''magictab''">Magic</a></th><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th></tr>'
+        $tablebody = '<tr><th><a href="exec:menutrack = 0 & gs ''journal'', ''magictab''">Magic</a></th><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th><th><a href="exec:menutrack = 7 & gs ''journal'', ''notification_log''">Notifications</a></th></tr>'
     
     
     else
     else
-        $tablebody ='<tr><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th></tr>'
+        $tablebody ='<tr><th><a href="exec:menutrack = 1 & gs ''Journal'', ''housingtab''">Housing</a></th><th><a href="exec:menutrack = 2 & gs ''journal_work'', ''start''">Work</a></th><th><a href="exec:menutrack = 2 & gs ''journal_quests'', ''start''">Quests</a></th><th><a href="exec:menutrack = 4 & gs ''journal'', ''relationstab''">Relations</a></th><th><a href="exec:menutrack = 5 & gs ''journal'', ''generaltab''">Game Information</a></th><th><a href="exec:menutrack = 6 & gs ''journal'', ''notestab''">Notes</a></th><th><a href="exec:menutrack = 7 & gs ''journal'', ''notification_log''">Notifications</a></th></tr>'
     ! menu
     ! menu
     end
     end
 	!display the table here.
 	!display the table here.
@@ -479,6 +480,29 @@ if $ARGS[0] = 'notestab':
 !! notes
 !! notes
 end
 end
 
 
+!!---------------------------------!!
+!!          notifications          !!
+!!---------------------------------!!
+
+
+if $ARGS[0] = 'notification_log':
+	$jumploc = 'notification_log'
+	gs 'journal', 'journalmenu'
+	'<center><h2>Notifications</h2></center>'
+	*nl
+	!! DEBUG
+	!!'<a href="exec: notif_debug_counter += 1 & gs ''notification'', ''add'', ''test message <<notif_debug_counter>>'' & gt ''journal'',''notification_log''">DEBUG</a>'
+	if $notification_log[0] ! '':
+		notification_log_loop_index = arrsize('$notification_log') - 1
+		:notification_log_loop
+		*pl $notification_log[notification_log_loop_index]
+		*nl
+		if notification_log_loop_index > 0: notification_log_loop_index -= 1 & jump 'notification_log_loop'
+	else
+		'Notification log is empty.'
+	end
+end
+
 !! ---- Other Sections ---- 
 !! ---- Other Sections ---- 
 
 
 
 

+ 1 - 1
locations/mey_home.qsrc

@@ -227,7 +227,7 @@ if $ARGS[0] = 'guest_bedroom':
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/meynolds/guestroom.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/meynolds/guestroom.jpg"></center>'
 	*nl
 	*nl
 	'It feels and looks like a standard room in a hotel.'
 	'It feels and looks like a standard room in a hotel.'
-	'There is a <a href="exec:gt ''bed'', ''start''">bed</a>, a small <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing), and a <a href="exec:gt ''stol'' ,''stolPar''">desk</a>.'
+	'There is a <a href="exec:gt ''bed'', ''start''">bed</a>, a small <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing), and a <a href="exec:gt ''stol'' ,''start''">desk</a>.'
 	*nl
 	*nl
 	'Your <a href="exec:gt ''alarmclock'', ''start''">alarm clock</a> is set to <<func(''alarmclock'', ''alarm_display'', alarmVars[''timerH''], alarmVars[''timerM''])>> during the week and <<func(''alarmclock'', ''alarm_display'', alarmVars[''timerEndH''], alarmVars[''timerEndM''])>> during the weekend. It is currently turned ' + iif(alarmVars['alarmOn'] = 0, '<a href="exec: alarmVars[''alarmOn''] = 1 & gt $loc, $loc_arg">OFF</a>.', '<a href="exec: alarmVars[''alarmOn''] = 0 & gt $loc, $loc_arg">ON</a>.')
 	'Your <a href="exec:gt ''alarmclock'', ''start''">alarm clock</a> is set to <<func(''alarmclock'', ''alarm_display'', alarmVars[''timerH''], alarmVars[''timerM''])>> during the week and <<func(''alarmclock'', ''alarm_display'', alarmVars[''timerEndH''], alarmVars[''timerEndM''])>> during the weekend. It is currently turned ' + iif(alarmVars['alarmOn'] = 0, '<a href="exec: alarmVars[''alarmOn''] = 1 & gt $loc, $loc_arg">OFF</a>.', '<a href="exec: alarmVars[''alarmOn''] = 0 & gt $loc, $loc_arg">ON</a>.')
 	*nl
 	*nl

+ 14 - 4
locations/notification.qsrc

@@ -18,15 +18,25 @@ if $ARGS[0] = 'update_display':
 		$stat_msg = replace($stat_msg, $notification_message[0], $notification_message[1])
 		$stat_msg = replace($stat_msg, $notification_message[0], $notification_message[1])
 		notification_shown[1] = 1
 		notification_shown[1] = 1
 	else
 	else
-		$temp_str = '<td><a href="exec:msg ''<<$weather>>''"><<$weatherImage>></a></td><td><<$temperature>></td>'
-		$stat_msg = replace($stat_msg, $notification_message[0], $temp_str)
-		killvar '$temp_str'
+		$stat_msg = replace($stat_msg, $notification_message[0])
 	end
 	end
 	clr & pl '<<$stat_msg>>'
 	clr & pl '<<$stat_msg>>'
 end
 end
 
 
+!! adds a notification to the queue
+!! message string can contain html tags like format or maybe even links
+!! i think links should work, or an image with link embedded in it
+!! theoretically all the techniques used in stat_display should work
+!! use: gs 'notification', 'add', 'message string'
 if $ARGS[0] = 'add':
 if $ARGS[0] = 'add':
-	$notification_message[] = '<td><<$ARGS[1]>></td>'
+	$temp_notification_message = '<table><tr><td><<$ARGS[1]>></td></tr></table>'
+
+	$notification_message[] = $temp_notification_message
+	$notification_log[] = '<<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>> <<day>><<$date_suffix>> <<$month>> <<year>>'+$temp_notification_message
+
+	killvar '$temp_notification_message'
+
+	if arrsize('$notification_log') > 30: killvar '$notification_log', 0
 end
 end
 
 
 --- notification ---------------------------------
 --- notification ---------------------------------

+ 0 - 4
locations/pav_park.qsrc

@@ -241,10 +241,6 @@ if $ARGS[0] = 'start':
 				act 'Work as Tour Guide (8:00)':gt 'tour_guide', 'tourstart'
 				act 'Work as Tour Guide (8:00)':gt 'tour_guide', 'tourstart'
 			end
 			end
 		end
 		end
-	elseif emp_job_status[1] = 1:
-		!! out of season
-		work = 0
-		emp_job_status[1]  = 4
 	end
 	end
 
 
 	if mey_vika['mey_vika_qw'] > 0 and mey_vika['mey_vika_qw'] < 27 and mey_vika['qw_day'] ! daystart:
 	if mey_vika['mey_vika_qw'] > 0 and mey_vika['mey_vika_qw'] < 27 and mey_vika['qw_day'] ! daystart:

+ 1 - 1
locations/sitr2x.qsrc

@@ -37,7 +37,7 @@ end
 
 
 'luxurious <a href="exec:gt ''divan'',''start''">leather sofa</a>'
 'luxurious <a href="exec:gt ''divan'',''start''">leather sofa</a>'
 
 
-'modern <a href="exec:gt ''stol'',''stolPar''">desk</a>' + iif($komp = '', '.', $komp)
+'modern <a href="exec:gt ''stol'',''start''">desk</a>' + iif($komp = '', '.', $komp)
 
 
 if mc_inventory['hula_hoop'] > 0:'Your hula hoop stands in a corner.'
 if mc_inventory['hula_hoop'] > 0:'Your hula hoop stands in a corner.'
 if mc_inventory['skipping_rope'] > 0:'Your jump rope is on a shelf.'
 if mc_inventory['skipping_rope'] > 0:'Your jump rope is on a shelf.'

+ 3 - 3
locations/stat_display.qsrc

@@ -82,12 +82,12 @@ if Enable_statimg_loc = 1: $stat_msg = '<<$stat_imgtool_msg>><br><<$stat_imgextr
 $stat_android = '<b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>'
 $stat_android = '<b><<$mid(100+hour,2,2)>>:<<$mid(100+minut,2,2)>></b>'
 
 
 if $notification_message[0] ! '':
 if $notification_message[0] ! '':
-	$stat_msg += '<table><tr><<$notification_message[0]>></tr></table>'
+	$stat_msg += '<<$notification_message[0]>>'
 	notification_shown[0] = 1
 	notification_shown[0] = 1
-else
-	$stat_msg += '<table><tr><td><a href="exec:msg ''<<$weather>>''"><<$weatherImage>></a></td><td><<$temperature>></td></tr></table>'
 end
 end
 
 
+$stat_msg += '<table><tr><td><a href="exec:msg ''<<$weather>>''"><<$weatherImage>></a></td><td><<$temperature>></td></tr></table>'
+
 if Enable_statfsize>0: $stat_msg = '<font size=<<Enable_statfsize>>><<$stat_msg>>'
 if Enable_statfsize>0: $stat_msg = '<font size=<<Enable_statfsize>>><<$stat_msg>>'
 
 
 $stat_disable_msg = 'Menu is disabled for this event.'
 $stat_disable_msg = 'Menu is disabled for this event.'

+ 48 - 171
locations/stol.qsrc

@@ -3,16 +3,14 @@
 if $ARGS[0] = 'start':
 if $ARGS[0] = 'start':
 	*clr & cla
 	*clr & cla
 	menu_off = 1
 	menu_off = 1
+	gs 'stat'
 	'<center><h1>Desk</h1></center>'
 	'<center><h1>Desk</h1></center>'
 	'<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
 	*nl
 	*nl
-	gs 'stat'
-	'Bric-a-brac drawer.'
+	'You sit down at your desk.'
 
 
-	if mc_inventory['lubricant'] > 0:'Lubricant, enough for <<mc_inventory[''lubricant'']>> time(s).'
-	if  mc_inventory['suncream'] > 0:'Sunblock, enough for <<mc_inventory[''suncream'']>> more application(s).'
-	if abonement > 0:'Fitness center subscription, valid for <<abonement>> more visit(s)'
-	if mc_inventory['dildo_small'] > 0:'Realistic Dildo.'
+	act 'Get up': gt $loc, $loc_arg
+	act 'Check your birth control': gt 'stol', 'bc'
 
 
 	if mentats_have > 0:
 	if mentats_have > 0:
 		'<a href="exec:gs ''drugs'', ''mentats'' & gt ''stol'', ''start''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
 		'<a href="exec:gs ''drugs'', ''mentats'' & gt ''stol'', ''start''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
@@ -24,10 +22,6 @@ if $ARGS[0] = 'start':
 		'<a href="exec:gs ''drugs'', ''aphrodisiac'' & gt ''stol'', ''start''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
 		'<a href="exec:gs ''drugs'', ''aphrodisiac'' & gt ''stol'', ''start''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
 	end
 	end
 
 
-	act 'Close the drawer':	gt $loc, $loc_arg
-	
-	act 'Check birth control': gt 'stol', 'bc'
-	
 	killvar '$stol_loc_temp'
 	killvar '$stol_loc_temp'
 	if mc_inventory['strapon'] = 1:
 	if mc_inventory['strapon'] = 1:
 		if mc_inventory['dildo_small'] + mc_inventory['dildo_normal'] + mc_inventory['dildo_big'] + mc_inventory['dildo_large'] + mc_inventory['dildo_huge'] + mc_inventory['dildo_enormous'] + mc_inventory['dildo_gigantic'] > 0:
 		if mc_inventory['dildo_small'] + mc_inventory['dildo_normal'] + mc_inventory['dildo_big'] + mc_inventory['dildo_large'] + mc_inventory['dildo_huge'] + mc_inventory['dildo_enormous'] + mc_inventory['dildo_gigantic'] > 0:
@@ -36,46 +30,46 @@ if $ARGS[0] = 'start':
 			act 'Check out your strapon harness': '<br>You don''t have any dildos to attach to your strapon harness'
 			act 'Check out your strapon harness': '<br>You don''t have any dildos to attach to your strapon harness'
 		end
 		end
 	end
 	end
-	
+
 	if mc_inventory['cigarettes'] > 0:
 	if mc_inventory['cigarettes'] > 0:
-        act 'Hide some cigarettes in your drawer':
-            cla
-            cigIN = input('How many cigarettes do you want to hide in your drawer? (Your purse contains <<mc_inventory[''cigarettes'']>> cigarettes.)')
+		act 'Hide some cigarettes in your drawer':
+			cla
+			cigIN = input('How many cigarettes do you want to hide in your drawer? (Your purse contains <<mc_inventory[''cigarettes'']>> cigarettes.)')
 
 
-            if cigIN <= 0 or cigIN > mc_inventory['cigarettes']:
-                'You can''t put this amount into the drawer.'
-            else
-                stolcigarettes += cigIN
-                mc_inventory['cigarettes'] -= cigIN
-            end
+			if cigIN <= 0 or cigIN > mc_inventory['cigarettes']:
+				'You can''t put this amount into the drawer.'
+			else
+				stolcigarettes += cigIN
+				mc_inventory['cigarettes'] -= cigIN
+			end
 
 
-            gt 'stol', 'start'
-        end
-    end
+			gt 'stol', 'start'
+		end
+	end
 
 
 	if stolcigarettes > 0:
 	if stolcigarettes > 0:
-        act 'Take some cigarettes from your drawer':
-            cla
-            cigOUT = input ("How many cigarettes do you want to put in your purse? (There are <<stolcigarettes>> cigarettes here.)")
+		act 'Take some cigarettes from your drawer':
+			cla
+			cigOUT = input ("How many cigarettes do you want to put in your purse? (There are <<stolcigarettes>> cigarettes here.)")
 
 
-            if cigOUT <= 0 or cigOUT > stolcigarettes:
-                'You can''t take this amount from your drawer.'
-            else
-                stolcigarettes -= cigOUT
-                mc_inventory['cigarettes'] += cigOUT
-            end
+			if cigOUT <= 0 or cigOUT > stolcigarettes:
+				'You can''t take this amount from your drawer.'
+			else
+				stolcigarettes -= cigOUT
+				mc_inventory['cigarettes'] += cigOUT
+			end
 
 
-            gt 'stol', 'start'
-        end
-    end
+			gt 'stol', 'start'
+		end
+	end
 
 
 	if money > 0:
 	if money > 0:
-		act 'Put some money in the drawer':
+		act 'Put some money in the desk drawer':
 			cla
 			cla
-			stolIN = input ("How much money you want to put in the desk drawer? (Your purse contains <<money>> <b>₽</b>.)")
+			stolIN = input ("How much money you want to put in the drawer? (Your purse contains <<money>> <b>₽</b>.)")
 
 
 			if stolIN <= 0 or stolIN > money:
 			if stolIN <= 0 or stolIN > money:
-				!!'Not correct operation.'
+				'You can''t put this amount into the drawer.'
 			else
 			else
 				stolmoney += stolIN
 				stolmoney += stolIN
 				money -= stolIN
 				money -= stolIN
@@ -86,22 +80,23 @@ if $ARGS[0] = 'start':
 	end
 	end
 
 
 	if stolmoney > 0:
 	if stolmoney > 0:
-		act 'Take some money from the desk':
+		act 'Take some money from the desk drawer':
 			cla
 			cla
 			stolOUT = input ("How much money do you want to put in your purse? (There is <<stolmoney>> <b>₽</b> here.)")
 			stolOUT = input ("How much money do you want to put in your purse? (There is <<stolmoney>> <b>₽</b> here.)")
 
 
 			if stolOUT <= 0 or stolOUT > stolmoney:
 			if stolOUT <= 0 or stolOUT > stolmoney:
-				!!'Not correct operation.'
+				'You can''t take this amount from the drawer.'
 			else
 			else
 				stolmoney -= stolOUT
 				stolmoney -= stolOUT
 				money += stolOUT
 				money += stolOUT
-				!!'You debited <<kartaOUT>> <b>₽</b>, now on your account <<karta>> <b>₽</b>.'
+				if stolmoney > 0: 'You have <<stolmoney>> <b>₽</b> hiden in the drawer.'
 			end
 			end
 
 
 			gt 'stol', 'start'
 			gt 'stol', 'start'
 		end
 		end
 	end
 	end
 
 
+	!! uni homework
 	if university['enrolled_in_semester'] > university['semester_passed']:
 	if university['enrolled_in_semester'] > university['semester_passed']:
 		if university['semester_week'] > 0:
 		if university['semester_week'] > 0:
 			i = 0
 			i = 0
@@ -130,24 +125,8 @@ if $ARGS[0] = 'start':
 			killvar 'i'
 			killvar 'i'
 		end
 		end
 	end
 	end
-end
 
 
-if $ARGS[0] = 'stolPar':
-	*clr & cla
-	menu_off = 1
-	gs'stat'
-	'<center><h1>Desk</h1></center>'
-	'<center><img <<$set_imgh>> src="images/shared/home/bedroom/stol.jpg"></center>'
-	*nl
-	'You sit down at your desk.'
-	
-	act 'Get up':gt $loc, $loc_arg
-	act 'Check your birth control': gt 'stol', 'bc'
-	
-	if mentats_have > 0: '<a href="exec:gs ''drugs'', ''mentats'' & gt ''stol'', ''stolPar''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
-	if steroid_have > 0: '<a href="exec:gs ''drugs'', ''steroids'' & gt ''stol'', ''stolPar''"><b>Take steroids.</b></a> Uses left: <<steroid_have>>.'
-	if aphrodisiac_have > 0: '<a href="exec:gs ''drugs'', ''aphrodisiac'' & gt ''stol'', ''stolPar''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
-	
+	!! school homework
 	gs 'willpower', 'chore', 'self', iif(grupTipe = 4 and pcs_traits['nerd_status'] = 0, 'hard', iif(pcs_traits['nerd_status'] > 0, 'easy', 'medium'))
 	gs 'willpower', 'chore', 'self', iif(grupTipe = 4 and pcs_traits['nerd_status'] = 0, 'hard', iif(pcs_traits['nerd_status'] > 0, 'easy', 'medium'))
 	if pcs_traits['nerd_status'] = 2: will_cost = will_cost / 2
 	if pcs_traits['nerd_status'] = 2: will_cost = will_cost / 2
 	if lernHome > 0 and (will_cost <= pcs_willpwr or pcs_traits['nerd_status'] = 3):
 	if lernHome > 0 and (will_cost <= pcs_willpwr or pcs_traits['nerd_status'] = 3):
@@ -169,12 +148,12 @@ if $ARGS[0] = 'stolPar':
 				gs 'grades', 'homework', 'school', 'no', 1, 0, 0
 				gs 'grades', 'homework', 'school', 'no', 1, 0, 0
 				'You spend an hour '+iif(lernHome = 0, 'completing', 'doing part of')+' your homework. The part for computer class is not as good as it could be since you don''t have a computer. You could do your homework at the library at the community center in the future since there is a computer available to use there.'
 				'You spend an hour '+iif(lernHome = 0, 'completing', 'doing part of')+' your homework. The part for computer class is not as good as it could be since you don''t have a computer. You could do your homework at the library at the community center in the future since there is a computer available to use there.'
 			end
 			end
-			act 'Continue':gt 'stol', 'stolPar'
+			act 'Continue':gt 'stol', 'start'
 		end
 		end
 	elseif lernHome > 0 and will_cost > pcs_willpwr:
 	elseif lernHome > 0 and will_cost > pcs_willpwr:
 		act 'Do some homework (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 		act 'Do some homework (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 	end
 	end
-	
+
 	will_cost = will_cost * lernHome
 	will_cost = will_cost * lernHome
 	if lernHome > 1 and (will_cost <= pcs_willpwr or pcs_traits['nerd_status'] = 3):
 	if lernHome > 1 and (will_cost <= pcs_willpwr or pcs_traits['nerd_status'] = 3):
 		act 'Finish all of your homework (<<lernHome>>:00'+iif(pcs_traits['nerd_status'] = 3, '', ' and <<will_cost>> Willpower')+')':
 		act 'Finish all of your homework (<<lernHome>>:00'+iif(pcs_traits['nerd_status'] = 3, '', ' and <<will_cost>> Willpower')+')':
@@ -191,114 +170,12 @@ if $ARGS[0] = 'stolPar':
 			else
 			else
 				gs 'grades', 'homework', 'school', 'no', lernHome, 0, 0
 				gs 'grades', 'homework', 'school', 'no', lernHome, 0, 0
 				'It took you <<lernHome>> hours to complete your homework. The part for computer class is not as good as it could be since you don''t have a computer. You could do your homework at the library at the community center in the future since there is a computer available to use there.'
 				'It took you <<lernHome>> hours to complete your homework. The part for computer class is not as good as it could be since you don''t have a computer. You could do your homework at the library at the community center in the future since there is a computer available to use there.'
-			end			
-			
-			act 'Continue':gt 'stol', 'stolPar'
-		end
-	elseif lernHome > 1 and will_cost > pcs_willpwr:
-		act 'Finish all of your homework (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-	end
-
-	if university['enrolled_in_semester'] > university['semester_passed']:
-		if university['semester_week'] > 0:
-			i = 0
-			:study_loop
-			if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>':
-				if dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_grade_gain'']') < dyneval ('RESULT = class[''<<$class_list_institution[i]>>_<<$class_list_name[i]>>_optional_weekly_max'']'):
-					dynamic '	act ''Study for your <<$class_list_name[i]>> class'': gt ''stol'', ''studying'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''stolPar'' '
-				else
-					*nl
-					'You don''t need to study more this week for your <<$class_list_name[i]>> class.'
-				end
-			end
-
-			i += 1
-			if ARRSIZE('class_list_institution') >= i: jump 'study_loop'
-			killvar 'i'
-		elseif university['exam_week'] > 0:
-			i = 0
-			:exam_loop
-			if $class_list_institution[i] = 'uni_<<$university[''enrolled_in'']>>_semester_<<university[''enrolled_in_semester'']>>' and func('uni_programs', 'exam', 'is_over', $class_list_name[i]) = 0:
-				dynamic '	act ''Study intensely for your <<$class_list_name[i]>> exam'': gt ''stol'', ''studying_exam'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''stolPar'' '
 			end
 			end
 
 
-			i += 1
-			if ARRSIZE('class_list_institution') >= i: jump 'exam_loop'
-			killvar 'i'
-		end
-	end
-
-	killvar '$stol_loc_temp'
-	if mc_inventory['strapon'] = 1:
-		if mc_inventory['dildo_small'] + mc_inventory['dildo_normal'] + mc_inventory['dildo_big'] + mc_inventory['dildo_large'] + mc_inventory['dildo_huge'] + mc_inventory['dildo_enormous'] + mc_inventory['dildo_gigantic'] > 0:
-			act 'Check out your strapon harness': $stol_loc_temp = 'stolPar' & gt 'stol', 'strapon'
-		else
-			act 'Check out your strapon harness': '<br>You don''t have any dildos to attach to your strapon harness'
-		end
-	end
-	
-	if mc_inventory['cigarettes'] > 0:
-        act 'Hide some cigarettes in your drawer':
-            cla
-            cigIN = input('How many cigarettes do you want to hide in your drawer? (Your purse contains <<mc_inventory[''cigarettes'']>> cigarettes.)')
-
-            if cigIN <= 0 or cigIN > mc_inventory['cigarettes']:
-                'You can''t put this amount into the drawer.'
-            else
-                stolcigarettes += cigIN
-                mc_inventory['cigarettes'] -= cigIN
-            end
-            gt 'stol', 'stolPar'
-        end
-    end
-
-	if stolcigarettes > 0:
-        act 'Take some cigarettes from your drawer':
-            cla
-            cigOUT = input ("How many cigarettes do you want to put in your purse? (There are <<stolcigarettes>> cigarettes here.)")
-
-            if cigOUT <= 0 or cigOUT > stolcigarettes:
-                'You can''t take this amount from your drawer.'
-            else
-                stolcigarettes -= cigOUT
-                mc_inventory['cigarettes'] += cigOUT
-            end
-
-            gt 'stol', 'stolPar'
-        end
-    end
-	
-	if money > 0:
-		act 'Hide some money in your drawer':
-			cla
-			stolIN = input ("How much money you want to hide in your drawer? (Your purse contains <<money>> <b>₽</b>.)")
-
-			if stolIN <= 0 or stolIN > money:
-				'You can''t put this amount into the drawer.'
-			else
-				stolmoney += stolIN
-				money -= stolIN
-			end
-
-			gt 'stol', 'stolPar'
-		end
-	end
-
-	if stolmoney > 0:
-		act 'Take some money from your drawer':
-			cla
-			stolOUT = input ("How much money do you want to put in your purse? (There is <<stolmoney>> <b>₽</b> here.)")
-
-			if stolOUT <= 0 or stolOUT > stolmoney:
-				'You can''t take this amount from your drawer.'
-			else
-				stolmoney -= stolOUT
-				money += stolOUT
-				if stolmoney > 0: 'You have <<stolmoney>> <b>₽</b> hiden in your drawer.'
-			end
-
-			gt 'stol', 'stolPar'
+			act 'Continue':gt 'stol', 'start'
 		end
 		end
+	elseif lernHome > 1 and will_cost > pcs_willpwr:
+		act 'Finish all of your homework (<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
 end
 
 
@@ -329,7 +206,7 @@ if $ARGS[0] = 'bc':
 	gs 'din_bad'
 	gs 'din_bad'
 	'In the drawer of your desk, you store your birth control.'
 	'In the drawer of your desk, you store your birth control.'
 	act 'Close the drawer':gt $loc, $loc_arg
 	act 'Close the drawer':gt $loc, $loc_arg
-	act'Check your condoms':		
+	act'Check your condoms':
 		if mc_inventory['equipped_condoms'] + mc_inventory['normal_condoms'] + mc_inventory['sabotaged_condoms'] > 0:
 		if mc_inventory['equipped_condoms'] + mc_inventory['normal_condoms'] + mc_inventory['sabotaged_condoms'] > 0:
 			if $locclass = 'bedr':
 			if $locclass = 'bedr':
 				*clr
 				*clr
@@ -349,7 +226,7 @@ if $ARGS[0] = 'bc':
 			'You are out of condoms.'
 			'You are out of condoms.'
 		end
 		end
 	end
 	end
-	
+
 	act'Check your birth control pills':
 	act'Check your birth control pills':
 		if mc_inventory['contraceptive_pill'] > 0 or pillsleft[ptype] > 0:
 		if mc_inventory['contraceptive_pill'] > 0 or pillsleft[ptype] > 0:
 			if $locclass = 'bedr':
 			if $locclass = 'bedr':
@@ -469,7 +346,7 @@ if $ARGS[0] = 'studying_exam':
 		'Your pain a constantly bothering and it makes it harder to study.'
 		'Your pain a constantly bothering and it makes it harder to study.'
 	end
 	end
 	*nl
 	*nl
- 	study_mod = max(0,rand(30 + study_mod,pcs_intel + study_mod)/33)
+	study_mod = max(0,rand(30 + study_mod,pcs_intel + study_mod)/33)
 	if no_study = 1:
 	if no_study = 1:
 		'You try to study for half an hour, but gets nothing done.'
 		'You try to study for half an hour, but gets nothing done.'
 	else
 	else
@@ -481,12 +358,12 @@ if $ARGS[0] = 'studying_exam':
 			'You study for half an hour, and think you are doing good progress in getting ready for the exam.'
 			'You study for half an hour, and think you are doing good progress in getting ready for the exam.'
 		else
 		else
 			'You study for half an hour, and think you are improving a lot.'
 			'You study for half an hour, and think you are improving a lot.'
-		end		
+		end
 		gs 'grades', 'grade_award', '<<$ARGS[1]>>', '<<$ARGS[2]>>', study_mod
 		gs 'grades', 'grade_award', '<<$ARGS[1]>>', '<<$ARGS[2]>>', study_mod
 	end
 	end
-	
+
 	gs 'stat'
 	gs 'stat'
-	
+
 	killvar 'study_mod'
 	killvar 'study_mod'
 	killvar 'nod_study'
 	killvar 'nod_study'
 
 

+ 2 - 2
locations/tabhead.qsrc

@@ -6,9 +6,9 @@ trwidth = 90 / tabscount
 i = 0
 i = 0
 :tabs_loop
 :tabs_loop
 if ARGS[0] = i:
 if ARGS[0] = i:
-	'<th width="<<trwidth>>%"><<$tabsname[i]>></th>'
+	*p '<th width="<<trwidth>>%"><<$tabsname[i]>></th>'
 else
 else
-	'<th width="<<trwidth>>%"><a href="exec:<<$tabsaction[i]>>"><<$tabsname[i]>></a></th>'
+	*p '<th width="<<trwidth>>%"><a href="exec:<<$tabsaction[i]>>"><<$tabsname[i]>></a></th>'
 end
 end
 i = i + 1
 i = i + 1
 if i < tabscount:
 if i < tabscount:

+ 1 - 1
locations/uni_dorm.qsrc

@@ -562,7 +562,7 @@ if $ARGS[0] = 'dorm_room':
 	'<center><b>Your room</b></center>'
 	'<center><b>Your room</b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/dorm_room/room.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/dorm_room/room.jpg"></center>'
 	'This is the dorm room you share with Vika.'
 	'This is the dorm room you share with Vika.'
-	'Your <a href="exec:gt ''bed'',''start''">bed</a> is positioned in one of the corners of the room. Your <a href="exec:gt ''stol'' ,''stolPar''">desk</a> sits at the foot of it.'
+	'Your <a href="exec:gt ''bed'',''start''">bed</a> is positioned in one of the corners of the room. Your <a href="exec:gt ''stol'' ,''start''">desk</a> sits at the foot of it.'
 	if $ml_guitar['location'] = $loc: 'Your guitar rests on its stand next to your bed.'
 	if $ml_guitar['location'] = $loc: 'Your guitar rests on its stand next to your bed.'
 	if mc_inventory['mag_porn'] > 0:'You''ve hidden your porn magazines under the mattress of your bed.'
 	if mc_inventory['mag_porn'] > 0:'You''ve hidden your porn magazines under the mattress of your bed.'
 	
 	

+ 0 - 1
validcallsfortesting.txt

@@ -9531,7 +9531,6 @@ stihi:
 stol:
 stol:
 stol:bc
 stol:bc
 stol:start
 stol:start
-stol:stolPar
 stol:strapon
 stol:strapon
 stol:studying
 stol:studying
 stol:studying_exam
 stol:studying_exam