Explorar o código

[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 hai 9 meses
pai
achega
c16cb0351e
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  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