1
0
Quellcode durchsuchen

[added] Menu variables for N

KevinSmarts vor 5 Jahren
Ursprung
Commit
55018811ee

+ 3 - 0
locations/NatBelGo.qsrc

@@ -1,4 +1,7 @@
 # NatBelGo
 # NatBelGo
+
+menu_off = 1
+
 gs 'stat'
 gs 'stat'
 '<center><b><font color="maroon"><<$npc_firstname[''A16'']>> <<$npc_lastname[''A16'']>></font></b></center>'
 '<center><b><font color="maroon"><<$npc_firstname[''A16'']>> <<$npc_lastname[''A16'']>></font></b></center>'
 '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/head/16.jpg"></center>'
 '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/head/16.jpg"></center>'

+ 1 - 0
locations/NatBelHome.qsrc

@@ -1,6 +1,7 @@
 # NatBelHome
 # NatBelHome
 
 
 $location_type = 'indoors'
 $location_type = 'indoors'
+menu_off = 1
 CLOSE ALL
 CLOSE ALL
 if BeInNatBelHome = 0:BeInNatBelHome = 1
 if BeInNatBelHome = 0:BeInNatBelHome = 1
 
 

+ 1 - 3
locations/NatBelVhod.qsrc

@@ -1,9 +1,7 @@
 # NatBelVhod
 # NatBelVhod
 CLOSE ALL
 CLOSE ALL
 
 
-cla
-clr
-
+menu_off = 1
 if BeInNatBelHome = 0:BeInNatBelHome = 1
 if BeInNatBelHome = 0:BeInNatBelHome = 1
 gs'stat'
 gs'stat'
 
 

+ 11 - 4
locations/NewCloShop.qsrc

@@ -4,6 +4,9 @@ $location_type = 'event'
 if $ARGS[0] = 'start':
 if $ARGS[0] = 'start':
 	$metka = 'start'
 	$metka = 'start'
 	$loc = 'NewCloShop'
 	$loc = 'NewCloShop'
+	$menu_loc = 'NewCloShop'
+	$menu_arg = 'start'
+	menu_off = 0
 	gs 'stat'
 	gs 'stat'
 
 
 	gs 'themes', 'indoors'
 	gs 'themes', 'indoors'
@@ -29,7 +32,8 @@ end
 if $ARGS[0] = 'clothes':
 if $ARGS[0] = 'clothes':
 	$metka = 'clothes'
 	$metka = 'clothes'
 	$loc = 'NewCloShop'
 	$loc = 'NewCloShop'
-	cls
+	menu_off = 1
+	*clr & cla
 	gs'stat'
 	gs'stat'
 	'<center><b><font color="maroon">Viewing Fashionista clothing</font></b></center>'
 	'<center><b><font color="maroon">Viewing Fashionista clothing</font></b></center>'
 	*nl
 	*nl
@@ -71,7 +75,8 @@ end
 if $ARGS[0] = 'panties':
 if $ARGS[0] = 'panties':
 	$metka = 'panties'
 	$metka = 'panties'
 	$loc = 'NewCloShop'
 	$loc = 'NewCloShop'
-	cls
+	menu_off = 1
+	*clr & cla
 	gs'stat'
 	gs'stat'
 
 
 	act 'Return':
 	act 'Return':
@@ -103,7 +108,8 @@ end
 if $ARGS[0] = 'bras':
 if $ARGS[0] = 'bras':
 	$metka = 'bras'
 	$metka = 'bras'
 	$loc = 'NewCloShop'
 	$loc = 'NewCloShop'
-	cls
+	menu_off = 1
+	*clr & cla
 	gs'stat'
 	gs'stat'
 
 
 	act 'Return':
 	act 'Return':
@@ -134,7 +140,8 @@ end
 if $ARGS[0] = 'purses':
 if $ARGS[0] = 'purses':
 	$metka = 'purses'
 	$metka = 'purses'
 	$loc = 'NewCloShop'
 	$loc = 'NewCloShop'
-	cls
+	menu_off = 1
+	*clr & cla
 	gs'stat'
 	gs'stat'
 
 
 	act 'Return':
 	act 'Return':

+ 2 - 0
locations/NikoDates.qsrc

@@ -1,5 +1,7 @@
 # NikoDates
 # NikoDates
 
 
+menu_off = 1
+
 if $ARGS[0] = 'Date 1_1':
 if $ARGS[0] = 'Date 1_1':
 	cls
 	cls
 	NikoDate_Day = daystart
 	NikoDate_Day = daystart

+ 2 - 0
locations/NikoDreams.qsrc

@@ -1,5 +1,7 @@
 # NikoDreams
 # NikoDreams
 
 
+menu_off = 1
+
 if $ARGS[0] =  'Family':
 if $ARGS[0] =  'Family':
 	cls
 	cls
 	pcs_hairbsh = 0
 	pcs_hairbsh = 0

+ 1 - 0
locations/NikoEv.qsrc

@@ -1,6 +1,7 @@
 # NikoEv
 # NikoEv
 
 
 !! Nikolai Niko Volkov Romance  numnpc = 61  npc_rel['A189'] !!
 !! Nikolai Niko Volkov Romance  numnpc = 61  npc_rel['A189'] !!
+menu_off = 1
 
 
 if $ARGS[0] = 'Intro':
 if $ARGS[0] = 'Intro':
 	cls
 	cls

+ 2 - 0
locations/NikoEv2.qsrc

@@ -1,5 +1,7 @@
 # NikoEv2
 # NikoEv2
 
 
+menu_off = 1
+
 if $ARGS[0] =  'Park':
 if $ARGS[0] =  'Park':
 	cls
 	cls
 	if pav_sex < 230:pav_sex = 250
 	if pav_sex < 230:pav_sex = 250

+ 2 - 0
locations/NikoPayback.qsrc

@@ -1,5 +1,7 @@
 # NikoPayback
 # NikoPayback
 
 
+menu_off = 1
+
 if $ARGS[0] = 'Payback':
 if $ARGS[0] = 'Payback':
 	cls
 	cls
 	NikoPayback_Day = daystart
 	NikoPayback_Day = daystart

+ 2 - 0
locations/NikoSlut.qsrc

@@ -1,5 +1,7 @@
 # NikoSlut
 # NikoSlut
 
 
+menu_off = 1
+
 if $ARGS[0] = 'Customers':
 if $ARGS[0] = 'Customers':
 	if NikoSlut = 2 and NikoDiner > 0:
 	if NikoSlut = 2 and NikoDiner > 0:
 		NikoCust = rand(1,16)
 		NikoCust = rand(1,16)

+ 8 - 10
locations/NormPR.qsrc

@@ -2,12 +2,11 @@
 $location_type = 'event'
 $location_type = 'event'
 
 
 if $ARGS[0] = '1':
 if $ARGS[0] = '1':
-	$metka = $ARGS[0]
-	$loc = $CURLOC
+	$metka = ''
+	$loc = 'NormPR'
+	menu_off = 1
 
 
-	cla
-	clr
-	*clr
+	*clr & cla
 	prosti = 0
 	prosti = 0
 	protect = 1
 	protect = 1
 	gs'stat'
 	gs'stat'
@@ -36,12 +35,11 @@ if $ARGS[0] = '1':
 end
 end
 
 
 if $ARGS[0] = '2':
 if $ARGS[0] = '2':
-	$metka = $ARGS[0]
-	$loc = $CURLOC
+	$metka = ''
+	$loc = 'NormPR'
+	menu_off = 1
 
 
-	cla
-	clr
-	*clr
+	*clr & cla
 	prosti = 0
 	prosti = 0
 	gs'stat'
 	gs'stat'
 
 

+ 12 - 3
locations/Nudelake.qsrc

@@ -27,6 +27,7 @@ end
 if temper >= 15 and month >= 5 and month <= 9:
 if temper >= 15 and month >= 5 and month <= 9:
 	if ARRSIZE('swimwear') > 0 and $clothingworntype ! 'swimwear':
 	if ARRSIZE('swimwear') > 0 and $clothingworntype ! 'swimwear':
 		act'Change into your swimwear':
 		act'Change into your swimwear':
+			menu_off = 1
 			cla
 			cla
 			*clr
 			*clr
 			minut+=5
 			minut+=5
@@ -49,6 +50,7 @@ end
 if temper >= 15 and month >= 5 and month <= 9:
 if temper >= 15 and month >= 5 and month <= 9:
 	if $clothingworntype ! 'nude':
 	if $clothingworntype ! 'nude':
 		act'Take off your clothes':
 		act'Take off your clothes':
+			menu_off = 1
 			if pcs_inhib > 30:
 			if pcs_inhib > 30:
 				cla
 				cla
 				*clr
 				*clr
@@ -107,7 +109,10 @@ end
 
 
 if $ARGS[0] = 'voleybol':
 if $ARGS[0] = 'voleybol':
 	$location_type = 'event_outdoors'
 	$location_type = 'event_outdoors'
-	cls
+	$menu_loc = 'Nudelake'
+	$menu_arg = 'voleybol'
+	menu_off = 0
+	*clr & cla
 	minut += 1
 	minut += 1
 	'<center><img <<$set_imgh>> src="images/locations/city/residential/lake/voleybol.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/residential/lake/voleybol.jpg"></center>'
 	'You go to the volleyball court.'
 	'You go to the volleyball court.'
@@ -116,6 +121,7 @@ if $ARGS[0] = 'voleybol':
 	act 'Leave':gt 'Nudelake'
 	act 'Leave':gt 'Nudelake'
 
 
 	act 'Play':
 	act 'Play':
+		menu_off = 1
 		cla
 		cla
 		*clr
 		*clr
 		agil_exp += 1
 		agil_exp += 1
@@ -132,11 +138,12 @@ end
 
 
 if $ARGS[0] = 'zagarat':
 if $ARGS[0] = 'zagarat':
 	$location_type = 'event_outdoors'
 	$location_type = 'event_outdoors'
-	cls
+	*clr & cla
 	minut += 30
 	minut += 30
 	if pcs_sweat < 35 : pcs_sweat += 5
 	if pcs_sweat < 35 : pcs_sweat += 5
 	inhib_exp += rand(1,3)
 	inhib_exp += rand(1,3)
 	pcs_mood += 5
 	pcs_mood += 5
+	menu_off = 1
 	gs 'stat'
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/city/residential/lake/nudezagarat.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/residential/lake/nudezagarat.jpg"></center>'
 
 
@@ -161,6 +168,7 @@ end
 
 
 if $ARGS[0] = 'swim':
 if $ARGS[0] = 'swim':
 	$location_type = 'event_outdoors'
 	$location_type = 'event_outdoors'
+	menu_off = 0
 	cla
 	cla
 	*clr
 	*clr
 	pcs_makeup = 1
 	pcs_makeup = 1
@@ -185,7 +193,8 @@ end
 
 
 if $ARGS[0] = 'smotr':
 if $ARGS[0] = 'smotr':
 	$location_type = 'event_outdoors'
 	$location_type = 'event_outdoors'
-	cls
+	menu_off = 0
+	*clr & cla
 	minut += 30
 	minut += 30
 	gs 'stat'
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/city/residential/lake/voleybol.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/residential/lake/voleybol.jpg"></center>'

+ 2 - 1
locations/narkopriton.qsrc

@@ -1,8 +1,9 @@
 # narkopriton
 # narkopriton
 
 
-cls
+*clr & cla
 gs 'stat'
 gs 'stat'
 gs 'themes', 'indoors'
 gs 'themes', 'indoors'
+menu_off = 1
 '<center><b>Local drug den</b></center>'
 '<center><b>Local drug den</b></center>'
 '<center><img <<$set_imgh>> src="images/locations/city/residential/den/narkopriton.jpg"></center>'
 '<center><img <<$set_imgh>> src="images/locations/city/residential/den/narkopriton.jpg"></center>'
 'A local drug den, where you know addicts come to buy and use heroin in peace.'
 'A local drug den, where you know addicts come to buy and use heroin in peace.'

+ 3 - 0
locations/nastja.qsrc

@@ -1,4 +1,7 @@
 # nastja
 # nastja
+
+menu_off = 1
+
 if $ARGS[0] = 'pos1':
 if $ARGS[0] = 'pos1':
 	cla
 	cla
 	*clr
 	*clr

+ 2 - 0
locations/nogorslut.qsrc

@@ -1,5 +1,7 @@
 # nogorslut
 # nogorslut
 
 
+menu_off = 1
+
 if pav_slut < 125:
 if pav_slut < 125:
 	if pcs_apprnc/8 = 0:
 	if pcs_apprnc/8 = 0:
 		npc_rel[$static_num] += 1
 		npc_rel[$static_num] += 1

+ 33 - 15
locations/nordtrain.qsrc

@@ -1,12 +1,15 @@
 # nordtrain
 # nordtrain
 
 
 if $ARGS[0] = 'inside':
 if $ARGS[0] = 'inside':
-	$metka = $ARGS[0]
-	$loc = $CURLOC
+	$metka = 'inside'
+	$loc = 'nordtrain'
+	$menu_loc = 'nordtrain'
+	$menu_arg = 'inside'
+	menu_off = 0
 	$location_type = 'public_indoors'
 	$location_type = 'public_indoors'
 	CLOSE ALL
 	CLOSE ALL
 	if sound = 0:PLAY 'sound/vokzal.mp3',30
 	if sound = 0:PLAY 'sound/vokzal.mp3',30
-	cls
+	*clr & cla
 	gs'stat'
 	gs'stat'
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/vokzalholle.jpg" ></center>'
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/vokzalholle.jpg" ></center>'
 	'There is a <a href="exec:GT ''dort''">path</a> leading off in to the distance, in the direction of the lake.'
 	'There is a <a href="exec:GT ''dort''">path</a> leading off in to the distance, in the direction of the lake.'
@@ -22,10 +25,13 @@ if $ARGS[0] = 'inside':
 end
 end
 
 
 if $ARGS[0] = 'outside':
 if $ARGS[0] = 'outside':
-	$metka = $ARGS[0]
-	$loc = $CURLOC
+	$metka = 'outside'
+	$loc = 'nordtrain'
+	$menu_loc = 'nordtrain'
+	$menu_arg = 'inside'
+	menu_off = 0
 	$location_type = 'public_outdoors'
 	$location_type = 'public_outdoors'
-	cls
+	*clr & cla
 	gs'stat'
 	gs'stat'
 	'<center><B>Railway station</B></center>'
 	'<center><B>Railway station</B></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/vokzal.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/vokzal.jpg"></center>'
@@ -48,10 +54,13 @@ if $ARGS[0] = 'outside':
 end
 end
 
 
 if $ARGS[0] = 'platform':
 if $ARGS[0] = 'platform':
-	$metka = $ARGS[0]
-	$loc = $CURLOC
+	$metka = 'platform'
+	$loc = 'nordtrain'
+	$menu_loc = 'nordtrain'
+	$menu_arg = 'inside'
+	menu_off = 0
 	$location_type = 'public_outdoors'
 	$location_type = 'public_outdoors'
-	cls
+	*clr & cla
 	gs 'stat'
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzalper.jpg" ></center>'
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzalper.jpg" ></center>'
 	'When you arrive at the platform, you can''t help but notice it bustling with activity. Lots of passengers are coming and going, all carrying large bags. It feels like it is always busy here, no matter at what time of the day you are here.'
 	'When you arrive at the platform, you can''t help but notice it bustling with activity. Lots of passengers are coming and going, all carrying large bags. It feels like it is always busy here, no matter at what time of the day you are here.'
@@ -72,10 +81,13 @@ if $ARGS[0] = 'platform':
 end
 end
 
 
 if $ARGS[0] = 'toilet':
 if $ARGS[0] = 'toilet':
-	$metkaM = $ARGS[0]
-	$locM = $CURLOC
-	$metka = $ARGS[0]
-	$loc = $CURLOC
+	$metkaM = 'toilet'
+	$locM = 'nordtrain'
+	$metka = 'toilet'
+	$loc = 'nordtrain'
+	$menu_loc = 'nordtrain'
+	$menu_arg = 'inside'
+	menu_off = 0
 	$location_type = 'bathroom'
 	$location_type = 'bathroom'
 	
 	
 	*clr & cla
 	*clr & cla
@@ -97,7 +109,8 @@ if $ARGS[0] = 'toilet':
 end
 end
 
 
 if $ARGS[0] = 'ticket':
 if $ARGS[0] = 'ticket':
-	cls
+	menu_off = 1
+	*clr & cla
 	gs 'stat'
 	gs 'stat'
 	'<center><h4>Ticket office</h4></center>'
 	'<center><h4>Ticket office</h4></center>'
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg"></center>'
@@ -173,7 +186,8 @@ end
 if $ARGS[0] = 'centre':
 if $ARGS[0] = 'centre':
 	$loc = 'cityTrain'
 	$loc = 'cityTrain'
 	$metka = 'inside'
 	$metka = 'inside'
-	cls
+	menu_off = 1
+	*clr & cla
 	minut += 5
 	minut += 5
 	gs 'stat'
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/electri.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/electri.jpg"></center>'
@@ -189,6 +203,7 @@ end
 if $ARGS[0] = 'communal':
 if $ARGS[0] = 'communal':
 	$loc = 'train'
 	$loc = 'train'
 	$metka = 'communal'
 	$metka = 'communal'
+	menu_off = 1
 	minut += 10
 	minut += 10
 	if rand(1, 100) < 20: gt 'train', 'events'
 	if rand(1, 100) < 20: gt 'train', 'events'
 	gs 'stat'
 	gs 'stat'
@@ -203,6 +218,7 @@ end
 if $ARGS[0] = 'village':
 if $ARGS[0] = 'village':
 	$loc = 'train'
 	$loc = 'train'
 	$metka = 'village'
 	$metka = 'village'
+	menu_off = 1
 	minut += 20
 	minut += 20
 	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
 	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
 	if rand(1, 100) < 20: gt 'train', 'events'
 	if rand(1, 100) < 20: gt 'train', 'events'
@@ -218,6 +234,7 @@ end
 if $ARGS[0] = 'oldtown':
 if $ARGS[0] = 'oldtown':
 	$loc = 'train'
 	$loc = 'train'
 	$metka = 'oldtown'
 	$metka = 'oldtown'
+	menu_off = 1
 	minut += 30
 	minut += 30
 	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
 	if rand(1, 100) <= 10: gt 'train_incidental', 'events'
 	if rand(1, 100) < 20: gt 'train', 'events'
 	if rand(1, 100) < 20: gt 'train', 'events'
@@ -233,6 +250,7 @@ end
 if $ARGS[0] = 'pavlovsk':
 if $ARGS[0] = 'pavlovsk':
 	$loc = 'pavtrainhall'
 	$loc = 'pavtrainhall'
 	$metka = 'platform'
 	$metka = 'platform'
+	menu_off = 1
 	minut += 35
 	minut += 35
 	if rand(1, 100) < 15: gt 'train', 'private'
 	if rand(1, 100) < 15: gt 'train', 'private'
 	if rand(1, 100) < 30: gt 'train', 'Gopnik'
 	if rand(1, 100) < 30: gt 'train', 'Gopnik'

+ 1 - 0
locations/noticeboard.qsrc

@@ -2,6 +2,7 @@
 !! use gs 'noticeboard','start'
 !! use gs 'noticeboard','start'
 $location_type = 'public_indoors'
 $location_type = 'public_indoors'
 if $ARGS[0] = 'start':
 if $ARGS[0] = 'start':
+	menu_off = 1
 	gs 'saveposition'
 	gs 'saveposition'
 	gt 'noticeboard','look'
 	gt 'noticeboard','look'
 end
 end

+ 4 - 0
locations/nyp_school.qsrc

@@ -3,6 +3,9 @@
 if $ARGS[0] = 'start':
 if $ARGS[0] = 'start':
 	alkoblock = 1
 	alkoblock = 1
 	killvar 'nyp_day'
 	killvar 'nyp_day'
+	$menu_loc = 'nyp_school'
+	$menu_arg = 'start'
+	menu_off = 0
 	*clr & cla
 	*clr & cla
 	gs 'stat'
 	gs 'stat'
 	if music_on = 1:
 	if music_on = 1:
@@ -23,6 +26,7 @@ if $ARGS[0] = 'start':
 		fat += 3
 		fat += 3
 		pcs_energy += 40
 		pcs_energy += 40
 		pcs_hydra += 60
 		pcs_hydra += 60
+		menu_off = 1
 		gs 'stat'
 		gs 'stat'
 		if music_on = 1:
 		if music_on = 1:
 			$track_loop = 'sound/newyear.mp3'
 			$track_loop = 'sound/newyear.mp3'