Parcourir la source

brothel.qsrc Section 2 warning function and requirements

Nekoforce il y a 2 ans
Parent
commit
2e252977b4
1 fichiers modifiés avec 15 ajouts et 4 suppressions
  1. 15 4
      locations/brothel.qsrc

+ 15 - 4
locations/brothel.qsrc

@@ -444,8 +444,12 @@ if $ARGS[0] = 'reception':
 		act 'Ask to get your hard earned wage': gt 'brothel', 'get_paid'
 	end
 
-	act 'First section':gt 'brothel','section1_lobby'
-	act 'Second section':gt 'brothel','section2_lobby'
+	act 'First section':gt 'brothel','section1_lobby'hotelWhore
+    if section_warn = 0:
+    	act 'Second section':gt 'brothel','section2_warning'
+    elseif:
+		act 'Second section':gt 'brothel','section2_lobby'
+    end
 	act 'Ask him to let you out': gt 'brothel', 'leave'
 end
 
@@ -1935,6 +1939,11 @@ if $ARGS[0] = 'dislike':
 	rageMeter += 20
 	gt 'brothel', 'section1_play'
 end
+      
+if $ARGS[0] = 'section2_warning':
+      section_warn =  1
+      act 'Proceed to the second section':gt 'brothel','section2_lobby'
+end
 
 if $ARGS[0] = 'section2_lobby':
 	$menu_loc = 'brothel'
@@ -1946,8 +1955,9 @@ if $ARGS[0] = 'section2_lobby':
 	'The section 2 lobby. This lobby is quite small, offering only enough room for a couch and a small table.'
 	'Only a single room is attached to the lobby by a wide door.Judging by the state of the floor, a lot of heavy equipment is regularly dragged in and out.'
 	'One of the doors also leads to a <a href="exec:gt ''brothel'', ''brothel_dressingroom'',''2''">room</a> made for the girls. '
-	if (klismaday = daystart and (pcs_leghair <= 3 or pcs_pubes <= 3) and pcs_hairbsh = 1 and pcs_makeup >= 1 and pcs_lipbalm >= 1 and $pantyworntype = 'none' and $clothingworntype = 'nude' and (cumloc[1] = 0 and cumloc[4] = 0 and cumloc[8] = 0 and cumloc[9] = 0 and cumloc[10] = 0 and cumloc[11] = 0 and cumloc[15] = 0 and cumloc[16] = 0 and cumloc[17] = 0) and pcs_sweat < 40 and alko > 3):
-		!!act 'Get in the cage': gt 'brothel', 'section1_cage'
+	if (klismaday = daystart and (pcs_leghair <= 3 or pcs_pubes <= 3) and pcs_hairbsh = 1 and pcs_makeup >= 1 and pcs_lipbalm >= 1 and $pantyworntype = 'none' and $clothingworntype = 'nude' and (cumloc[1] = 0 and cumloc[4] = 0 and cumloc[8] = 0 and cumloc[9] = 0 and cumloc[10] = 0 and cumloc[11] = 0 and cumloc[15] = 0 and cumloc[16] = 0 and cumloc[17] = 0) and pcs_sweat < 40 and alko < 3 and StrongNarkota = 0 or jointhigh = 0):
+      	act 'Party with a client': gt 'brothel', 'section2_party'
+      	act 'Have a bender': gt 'brothel', 'section2_bender'
 	else
 		'To be able to get working, you need to:'
 		if pcs_sweat >= 40: '- have a shower.'
@@ -1961,6 +1971,7 @@ if $ARGS[0] = 'section2_lobby':
 		if $pantyworntype ! 'none': '- remove your panties.'
 		if $clothingworntype ! 'nude': '- strip off your clothes.'
       	if alko > 3: - be not drunk
+      	if StrongNarkota > 0 or jointhigh > 0: - be sober
 	end
 	act 'Go to the girl''s room':gt 'brothel', 'brothel_dressingroom', '2'
 	act 'Go to the reception': gt 'brothel', 'reception'