Browse Source

[added] Introduced npc_in_uni['Axx'] variables and set the variables correctly at the various starts. Still need to set them after at the start of year 2 for schoolgirl start.

anjuna krokus 8 months ago
parent
commit
ffb7c6de64

+ 1 - 0
glife.qproj

@@ -1017,6 +1017,7 @@
 		<Location name="uni_lessons_electivesev1"/>
 		<Location name="uni_events"/>
 		<Location name="uniutil"/>
+		<Location name="uni_set_npc_in_uni"/>
 	</Folder>
 	<Folder name="University Characters">
 		<Location name="vecher"/>

+ 4 - 0
locations/intro_initialization.qsrc

@@ -4,6 +4,10 @@
 !!	Top area for things that need to be done before setting the variables for either start
 year = 2016
 
+!! Set npc_in_uni variables for the standard uni NPCs
+gs 'uni_set_npc_in_uni', 'other'
+
+
 BDSMfilm = 0
 pornstudio = 0
 pfilmSTOP = 0

+ 8 - 0
locations/intro_initialization_city.qsrc

@@ -9,7 +9,15 @@ if mid($start_type,1,3) ! 'uni':
 	day = 4
 	week = 2
 	hour = 13
+	
+	!! Set npc_in_uni variables for the standard uni NPCs
+	gs 'uni_set_npc_in_uni', 'other'
+
+else
+	!! Set npc_in_uni variables for standard uni NPCs + pav uni NPCs
+	gs 'uni_set_npc_in_uni', 'all'
 end
+
 year = 2017
 
 BDSMfilm = 0

+ 63 - 0
locations/uni_set_npc_in_uni

@@ -0,0 +1,63 @@
+# uni_set_npc_in_uni
+
+if $ARGS[0] = 'all':
+    gs 'uni_set_npc_in_uni', 'pav'
+    gs 'uni_set_npc_in_uni', 'other'
+    
+elseif $ARGS[0] = 'pav':
+    npc_in_uni['A1']   = 1
+    npc_in_uni['A2']   = 1
+    npc_in_uni['A4']   = 1
+    npc_in_uni['A6']   = 1
+    npc_in_uni['A7']   = 1
+    npc_in_uni['A12']  = 1
+    npc_in_uni['A13']  = 1
+    npc_in_uni['A14']  = 1
+    npc_in_uni['A15']  = 1
+    npc_in_uni['A16']  = 1
+    npc_in_uni['A17']  = 1
+    npc_in_uni['A18']  = 1
+    npc_in_uni['A19']  = 1
+    npc_in_uni['A22']  = 1
+    npc_in_uni['A23']  = 1
+    npc_in_uni['A25']  = 1
+
+    npc_in_uni['A139'] = 1
+    npc_in_uni['A140'] = 1
+    npc_in_uni['A142'] = 1
+    npc_in_uni['A144'] = 1
+    npc_in_uni['A146'] = 1
+    npc_in_uni['A147'] = 1
+    npc_in_uni['A149'] = 1
+    npc_in_uni['A152'] = 1
+    npc_in_uni['A153'] = 1
+    npc_in_uni['A155'] = 1
+    npc_in_uni['A159'] = 1
+    npc_in_uni['A165'] = 1
+
+elseif $ARGS[0] = 'other':
+    npc_in_uni['A77']  = 1
+    npc_in_uni['A82']  = 1
+    npc_in_uni['A83']  = 1
+    npc_in_uni['A84']  = 1
+
+    npc_in_uni['A220'] = 1
+    npc_in_uni['A242'] = 1
+    npc_in_uni['A243'] = 1
+    npc_in_uni['A244'] = 1
+    npc_in_uni['A245'] = 1
+    npc_in_uni['A246'] = 1
+    npc_in_uni['A247'] = 1
+
+end
+
+
+
+
+
+
+
+
+
+
+--- uni_set_npc_in_uni ---------------------------------