Browse Source

[Code Changes] Added new function clothing_status to check if {mc} is wearing sports, dance clothing or nude. Minor quest log fixes.

Hooded Silence 8 months ago
parent
commit
6aef65228d
4 changed files with 19 additions and 4 deletions
  1. 8 0
      locations/core_library.qsrc
  2. 3 1
      locations/journal.qsrc
  3. 5 2
      locations/journal_quests.qsrc
  4. 3 1
      locations/obj_din.qsrc

+ 8 - 0
locations/core_library.qsrc

@@ -94,6 +94,14 @@ if $ARGS[0] = 'stage_title':
     
     
     !! npc location tracker - if tracking npc locations add them here.    
     !! npc location tracker - if tracking npc locations add them here.    
 end
 end
+
+!! clothing_status - fnct to determine clothing status
+
+if $ARGS[0] = 'clothing_status':
+    if $clothingworntype =  'nude': $apparel['status'] = 'nude'
+    if $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich':  $apparel['status'] = 'sport'
+    if $clothingworntype = 'ballet_secrets' and $shoeworntype = 'ballet_secrets':  $apparel['status'] = 'dance'
+end
     
     
 if $ARGS[0] = 'corridor':
 if $ARGS[0] = 'corridor':
     if frost > 0: frost = 0
     if frost > 0: frost = 0

+ 3 - 1
locations/journal.qsrc

@@ -469,7 +469,9 @@ end
 if $ARGS[0] = 'notestab':
 if $ARGS[0] = 'notestab':
 	$jumploc = 'notestab'
 	$jumploc = 'notestab'
 	gs 'journal', 'journalmenu'
 	gs 'journal', 'journalmenu'
-	'<center><h2>Notes</h2></center>'
+	'<center><h2>Notes</h2></center>' 
+
+	'Your Current Start is: ' + $start_type['cat']
 	'Create notes to keep track of any information you need.'
 	'Create notes to keep track of any information you need.'
 	*nl
 	*nl
 
 

+ 5 - 2
locations/journal_quests.qsrc

@@ -637,7 +637,7 @@ end
 if $start_type['cat'] = 'dancer' or (mod_ballet['letter'] > 0 or balletqw['school'] > 0):
 if $start_type['cat'] = 'dancer' or (mod_ballet['letter'] > 0 or balletqw['school'] > 0):
 	*nl
 	*nl
 	'<center><h3>Pushkin Ballet School</h3></center>'
 	'<center><h3>Pushkin Ballet School</h3></center>'
-
+	'<center><h4>Introit</h4></center>'
 	if mod_ballet['letter'] ! 1 and balletqw['school'] < 1:
 	if mod_ballet['letter'] ! 1 and balletqw['school'] < 1:
 		'You have been a ballerina since a child and you have excelled in your dance class. Your name was put forward for the yearly entrance assessments for the Pushkin Ballet School which are being held during the summer and you are hoping for a invitation to the prestigious Pushkin Ballet Academy to your dream of being a ballerina.'
 		'You have been a ballerina since a child and you have excelled in your dance class. Your name was put forward for the yearly entrance assessments for the Pushkin Ballet School which are being held during the summer and you are hoping for a invitation to the prestigious Pushkin Ballet Academy to your dream of being a ballerina.'
 	end
 	end
@@ -646,11 +646,14 @@ if $start_type['cat'] = 'dancer' or (mod_ballet['letter'] > 0 or balletqw['schoo
 		'Departure: 3rd July between 1600 and 1700.'
 		'Departure: 3rd July between 1600 and 1700.'
 		'Ensure you have sufficient toiletries and work on your appearance, physical and dance skills. Note this is a residental school in Pushkin and has strict rules, ensure you have wrapped up any unfinished business before departing.'
 		'Ensure you have sufficient toiletries and work on your appearance, physical and dance skills. Note this is a residental school in Pushkin and has strict rules, ensure you have wrapped up any unfinished business before departing.'
 	end
 	end
+	if balletqw['school'] > 1:
+		'<center><h4>Act 1: Dreaming of stars.</h4></center>'
+	end
 	if balletqw['school'] > 1:
 	if balletqw['school'] > 1:
 		!! 'You failed the course, there may be other opportunities if you want to achieve your ambition of being a ballerina.'
 		!! 'You failed the course, there may be other opportunities if you want to achieve your ambition of being a ballerina.'
 		'You have been accepted into the Pushkin Ballet School. End of Quest at present.'
 		'You have been accepted into the Pushkin Ballet School. End of Quest at present.'
 	elseif balletqw['school'] = 2:
 	elseif balletqw['school'] = 2:
-		'You got accepted into the without any noticeable distinction.'
+		'You was accepted into the without any noticeable distinction.'
 	elseif balletqw['school'] = 3:
 	elseif balletqw['school'] = 3:
 		'You brokered a deal with Randolph to get accepted into the school.'
 		'You brokered a deal with Randolph to get accepted into the school.'
 	elseif balletqw['school'] = 4:
 	elseif balletqw['school'] = 4:

+ 3 - 1
locations/obj_din.qsrc

@@ -261,8 +261,10 @@ if $ARGS[0] = 'description':
 	else
 	else
 		'Your friends call you <<$pcs_nickname>>.'
 		'Your friends call you <<$pcs_nickname>>.'
 	end
 	end
-	!!!
 
 
+	'Your start background is: ' + $start_type['cat']
+	!!!
+	*nl
 	if func('homes_properties', 'get_accessible_property_count') = 0:
 	if func('homes_properties', 'get_accessible_property_count') = 0:
 		'You have nowhere to live, if this is an error, you can set your current home <a href="exec:gs ''obj_din'', ''current_home''">here</a>.'
 		'You have nowhere to live, if this is an error, you can set your current home <a href="exec:gs ''obj_din'', ''current_home''">here</a>.'
 	elseif $home['current'] = '':
 	elseif $home['current'] = '':