Pārlūkot izejas kodu

[added] New handbags to the new shops and danilovich (sports)
[fixed] wrong image path in dolls for purses

KevinSmarts 3 gadi atpakaļ
vecāks
revīzija
a9d2b99137

+ 41 - 1
locations/purses.qsrc

@@ -45,6 +45,14 @@ if $ARGS[0] = 'view_purse_list':
 
 	'<center><img src="images/locations/city/citycenter/mall/fashionista.png"></center>'
 
+	i = 1
+	:loopbomba_purses
+	if bomba_purses[i] = 1 and bomba_pursesS[i] = ploc:*p '<a href="exec:gt ''purses'', ''view_purse_item'', ''<<$ARGS[1]>>'', ''bomba'', <<i>>"><img src="images/pc/items/bomba/purses/<<i>>.jpg" 	height="300" /></a>'
+	i += 1
+	if i <= ARRSIZE('bomba_purses'):jump 'loopbomba_purses'
+
+	'<center><img src="images/locations/city/citycenter/mall/fashionista.png"></center>'
+
 	i = 1
 	:loopfashionistapurses
 	if fashionista_purses[i] = 1 and fashionista_pursesS[i] = ploc:*p '<a href="exec:gt ''purses'', ''view_purse_item'',  ''<<$ARGS[1]>>'', ''fashionista'', <<i>>"><img src="images/pc/items/fashionista/purses/<<i>>.jpg" 	height="300" /></a>'
@@ -69,6 +77,30 @@ if $ARGS[0] = 'view_purse_list':
 
 	'<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
 
+	i = 1
+	:loop_coco_purses
+	if coco_purses[i] = 1 and coco_pursesS[i] = ploc:*p '<a href="exec:gt ''purses'', ''view_purse_item'',  ''<<$ARGS[1]>>'', ''coco'', <<i>>"><img src="images/pc/items/coco/purses/<<i>>.jpg" 	height="300" /></a>'
+	i += 1
+	if i <= ARRSIZE('coco_purses'):jump 'loop_coco_purses'
+
+	'<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
+
+	i = 1
+	:loop_flamingos_purses
+	if flamingos_purses[i] = 1 and flamingos_pursesS[i] = ploc:*p '<a href="exec:gt ''purses'', ''view_purse_item'',  ''<<$ARGS[1]>>'', ''flamingos'', <<i>>"><img src="images/pc/items/flamingos/purses/<<i>>.jpg" 	height="300" /></a>'
+	i += 1
+	if i <= ARRSIZE('flamingos_purses'):jump 'loop_flamingos_purses'
+
+	'<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
+
+	i = 1
+	:loop_danilovich_purses
+	if danilovich_purses[i] = 1 and danilovich_pursesS[i] = ploc:*p '<a href="exec:gt ''purses'', ''view_purse_item'',  ''<<$ARGS[1]>>'', ''danilovich'', <<i>>"><img src="images/pc/items/danilovich/purses/<<i>>.jpg" 	height="300" /></a>'
+	i += 1
+	if i <= ARRSIZE('danilovich_purses'):jump 'loop_danilovich_purses'
+
+	'<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
+
 	i = 1
 	:loop_moncheri_purses
 	if moncheri_purses[i] = 1 and moncheri_pursesS[i] = ploc:*p '<a href="exec:gt ''purses'', ''view_purse_item'', ''<<$ARGS[1]>>'', ''moncheri'', <<i>>"><img src="images/pc/moncheri/purses/<<i>>.jpg" 	height="300" /></a>'
@@ -187,12 +219,20 @@ end
 if $ARGS[0] = 'descriptions':
 	if $ARGS[1] = 'dolls':
 		'Let your freak flag fly with this perfect purse for the hot, independent girl that lives the alt lifestyle.'
+	if $ARGS[1] = 'bomba':
+		'Yeah you have attitude and with this bag everyone knows it.'
+	elseif $ARGS[1] = 'coco':
+		'A trendy bag for a young adult.'
+	elseif $ARGS[1] = 'flamingos':
+		'You look like the girl about town with this bag.'
+	elseif $ARGS[1] = 'danilovich':
+		'A sports bag for all your junk. Practical and durable but not fashionable'
 	elseif $ARGS[1] = 'fashionista':
 		'A stylish handbag for any fashion-forward female!'
 	elseif $ARGS[1] = 'gm':
 		'A functional, if not too fashionable, handbag for carrying all of the essentials.'
 	elseif $ARGS[1] = 'cats':
-		'A fun and flirty purse for any young lady looking for fun on a night out.'
+		'Is it a bag? Is it a pet? Is it a toy? Who cares you stand out and look cute.'
 	elseif $ARGS[1] = 'moncheri':
 		'A high-fashion handbag for ladies with discerning tastes. Show how classy you are with this expensive accessory.'
 	end

+ 23 - 0
locations/shop_coco_carmen.qsrc

@@ -21,6 +21,8 @@ if $ARGS[0] = 'start':
 	act 'View dresses': minut += 5 & gt 'shop_coco_carmen', 'dress'
 
 	act 'View other outfits': minut += 5 & gt 'shop_coco_carmen', 'outfits'
+
+	act 'View purses': minut += 5 & gt 'shop_coco_carmen', 'purses'
 end
 
 if $ARGS[0] = 'dress':
@@ -145,5 +147,26 @@ if $ARGS[0] = 'shoes':
 	if i <= 37:jump 'loopcoco_shoes'
 end
 
+if $ARGS[0] = 'purses':
+	$loc_arg = 'purses'
+	$loc = 'shop_coco_carmen'
+	$menu_loc = 'shop_coco_carmen'
+	$menu_arg = 'purses'
+	menu_off = 0
+	*clr & cla
+	gs'stat'
+
+	act 'Return': minut += 1 & gt 'shop_coco_carmen', 'start'
+
+	i = 1
+
+	:loopcoco_purses
+		if bomba_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_coco_carmen'', ''purses2''"><img src="images/pc/items/coco/purses/<<i>>.jpg" 	height="150" /></a> '
+		i += 1
+	if i <= 20:jump 'loopcoco_purses'
+end
+
+if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'coco',i, 2000
+
 --- shop_coco_carmen ---------------------------------
 

+ 2 - 2
locations/shop_dolls.qsrc

@@ -220,12 +220,12 @@ if $ARGS[0] = 'purses':
 	i = 1
 
 	:loopdolls_purses
-		if dolls_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''purses2''"><img src="images/pc/items/purses/dolls/<<i>>.jpg" height="250" /></a>'
+		if dolls_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_dolls'', ''purses2''"><img src="images/pc/items/dolls/purses/<<i>>.jpg" height="250" /></a>'
 		i += 1
 	if i <= 20:jump 'loopdolls_purses'
 end
 
-if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'shop_dolls',i, 2000
+if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'dolls',i, 2000
 
 if $ARGS[0] = 'savva':
 	*clr & cla

+ 27 - 0
locations/shop_flamingos.qsrc

@@ -21,6 +21,8 @@ if $ARGS[0] = 'start':
 	act 'View dresses': minut += 5 & gt 'shop_flamingos', 'dresses'
 
 	act 'View other clothing': minut += 5 & gt 'shop_flamingos', 'clothes'
+
+	act 'View purses': minut += 5 & gt 'shop_flamingos', 'purses'
 end
 
 if $ARGS[0] = 'dresses':
@@ -122,5 +124,30 @@ if $ARGS[0] = 'flamingos_outfit':
 
 end
 
+if $ARGS[0] = 'purses':
+	$loc_arg = 'purses'
+	$loc = 'shop_flamingos'
+	$menu_arg = 'purses'
+	$menu_loc = 'shop_flamingos'
+	menu_off = 0
+	*clr & cla
+	gs'stat'
+
+	act 'Return':
+		cla
+		minut += 5
+		gt 'shop_flamingos', 'start'
+	end
+
+	i = 1
+
+	:loopflamingos_purses
+		if flamingos_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_flamingos'', ''purses2''"><img src="images/pc/items/flamingos/purses/<<i>>.jpg" height="250" /></a>'
+		i += 1
+	if i <= 20:jump 'loopflamingos_purses'
+end
+
+if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'flamingos',i, 2000
+
 --- shop_flamingos ---------------------------------
 

+ 4 - 4
locations/shop_tsar_bomba.qsrc

@@ -23,7 +23,7 @@ if $ARGS[0] = 'start':
 
 	act 'View other outfits': minut += 5 & gt 'shop_tsar_bomba', 'clothes'
 
-!!	act 'View purses': minut += 5 & gt 'shop_tsar_bomba', 'purses'
+	act 'View purses': minut += 5 & gt 'shop_tsar_bomba', 'purses'
 
 end
 
@@ -139,12 +139,12 @@ if $ARGS[0] = 'purses':
 	i = 1
 
 	:loopbomba_purses
-		if bomba_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_tsar_bomba'', ''purses2''"><img src="images/pc/purses/bomba/<<i>>.jpg" 	height="150" /></a> '
+		if bomba_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_tsar_bomba'', ''purses2''"><img src="images/pc/items/bomba/purses/<<i>>.jpg" 	height="150" /></a> '
 		i += 1
-	if i <= 17:jump 'loopbomba_purses'
+	if i <= 20:jump 'loopbomba_purses'
 end
 
-if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'bomba',i, 4000
+if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'bomba',i, 2000
 
 --- shop_tsar_bomba ---------------------------------
 

+ 31 - 30
locations/sportShop.qsrc

@@ -17,41 +17,19 @@ if $ARGS[0] = 'start':
 		'The shop sells high-quality water bottles for 1,000 <b>₽</b>. You could carry one around in '+iif(bag > 0, 'your', 'a')+' purse.'
 	end
 	
-	act 'Leave':
-		cla
-		minut += 3
-		gt 'torgcentr'
-	end
-
-	act 'View sports clothing':
-		cla
-		minut += 5
-		gt 'sportshop', 'clo'
-	end
+	act 'Leave':minut += 3 & gt 'torgcentr'
 
-	act 'View sports bras':
-		cla
-		minut += 5
-		gt 'sportshop', 'bras'
-	end
+	act 'View sports clothing':minut += 5 & gt 'sportshop', 'clo'
 
+	act 'View sports bras':minut += 5 & gt 'sportshop', 'bras'
 	
-	act 'View sports panties':
-		cla
-		minut += 5
-		gt 'sportshop', 'panties'
-	end
+	act 'View sports panties':minut += 5 & gt 'sportshop', 'panties'
 	
-	act 'View exercise shoes':
-		minut += 5
-		gt 'sportshop', 'trainers'
-	end
+	act 'View exercise shoes':minut += 5 & gt 'sportshop', 'trainers'
 
-	act 'View swimwear':
-		cla
-		minut += 5
-		gt 'sportshop', 'swim'
-	end
+	act 'View swimwear':minut += 5 & gt 'sportshop', 'swim'
+
+	act 'View purses': minut += 5 & gt 'sportshop', 'purses'
 
 	if skak = 0 and money >= 500:
 		act 'Buy a skipping rope (500 <b>₽</b>)':
@@ -280,5 +258,28 @@ if $ARGS[0] = 'bras2':
 
 end
 
+if $ARGS[0] = 'purses':
+	$loc_arg = 'purses'
+	$loc = 'sportShop'
+	menu_off = 1
+	*clr & cla
+	gs'stat'
+
+	act 'Return':
+		cla
+		minut += 1
+		gt 'sportShop', 'start'
+	end
+
+	i = 1
+
+	:loopshop_danilovich_purses
+		if shop_danilovich_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''purses2''"><img src="images/pc/items/danilovich/purses/<<i>>.jpg" 	height="150" /></a> '
+		i += 1
+	if i <= 20:jump 'loopshop_danilovich_purses'
+end
+
+if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'danilovich',i, 1500
+
 --- sportShop ---------------------------------