Procházet zdrojové kódy

[changed] Small update on the City Nightclub. A full bar with menu, nomore prostitution but you can be picked up by a couple on the dance floor.

bgkjdgbizgblzdgbr před 1 rokem
rodič
revize
a3f158f311

+ 0 - 1
glife.qproj

@@ -890,7 +890,6 @@
 		<Location name="city_nightclub"/>
 		<Location name="city_nightclubToilet"/>
 		<Location name="Club2"/>
-		<Location name="vipclub"/>
 		<Location name="danceclass"/>
 		<Location name="city_library"/>
 		<Location name="fit"/>

+ 158 - 0
locations/beverage.qsrc

@@ -186,6 +186,7 @@ if $ARGS[0] = 'bev_energy_drink':
 	money -= val($_drink['<<args[1]>>,price'])
 	pcs_health += 10
 	pcs_mood += 20
+	pcs_energy += 10
 	fat += 3
 	if pcs_hydra >= 100:
 		pcs_hydra += 25
@@ -374,6 +375,31 @@ if $ARGS[0] = 'bev_bee':
 	end
 end
 
+if $ARGS[0] = 'bev_cocktail':
+	if pcs_health > 20:
+		*clr & cla
+		minut += 20
+		money -= val($_drink['<<args[1]>>,price'])
+		pcs_mood += 15
+		gs 'drugs', 'alcohol', 'rum'
+		pcs_horny += rand(10, 50)
+		gs 'beverage', 'afteralcohol'
+		'<center><img <<$set_imgh>> src="images/shared/drinks/cocktail<<rand(1,4)>>.jpg"></center>'
+		'You drink a fancy cocktail and<<$mtxt>>'
+		gs 'stat'
+		killvar '$_drink'
+
+		if food_loc = 1:
+			act 'Finish': gt 'food_menu'
+		else
+			act 'Finish':gt $loc, $loc_arg
+		end
+	else
+		msg 'You don''t feel well enough to drink alcohol.'
+		gt $loc, $loc_arg
+	end
+end
+
 if $ARGS[0] = 'bev_bbr': food_loc = 0 & gt 'brothel','password'
 
 if $ARGS[0] = 'afteralcohol':
@@ -425,6 +451,13 @@ if $ARGS[0] = 'coffee':
 	gs 'stat'
 end
 
+if $ARGS[0] = 'only_stat_bev_cocktail':
+	pcs_mood += 15
+	gs 'drugs', 'alcohol', 'rum'
+	pcs_horny += rand(10, 50)
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+end
 
 !! ------------ just the stats, no descriptions or extra stuff with cost -----------------------
 
@@ -615,5 +648,130 @@ if $ARGS[0] = 'only_cost_wat':
 	gt 'food_menu'
 end
 
+if $ARGS[0] = 'only_cost_bev_energy_drink':
+	frost = 1
+	if alko > 0: alko -= 1
+	money -= val($_drink['<<args[1]>>,price'])
+	pcs_health += 10
+	pcs_mood += 20
+	pcs_energy += 10
+	fat += 3
+	if pcs_hydra >= 100:
+		pcs_hydra += 25
+	else
+		pcs_hydra += 50
+	end
+	cumspclnt = 2
+	gs 'cum_cleanup'
+	pcs_breath = 0
+	gs 'beverage', 'afterdrink'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
+if $ARGS[0] = 'only_cost_bev_vod':
+	money -= val($_drink['<<args[1]>>,price'])
+	gs 'drugs', 'alcohol', 'vodka'
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
+if $ARGS[0] = 'only_cost_bev_bla':
+	pcs_mood += 10
+	money -= val($_drink['<<args[1]>>,price'])
+	gs 'drugs', 'alcohol', 'vodka'
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
+if $ARGS[0] = 'only_cost_bev_sco':
+	money -= val($_drink['<<args[1]>>,price'])
+	gs 'drugs', 'alcohol', 'scotch'
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
+if $ARGS[0] = 'only_cost_bev_win':
+	money -= val($_drink['<<args[1]>>,price'])
+	gs 'drugs', 'alcohol', 'wine'
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
+if $ARGS[0] = 'only_cost_bev_mar':
+	money -= val($_drink['<<args[1]>>,price'])
+	pcs_mood += 10
+	gs 'drugs', 'alcohol', 'vodka'
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
+if $ARGS[0] = 'only_cost_bev_cha':
+	money -= val($_drink['<<args[1]>>,price'])
+	gs 'drugs', 'alcohol', 'champagne'
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
+if $ARGS[0] = 'only_cost_bev_bee':
+	money -= val($_drink['<<args[1]>>,price'])
+	gs 'drugs', 'alcohol', 'beer'
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
+if $ARGS[0] = 'only_cost_bev_cocktail':
+	money -= val($_drink['<<args[1]>>,price'])
+	pcs_mood += 15
+	gs 'drugs', 'alcohol', 'rum'
+	pcs_horny += rand(10, 50)
+	gs 'beverage', 'afteralcohol'
+	gs 'stat'
+	killvar '$_drink'
+
+	*nl
+	'Added to your order'
+	gt 'food_menu'
+end
+
 --- beverage ---------------------------------
 

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 275 - 281
locations/city_nightclub.qsrc


+ 72 - 0
locations/food_menu.qsrc

@@ -525,6 +525,78 @@ elseif $loc = 'city_coffee_hole':
 	$_drink['5,name'] = 'Iced Latte'
 	$_drink['5,type'] = 'only_cost_cof'
 	$_drink['5,price'] = 150
+elseif $loc = 'city_nightclub':
+	'<center><b><font color="maroon">Bar "Nightclub"</font></b></center>'
+	*nl
+	'<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
+	$_eat['0,name'] = 'Toasted rye snacks'
+	$_eat['0,type'] = 'ryesna'
+	$_eat['0,price'] = 30
+
+	$_drink['0,name'] = 'Water'
+	$_drink['0,type'] = 'bev_wat'
+	$_drink['0,price'] = 'Free'
+	$_drink['1,name'] = 'Energy Drink'
+	$_drink['1,type'] = 'bev_energy_drink'
+	$_drink['1,price'] = 60
+	$_drink['2,name'] = 'Beer on tap'
+	$_drink['2,type'] = 'bev_bee'
+	$_drink['2,price'] = 60
+	$_drink['3,name'] = 'Vodka'
+	$_drink['3,type'] = 'bev_vod'
+	$_drink['3,price'] = 120
+	$_drink['4,name'] = 'Scotch'
+	$_drink['4,type'] = 'bev_sco'
+	$_drink['4,price'] = 140
+	$_drink['5,name'] = 'Glass of Wine'
+	$_drink['5,type'] = 'bev_win'
+	$_drink['5,price'] = 160
+	$_drink['6,name'] = 'Black Russian'
+	$_drink['6,type'] = 'bev_bla'
+	$_drink['6,price'] = 250
+	$_drink['7,name'] = 'Champagne'
+	$_drink['7,type'] = 'bev_cha'
+	$_drink['7,price'] = 220
+	$_drink['8,name'] = 'Vodka Martini'
+	$_drink['8,type'] = 'bev_mar'
+	$_drink['8,price'] = 250
+	$_drink['9,name'] = 'Fancy cocktail'
+	$_drink['9,type'] = 'bev_cocktail'
+	$_drink['9,price'] = 300
+elseif $loc = 'katja_nightclub':
+	'<center><b><font color="maroon">Bar "Nightclub"</font></b></center>'
+	*nl
+	'<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
+	$_drink['0,name'] = 'Water'
+	$_drink['0,type'] = 'only_cost_bev_wat'
+	$_drink['0,price'] = 'Free'
+	$_drink['1,name'] = 'Energy Drink'
+	$_drink['1,type'] = 'only_cost_bev_energy_drink'
+	$_drink['1,price'] = 60
+	$_drink['2,name'] = 'Beer on tap'
+	$_drink['2,type'] = 'only_cost_bev_bee'
+	$_drink['2,price'] = 60
+	$_drink['3,name'] = 'Vodka'
+	$_drink['3,type'] = 'only_cost_bev_vod'
+	$_drink['3,price'] = 120
+	$_drink['4,name'] = 'Scotch'
+	$_drink['4,type'] = 'only_cost_bev_sco'
+	$_drink['4,price'] = 140
+	$_drink['5,name'] = 'Glass of Wine'
+	$_drink['5,type'] = 'only_cost_bev_win'
+	$_drink['5,price'] = 160
+	$_drink['6,name'] = 'Black Russian'
+	$_drink['6,type'] = 'only_cost_bev_bla'
+	$_drink['6,price'] = 250
+	$_drink['7,name'] = 'Champagne'
+	$_drink['7,type'] = 'only_cost_bev_cha'
+	$_drink['7,price'] = 220
+	$_drink['8,name'] = 'Vodka Martini'
+	$_drink['8,type'] = 'only_cost_bev_mar'
+	$_drink['8,price'] = 250
+	$_drink['9,name'] = 'Fancy cocktail'
+	$_drink['9,type'] = 'only_cost_bev_cocktail'
+	$_drink['9,price'] = 300
 end
 
 $_str = '<center><table border="0" width="800" cellpadding="0" cellspacing="1">'

+ 1 - 0
locations/lezbsex.qsrc

@@ -243,6 +243,7 @@ if $ARGS[0] = 'end':
 		end
 		if $sexloc = 'stwork': gt 'stwork', 'start'
 		if $sexloc = 'uni_dorm': gt 'uni_dorm', 'dorm_room'
+		if $sexloc = 'city_nightclub': gt 'city_nightclub', 'private_rooms'
 		if picrand = 22:gt 'city_center'
 		if picrand = 21:gt 'vann', 'start'
 		if picrand = 19 or picrand = 20:gt 'office', 'work'

+ 1 - 0
locations/sex.qsrc

@@ -209,6 +209,7 @@ if $ARGS[0] = 'end':
 			gt $svidboy_home, $svidboy_home_arg
 		end
 		if $sexloc = 'uni_dorm': gt 'uni_dorm', 'dorm_room'
+		if $sexloc = 'city_nightclub': gt 'city_nightclub', 'private_rooms'
 
 		gt $sexloc, 'start'
 	end

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů