Sfoglia il codice sorgente

Add basics for journal. Now the journal file will make a call for a function that generates the text. Only the quest files need to be updated then.

HotMike 1 anno fa
parent
commit
d99d8aefb9

+ 8 - 7
locations/anushka_konstantinov_schedule.qsrc

@@ -137,16 +137,17 @@ if $ARGS[0] = 'journal':
 	$anushka_konstantinov_schedule_journal = ''
 	! City quest 
 	if anushkaCityQW['first_visit'] = 0:
-		$anushka_konstantinov_schedule_journal += 'You don''t know where she lives but you likely know her as you went to school with her.'
+		$anushka_konstantinov_schedule_journal & 'You don''t know where she lives but you likely know her as you went to school with her.'
 	elseif anushkaCityQW['first_visit'] = 1:
-		anushka_konstantinov_schedule_journal += 'You have been told where her apartment in they city is but you have not been there.'
+		$anushka_konstantinov_schedule_journal & 'She told you where her apartment in they city is but you have not been there with her.'
 	elseif anushkaCityQW['first_visit'] >= 2:
-		anushka_konstantinov_schedule_journal += 'You have visit her apartment before, you should visit her again.'
+		$anushka_konstantinov_schedule_journal & 'You have visited her at her apartment, you should visit her again.'
 	end
-	anushka_konstantinov_schedule_journal += '<BR />'
-	if 
-	! Kiss
-	! kisses < 5 'I think Anushka is really pretty and I would like to be more than just friends with her. Maybe I should try kissing her in bed, until she is ready to do more than just kiss.'
+	!anushka_konstantinov_schedule_journal & *nl
+	if anushkaQW['kiss'] <= 5:
+		$anushka_konstantinov_schedule_journal & 'I think Anushka is really pretty and I would like to be more than just friends with her. Maybe I should try kissing her in bed, until she is ready to do more than just kiss.'
+	elseif anushkaQW['kiss'] <= 5:
+		$anushka_konstantinov_schedule_journal & 'Anushka is really pretty, I think I definitely want to go further than kissing with her.'
 	end
 
 end

+ 8 - 0
locations/journal_quests.qsrc

@@ -593,5 +593,13 @@ if yearstart > 1 and university['enrolled_in_semester'] > university['semester_p
 	end
 end
 
+! Start of City quests
+if yearstart > 1:
+	'<center><h3>Anushka Konstantinov</h3></center>'
+	!*nl
+	gs 'anushka_konstantinov_schedule', 'journal'
+	$anushka_konstantinov_schedule_journal
+end
+
 --- journal_quests ---------------------------------