Przeglądaj źródła

[changed] only display boletus and bilberry basket amounts when inside gadyukino

sovietmercader 5 lat temu
rodzic
commit
1733d8b100

+ 2 - 0
locations/Gadhouse.qsrc

@@ -10,6 +10,7 @@ if $ARGS[0] = 'start':
 	menu_off = 0
 	$locclass = 'singleroom'
 	curr_home = 2
+	display_bb = 1
 	*clr & cla
 	frost = 0
 	mira_temp = rand(1,5)
@@ -537,6 +538,7 @@ if $ARGS[0] = 'intro':
 	$loc = 'Gadhouse'
 	$temp_nickname = '<<$npc_nickname[''A29'']>>'
 	monthbabkapay = month
+	display_bb = 1
 	menu_off = 1
 	hour = 6
 	gs 'stat'

+ 1 - 0
locations/korrPar.qsrc

@@ -24,6 +24,7 @@ boycherdaksex = 0
 minut += 1
 bonusZ = 0
 curr_home = 1
+display_bb = 0
 gs 'stat'
 gs 'themes', 'indoors'
 

+ 2 - 0
locations/road.qsrc

@@ -105,6 +105,8 @@ if $ARGS[0] = '':
 	elseif nroad = 9:
 		''
 	elseif nroad = 10:
+		display_bb = 1
+		gs 'stat'
 		'You see a <a href="exec:gt ''train'', ''village''">railway platform</a> not far from the road. In the same direction, a dirt road leads to the village of <a href="exec:minut += 30 & gt ''gadukino''">Gadukino</a>.'
 		!if npc_QW['A60'] > 15 and gadriver_gang = 2:
 		!	'You and Mira can both <a href="exec:gt ''gadprostitutes'', ''start''">prostitute</a> yourselves around here.'

+ 9 - 7
locations/stat_display.qsrc

@@ -1403,14 +1403,16 @@ proverka3 = 0
 proverka4 = 0
 proverka5 = 0
 
-if boletus + bilberry > 0:
-	if boletus + bilberry >= 10:
-		$stat_msg +='<br><font color = Olive>You have a full basket. </font> '
-	else
-		$stat_msg +='<br><font color = Olive>In Your basket: </font>'
+if display_bb = 1:
+	if boletus + bilberry > 0:
+		if boletus + bilberry >= 10:
+			$stat_msg +='<br><font color = Olive>You have a full basket. </font> '
+		else
+			$stat_msg +='<br><font color = Olive>In Your basket: </font>'
+		end
+		if boletus > 0:$stat_msg +='Mushrooms: <b><<boletus>></b> kg. '
+		if bilberry > 0:$stat_msg +='Berries: <b><<bilberry>></b> kg. '
 	end
-	if boletus > 0:$stat_msg +='Mushrooms: <b><<boletus>></b> kg. '
-	if bilberry > 0:$stat_msg +='Berries: <b><<bilberry>></b> kg. '
 end
 
 if disable_LoadSave = 0:

+ 1 - 0
locations/train.qsrc

@@ -149,6 +149,7 @@ if $ARGS[0] = 'village':
 	$metka = 'village'
 	$menu_loc = 'train'
 	$menu_arg = 'village'
+	display_bb = 0
 	menu_off = 0
 	
 	*clr & cla