Browse Source

[fixed] blocked events that move the player into the parents apartment when Sveta isn't allowed to go there from julzor

KevinSmarts 3 years ago
parent
commit
a249dfc7d4
2 changed files with 3 additions and 3 deletions
  1. 1 1
      locations/gLakeNude.qsrc
  2. 2 2
      locations/glake.qsrc

+ 1 - 1
locations/gLakeNude.qsrc

@@ -106,7 +106,7 @@ if month >= 5 and month <= 9:
 			gs 'clothing', 'wear_last_worn'
 			gs 'underwear', 'wear'
 			nudelake = rand(1,10)
-			if nudelake <= 2:
+			if nudelake <= 2 and home_owned[2] = 1:
 				minut += 5
 				pcs_mood -= 5
 				gs 'exhibitionism', 4

+ 2 - 2
locations/glake.qsrc

@@ -120,14 +120,14 @@ if month >= 5 and month <= 9:
 			menu_off = 1
 			minut+=5
 			nudelake = rand(1,20)
-			if nudelake <= 3:
+			if nudelake <= 3 and home_owned[2] = 1:
 				minut += 5
 				pcs_mood -= 5
 				inhib_exp += rand(1,3)
 				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/lake/event/noclothes.jpg"></center>'
 				'You return to the place where you thought you put your clothes to get dressed... except you can''t find them. Oh crap, you can''t find them! You desperately search the beach for a while, while a few passers-by look amused at the naked girl running around the beach. When you can''t find them, you panic and run all the way home... hopefully they''ll turn up.'
 				act 'Run home naked': gt 'glake', 'nude_home'
-			elseif nudelake = 4:
+			elseif nudelake = 4 and home_owned[2] = 1:
 				minut += 5
 				pcs_mood -= 5
 				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/lake/event/nakedcar.jpg"></center>'