Browse Source

[fixed] Bodysuits at Lusso were not turned on and display issues in wardrobe

Kevin_Smarts 1 year ago
parent
commit
567218cca2
3 changed files with 15 additions and 8 deletions
  1. 1 1
      locations/lusso.qsrc
  2. 1 5
      locations/moncheri.qsrc
  3. 13 2
      locations/underwear_bodysuits.qsrc

+ 1 - 1
locations/lusso.qsrc

@@ -23,7 +23,7 @@ if $ARGS[0] = 'start':
 
 	act 'View bras': minut += 5 & gt 'lusso', 'bras'
 	
-!!	act 'View bodysuits': minut += 5 & gt 'lusso', 'bodysuit'
+	act 'View bodysuits': minut += 5 & gt 'lusso', 'bodysuit'
 end
 
 if $ARGS[0] = 'panties':

+ 1 - 5
locations/moncheri.qsrc

@@ -221,7 +221,7 @@ if $ARGS[0] = 'bodysuit':
 	i = 1
 
 	:loopmoncheri_bodysuit
-		if boutique_bodysuit[i] = 0:*p '<a href="exec: i = <<i>> & gt ''moncheri'', ''bodysuit2''"><img src="images/pc/items/moncheri/bodysuits/<<i>>.jpg" 	height="250" /></a> '
+		if moncheri_bodysuits[i] = 0:*p '<a href="exec: i = <<i>> & gt ''moncheri'', ''bodysuit2''"><img src="images/pc/items/moncheri/bodysuits/<<i>>.jpg" 	height="250" /></a> '
 		i += 1
 	if i <= 50:jump 'loopmoncheri_bodysuit'
 end
@@ -229,10 +229,6 @@ end
 if $ARGS[0] = 'bodysuit2':
 	cla
 	menu_off = 1
-	if boutique_bodysuit[i] ! 0:
-		msg 'You already own this bodysuit.'
-		gt 'moncheri', 'bodysuit'
-	end
 
 	gt 'underwear_bodysuits', 'view_bodysuit_item', 'shop', 'moncheri',i, 2000
 

+ 13 - 2
locations/underwear_bodysuits.qsrc

@@ -50,6 +50,17 @@ if $ARGS[0] = 'view_bodysuit_list':
 	!! Check for no bodysuits
 	j = 0
 
+	if ARRSIZE('moncheri_bodysuits') > 0:
+		j += 1
+		'<center><img src="images/locations/city/citycenter/mall/moncheri.png"></center>'
+	end
+
+	i = 1
+	:loopmoncheribodysuits 
+	if moncheri_bodysuits_s[i] = metka_bodysuits and moncheri_bodysuits[i] = 1:*p '<a href="exec:gt ''underwear_bodysuits'', ''view_bodysuit_item'', ''<<$ARGS[1]>>'', ''moncheri'', <<i>>"><img src="images/pc/items/moncheri/bodysuits/<<i>>.jpg" 	height="150" /></a>'
+	i += 1
+	if i <= ARRSIZE('moncheri_bodysuits'):jump 'loopmoncheribodysuits'
+
 	if ARRSIZE('lusso_bodysuits') > 0:
 		j += 1
 		'<center><img src="images/locations/city/citycenter/mall/Lusso.png"></center>'
@@ -68,7 +79,7 @@ if $ARGS[0] = 'view_bodysuit_list':
 
 	i = 1
 	:loopsalaciousbodysuits 
-	if salacious_bodysuits_s[i] = metka_bodysuits and salacious_bodysuit[i] = 1:*p '<a href="exec:gt ''underwear_bodysuits'', ''view_bodysuit_item'', ''<<$ARGS[1]>>'', ''salacious'', <<i>>"><img src="images/pc/items/salacious/bodysuits/<<i>>.jpg" 	height="150" /></a>'
+	if salacious_bodysuits_s[i] = metka_bodysuits and salacious_bodysuits[i] = 1:*p '<a href="exec:gt ''underwear_bodysuits'', ''view_bodysuit_item'', ''<<$ARGS[1]>>'', ''salacious'', <<i>>"><img src="images/pc/items/salacious/bodysuits/<<i>>.jpg" 	height="150" /></a>'
 	i += 1
 	if i <= ARRSIZE('salacious_bodysuits'):jump 'loopsalaciousbodysuits'
 
@@ -83,7 +94,7 @@ if $ARGS[0] = 'view_bodysuit_list':
 	i += 1
 	if i <= ARRSIZE('scandalicious_bodysuits'):jump 'loopscandaliciousbodysuits'
 
-	if j > 0:
+	if j = 0:
 		*nl
 		*nl
 		*nl