Explorar o código

[fixed] pornstudio var

Lusticon hai 2 meses
pai
achega
83e5efd486
Modificáronse 3 ficheiros con 4 adicións e 4 borrados
  1. 2 2
      locations/city_redlight.qsrc
  2. 1 1
      locations/pornstudio.qsrc
  3. 1 1
      locations/tryndin.qsrc

+ 2 - 2
locations/city_redlight.qsrc

@@ -31,9 +31,9 @@ if $ARGS[0] = 'start':
 	else
 		'The strip club is closed for the day and will reopen at 18:00.'
 	end
-	if pornstudio = 1 and hour >= 10 and hour < 22:
+	if pornstudio > 0 and hour >= 10 and hour < 22:
 		'The <a href="exec:gt ''pornstudio'', ''start''">porn studio</a> is housed within one of the few warehouses that hasn''t been abandoned.'
-	elseif pornstudio = 1 and (hour < 10 or hour >= 22):
+	elseif pornstudio > 0 and (hour < 10 or hour >= 22):
 		'The porn studio is closed and will reopen at 10:00.'
 	end
 	if hour < 3 or hour >= 11: 

+ 1 - 1
locations/pornstudio.qsrc

@@ -1230,7 +1230,7 @@ if $ARGS[0] = '1':
 
 								act 'I understand':
 									*clr & cla
-									pornstudio = 3
+									pornstudio = 1
 									'<center><img <<$set_imgh>> src="images/locations/city/redlight/studio_porn/pierre_2.jpg"></center>'
 									'"Good girl. Now leave and stop wasting my time."'
                                     gt 'pornstudio', 'start'

+ 1 - 1
locations/tryndin.qsrc

@@ -31,7 +31,7 @@ if $ARGS[0] = 'stairwell_chat':
 		!this is going to go with model even if Sveta is a modelling pornstar in university
 		if hotcat >= 6 and model['status'] = 1:
 			act 'Tell him you are a Model': gt 'tryndin', 'model'
-		elseif film >= 1 and pornstudio = 1:
+		elseif film >= 1 and pornstudio > 0:
 			act 'Tell him you are a Pornstar': gt 'tryndin', 'pornstar'
 		elseif university['student'] = 1:
 			act 'Tell him you go to the University': gt 'tryndin', 'uni_student'