Browse Source

[added] $location_type to the school files + [fixed] a pcs_mood boost in gschool_lessons2

Sicaa 4 years ago
parent
commit
49198ce013

+ 1 - 0
locations/gschool_boys_bathroom.qsrc

@@ -2,6 +2,7 @@
 
 !!This bathroom file is for the bathroom scenes when Sveta is skiping class
 if $ARGS[0] = 'start':
+	$location_type = 'public_indoors'
 	*clr & cla
 	$menu_loc = 'gschool_boys_bathroom'
 	$menu_arg = 'start'

+ 1 - 0
locations/gschool_break.qsrc

@@ -3,6 +3,7 @@
 $loc = 'gschool_break'
 $locM = 'gschool_break'
 $menu_loc = 'gschool_break'
+$location_type = 'public_indoors'
 
 if $ARGS[0] = 'watercooler':
 	*clr & cla

+ 2 - 0
locations/gschool_lessons.qsrc

@@ -4,6 +4,7 @@ if $ARGS[0] = 'morning':
 	*clr & cla
 	$menu_loc = 'gschool_lessons'
 	$menu_arg = 'morning'
+	$location_type = 'public_indoors'
 	menu_off = 0
 	
 	if school_check_day ! daystart:
@@ -304,6 +305,7 @@ if $ARGS[0] = 'skip':
 	*clr & cla
 	$menu_loc = 'gschool_lessons'
 	$menu_arg = 'skip'
+	$location_type = 'public_indoors'
 	menu_off = 0
 	killvar '$breaktype'
 	gs 'stat'

+ 1 - 1
locations/gschool_lessons2.qsrc

@@ -412,7 +412,7 @@ if $ARGS[0] = 'computer':
 	act 'Play with your phone':
 		*clr & cla
 		pcs_grades -= rand(0,1)
-		mood +10
+		pcs_mood += 10
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/classroom/phone.jpg"></center>'
 		'The lesson is so boring that you have to do something to keep yourself entertained. You take out your phone and begin to play a mobile game, hoping the lesson will be over soon.'
 		playphone = rand(1,2)

+ 1 - 0
locations/gschool_lessons4.qsrc

@@ -1838,6 +1838,7 @@ if $ARGS[0] = 'post_dress':
 	$locM = 'gschool_lessons4'
 	$menu_loc = 'gschool_lessons4'
 	$menu_arg = 'post_dress'
+	$location_type = 'bathroom'
 	menu_off = 0
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/gym/postphys<<rand(1,4)>>.jpg"></center>'

+ 2 - 0
locations/gschool_lunch.qsrc

@@ -40,6 +40,7 @@ if $ARGS[0] = 'cafeteria':
 	$metka = 'cafeteria'
 	$menu_loc = 'gschool_lunch'
 	$menu_arg = 'cafeteria'
+	$location_type = 'public_indoors'
 	menu_off = 0
 	minut += 10
 	gs 'stat'
@@ -102,6 +103,7 @@ if $ARGS[0] = 'break':
 	*clr & cla
 	$menu_loc = 'gschool_lunch'
 	$menu_arg = 'break'
+	$location_type = 'public_indoors'
 	menu_off = 0
 	gs 'stat'
 	urand = rand(0,8)

+ 1 - 0
locations/gschool_socialchg.qsrc

@@ -740,6 +740,7 @@ end
 if $ARGS[0] = 'explore':
 	$menu_loc = 'gschool_socialchg'
 	$menu_arg = 'explore'
+	$location_type = 'public_indoors'
 	menu_off = 0
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/oldschool/gophangout/party/party.jpg"></center>'
 	'Once your story has been told and everyone took a drink or more of the vodka, the large crowd scatters around and smaller cliques have formed instead. Those left in the main office are <a href="exec:gt ''gschool_socialchg'', ''tVitek''">Vitek</a> and <a href="exec:gt ''gschool_socialchg'', ''tLavrenti''">Lavrenti</a> who are discussing something, while <a href="exec:gt ''gschool_socialchg'', ''tDan''">Dan</a> is sitting on the sofa with a drink in his hand carefully listening to the discussion.'