Browse Source

[added] A new Hookah Lounge in the Red Light District in St. Petersburg

itslydiabxtch 1 year ago
parent
commit
f07694ee3e
4 changed files with 85 additions and 1 deletions
  1. 1 0
      glife.qproj
  2. 6 1
      locations/city_redlight.qsrc
  3. 65 0
      locations/hookahlounge.qsrc
  4. 13 0
      locations/npcstatic6.qsrc

+ 1 - 0
glife.qproj

@@ -934,6 +934,7 @@
 		<Location name="cfnm"/>
 		<Location name="stwork"/>
 		<Location name="stwork2"/>
+		<Location name="hookahlounge"/>	
 	</Folder>
 	<Folder name="City_Island">
 		<Location name="city_island"/>

+ 6 - 1
locations/city_redlight.qsrc

@@ -47,7 +47,12 @@ if $ARGS[0] = 'start':
 	else
 		'You see a small printing shop tucked away between two larger buildings. It is currently closed and will open at 10:00.'
 	end
-
+		if hour >= 19 or hour < 2:
+		'A <a href="exec:gt ''hookahlounge'', ''start''">Hookah Lounge</a> is on a corner, with Indian music streaming from an open door, with a scent of exotic spices.'
+	else 
+		'A <a href="exec:msg ''The Hookah Lounge is closed for now and will reopen at 19:00''">Hookah Lounge</a> is on a corner, but it''s currently closed.'
+	end
+	
 	act 'Walk to the Industrial Region (0:05)': minut += 5 & gt 'city_industrial'
 
 	act 'Wait':gs 'obj_din', 'wait'

+ 65 - 0
locations/hookahlounge.qsrc

@@ -0,0 +1,65 @@
+# hookahlounge
+!!background should be kind of dark, maybe #664d4d
+!!time should also pass on entering and leaving, maybe 1 or 2 minutes
+!!I intend on adding 2 NPCs, a Muslim woman and a man of undecided origin. Unclear at the moment on what their connection is.
+!!Possibility to unlock more drugs to take using the hookah as relationship with Muslim woman progresses.
+!!I have an idea to possibly enable Sveta to work at the Hookah Lounge in the future
+if $ARGS[0] = 'start':
+	*clr & cla
+	$loc = 'hookahlounge'
+	$loc_arg = 'start'	
+	$menu_loc = 'hookahlounge'
+	$menu_arg = 'start'
+	menu_off = 0
+	$location_type = 'public_indoors'
+	!!  if sound = 0: 
+	!!	end
+	gs 'themes', 'indoors'
+	gs 'stat'	
+	'<center><h1><font color="maroon">Hookah Lounge</font></h1></center>'
+	'<center><img <<$set_imgh>> src="images/locations/city/redlight/hookahlounge/HookahLounge.jpg"></center>'
+	!! smoking with hookah should have same effect as smoking cigarettes
+	'You enter the lounge'
+	act 'Leave the Lounge': minut += 1 & gt 'city_redlight', 'start'
+	act 'Go to counter': gt 'hookahlounge', 'Hookah_Aliyyah'
+	if smoketab = 1:
+		act 'Sit Down':  gt 'hookahlounge', 'Smoke_Hookah'
+	end
+end
+!! end the main act
+
+if $ARGS[0] = 'Hookah_Aliyyah':
+	*clr & cla
+	menu_off = 1
+	'<center><b><font color="maroon">Untitled Hookah Lounge</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/characters/city/aliyyah/Hookah_Aliyyah.jpg"></center>'
+	'At the counter, you see a young Muslim woman. She appears quite timid. Nontheless, she greets you with a smile as you walk up. She squeaks "What do you need, ma''am?'
+	'I''d like to buy a seat at a hookah, please.'
+	'Okay, that will be <b>₽</b>100 please.'
+	'You glance at her name badge, before looking back at her. Smiling, you hand over the required amount and say "Here you go, <<$npc_firstname[''A262'']>>!"'
+	if smoketab = 0:
+		act 'Pay for an hour and leave the counter': money -= 100 & smoketab = 1 & gt 'hookahlounge', 'start'
+	else
+		act 'Leave the counter': gt 'hookahlounge', 'start'
+	end	
+end
+!! Smoking from hookah should give Sveta a "buzzed" effect, possible to code that please?
+if $ARGS[0] = 'Smoke_Hookah':
+	'<center><img <<$set_imgh>> src="images/locations/city/redlight/hookahlounge/HookahSit.jpg"></center>'
+	'You sit down at a booth'
+	act 'Smoke using hookah':
+		cla & *clr
+		smoketab = 0
+		minut += 60
+		gs 'stat'
+		siga += 1
+		gs 'drugs', 'smoke', 1
+		'<center><img <<$set_imgh>> src="images/locations/city/redlight/hookahlounge/HookahSmoke.jpg"></center>'
+		'You smoke using the hookah'
+		act 'Stop using Hookah': gt 'hookahlounge', 'start'
+		!! this finishes hookah act
+	end 
+end
+!! game code:
+
+--- hookahlounge ---------------------------------

+ 13 - 0
locations/npcstatic6.qsrc

@@ -199,6 +199,19 @@ npc_sexskill['A<<npctemp>>'] = 1
 npc_intel['A<<npctemp>>'] = 62
 hotcat_rating['A<<npctemp>>'] = 8
 
+npctemp = 262
+$npc_dna['A<<npctemp>>'] = '0'
+$npc_firstname['A<<npctemp>>'] = 'Aliyyah'
+$npc_nickname['A<<npctemp>>'] = 'Aliyyah'
+$npc_lastname['A<<npctemp>>'] = 'Najjar'
+$npc_notes['A<<npctemp>>'] = 'Proprietor of the Hookah Lounge.'
+npc_dob['A<<npctemp>>'] = 19910314
+npc_gender['A<<npctemp>>'] = 1
+gs 'npcstaticdefaults', 'defaults'
+npc_bust['A<<npctemp>>'] = 18
+hotcat_rating['A<<npctemp>>'] = 7
+npc_intel['A<<npctemp>>'] = 59
+
 !! {Keep this at the end of file of the npcstatics.}
 aarraynumber = npctemp