Browse Source

Can leave Banya naked but have to go to grandparents house to dress

KevinSmarts 6 years ago
parent
commit
66edfac4e9
1 changed files with 35 additions and 26 deletions
  1. 35 26
      locations/Gaddvor

+ 35 - 26
locations/Gaddvor

@@ -48,37 +48,46 @@ if $ARGS[0]='':
 	else
 		'A fenced yard behind the house. The yard is surrounded by a small barn packed with junk and a separate building that is used as a banya where people take a bath. On the back porch there are a few chairs to sit in.'
 	end
-	if hour >= 6 and hour < 20 and month >= 4 and month <= 10:'In the yard there are <a href="exec:gt ''Gaddvor'',''chickens''">chickens</a> running around.'
 
-	if mira_guest = 1: Miraloc = 7 & 'Your friend <a href="exec: gt ''Miroslava'', ''Start''">Mira</a> stands next to you.'
 
+	if StoryLine = 1:
+		act 'Enter your grandparents'' house':minut += 5 & gt 'Gadhouse'
+		act 'Enter the banya':minut += 5 & gt 'Gadbana'
+	end
+	
+	if $wornclothingtype = 'nude':
+		*nl
+		'You are naked and can only go to your grandparents to get dressed or go to the banya.'
+	else
+		if hour >= 6 and hour < 20 and month >= 4 and month <= 10:'In the yard there are <a href="exec:gt ''Gaddvor'',''chickens''">chickens</a> running around.'
 
-	if StoryLine = 1: act 'Enter your grandparents'' house':minut += 5 & gt 'Gadhouse'
-	act 'Enter the barn':minut += 5 & gt 'Gadsarai'
-	act 'Enter the banya':minut += 5 & gt 'Gadbana'
-	act 'Enter garden':minut += 5 & gt'Gadgarden','garden'
-	if meadow > 0 and hour >= 6 and hour < 20 and month >= 4 and month <= 10:act 'Go to the meadow':minut += 20 & gt 'Meadow', 'start'
-	act '<b>Go to the village</b>':minut += 5 & gt 'gadukino'
+		if mira_guest = 1: Miraloc = 7 & 'Your friend <a href="exec: gt ''Miroslava'', ''Start''">Mira</a> stands next to you.'
 
-	!removed from 1.2.5
-	if hour >= 17 and hour < 20:
-		if mitkaday!daystart:'<a href="exec:gt ''mitka''">Mitka</a> is hanging out near the barn in your grandparents'' backyard, he is following you while taking a smoke.'
-	elseif hour >= 20 and mitkadaybuh ! daystart:
-		'Several <a href="exec:gt ''mitkabuh''">young men</a> are sitting near your grandparents'' backyard, drinking moonshine and talking loudly.'
-	end
-	!125s
-	mira_temp = rand(1,5)
-	if mira_temp = 3 and hour >= 9 and hour <= 19 and npc_rel['A60'] >= 15 and Mira_no = 0 and sunWeather = 1 and mira_guestday ! daystart and (npc_QW['A63'] < 13 or npc_QW['A60'] >= 10 or mirasex > 1):
-		*clr & cla
-		gs 'Miroslava', 'miraclothes'
-		'You went out into the yard and noticed Mira standing there.'
-		'"Oh, <<$pcs_nickname>> hi, hope you don’’t mind me visiting. I was bored being home alone." she said smiling.'
-		mira_guestday = daystart
-		minut += 5
-		mira_guest = 1
-		gs 'stat'
+		act 'Enter the barn':minut += 5 & gt 'Gadsarai'
+		act 'Enter garden':minut += 5 & gt'Gadgarden','garden'
+		if meadow > 0 and hour >= 6 and hour < 20 and month >= 4 and month <= 10:act 'Go to the meadow':minut += 20 & gt 'Meadow', 'start'
+		act '<b>Go to the village</b>':minut += 5 & gt 'gadukino'
 
-		 act 'Further':gt'Gaddvor'
+		!removed from 1.2.5
+		if hour >= 17 and hour < 20:
+			if mitkaday!daystart:'<a href="exec:gt ''mitka''">Mitka</a> is hanging out near the barn in your grandparents'' backyard, he is following you while taking a smoke.'
+		elseif hour >= 20 and mitkadaybuh ! daystart:
+			'Several <a href="exec:gt ''mitkabuh''">young men</a> are sitting near your grandparents'' backyard, drinking moonshine and talking loudly.'
+		end
+		!125s
+		mira_temp = rand(1,5)
+		if mira_temp = 3 and hour >= 9 and hour <= 19 and npc_rel['A60'] >= 15 and Mira_no = 0 and sunWeather = 1 and mira_guestday ! daystart and (npc_QW['A63'] < 13 or npc_QW['A60'] >= 10 or mirasex > 1):
+			*clr & cla
+			gs 'Miroslava', 'miraclothes'
+			'You went out into the yard and noticed Mira standing there.'
+			'"Oh, <<$pcs_nickname>> hi, hope you don’’t mind me visiting. I was bored being home alone." she said smiling.'
+			mira_guestday = daystart
+			minut += 5
+			mira_guest = 1
+			gs 'stat'
+
+			act 'Further':gt'Gaddvor'
+		end
 	end
 end