Browse Source

[fixed] bags not in the set up or removal of set prostitute outfits and the default check did not work as it used ampersands and not 'and'

Kevin_Smarts 4 months ago
parent
commit
c16cb0351e
1 changed files with 9 additions and 1 deletions
  1. 9 1
      locations/prostitution_functions.qsrc

+ 9 - 1
locations/prostitution_functions.qsrc

@@ -410,7 +410,7 @@ if $ARGS[0] = 'work_clothes':
 end
 
 if $ARGS[0] = 'is_default':
-	is_default = prostitute['clothingwornnumber'] = clothingwornnumber & prostitute['pantywornnumber'] = pantywornnumber & prostitute['brawornnumber'] = brawornnumber & prostitute['shoewornnumber'] = shoewornnumber
+	is_default = prostitute['clothingwornnumber'] = clothingwornnumber and prostitute['pantywornnumber'] = pantywornnumber and prostitute['brawornnumber'] = brawornnumber and prostitute['shoewornnumber'] = shoewornnumber and prostitute['currentpursenumber'] = currentpursenumber
 end
 
 
@@ -431,6 +431,10 @@ if $ARGS[0] = 'set_default_outfit':
 	$prostitute['shoeworntype'] = $shoeworntype
 	prostitute['shoewornnumber'] = shoewornnumber
 
+	!!-- Bag
+	$prostitute['currentpursetype'] = $currentpursetype
+	prostitute['currentpursenumber'] = currentpursenumber
+
 	prostitute['outfit_is_set'] = 1
 end
 
@@ -449,6 +453,10 @@ if $ARGS[0] = 'clearing_default_outfit':
 	$prostitute['shoeworntype'] = ''
 	prostitute['shoewornnumber'] = 0
 
+	!!-- Bag
+	$prostitute['currentpursetype'] = ''
+	prostitute['currentpursenumber'] = 0
+
 	prostitute['outfit_is_set'] = 0
 end