1
0
Pārlūkot izejas kodu

Improve entrance logic, add counter of jobs

rachels 3 gadi atpakaļ
vecāks
revīzija
93b78a6d42
1 mainītis faili ar 10 papildinājumiem un 1 dzēšanām
  1. 10 1
      locations/mod_Ibiza_club.qsrc

+ 10 - 1
locations/mod_Ibiza_club.qsrc

@@ -1,6 +1,7 @@
 # mod_Ibiza_club
 CLOSE ALL
 !!needs a complete rework of the club
+
 if $ARGS[0] = 'start':
 	$loc = 'mod_Ibiza_club'
 	$loc_arg = 'start'
@@ -44,6 +45,9 @@ if $ARGS[0] = 'start':
 			elseif pcs_makeup = 1:
 				'You have to wear some makeup to start your work.'
 				act 'Continue':gt 'mod_Ibiza_club', 'start'
+			elseif pcs_makeup = 0:
+				'"Fix your makeup first, girl. You look horrible."'
+				act 'Continue':gt 'mod_Ibiza_club', 'start'
 			else
 				'He tells you that you are over-dressed, you need to wear something shorter, or much more daring if you want to work.'
 				act 'Continue':gt 'mod_Ibiza_club', 'start'
@@ -72,6 +76,10 @@ if $ARGS[0] = 'start':
 				cla
 				'The bouncer shakes his head. "At least wear some makeup, girl."'
 				act 'Continue':gt 'mod_Ibiza_club', 'start'
+			elseif pcs_makeup = 0:
+				cla
+				'The bouncer shakes his head. "Fix your makeup first, girl."'
+				act 'Continue':gt 'mod_Ibiza_club', 'start'
 			else
 				cla
 				'The bouncer shakes his head. "Don''t you have some sexy clothes?"'
@@ -113,7 +121,7 @@ if $ARGS[0] = 'inside':
 	end
 	
 	!!* if said no the first time option for it 30 days later
-	if ibiza_cooldown + 30 > daystart and rand(0,20) = 0 and ibizaday = daystart:
+	if ibiza_cooldown + 30 < daystart and rand(0,10) = 0 and ibizaday ! daystart and ibizaQW = 2 :
 		ibizaday = daystart
 		gt 'mod_IbizaStart', 'another time'
 	end
@@ -1230,6 +1238,7 @@ if $ARGS[0] = 'work':
 	*clr & cla
 	menu_off = 1
 	frost = 0
+	clubjob += 1 
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/city/citycenter/nightclub/club11.jpg"></center>'
 	if pcs_danc > 30: