Sfoglia il codice sorgente

[added] Dispose function for worn clothing, will leave Sveta not wearing clothing

Kevin_Smarts 1 anno fa
parent
commit
30f27670f9
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      locations/clothing.qsrc

+ 8 - 0
locations/clothing.qsrc

@@ -1665,6 +1665,14 @@ if $ARGS[0] = 'strip_all':
 	gs 'clothing', 'strip', $strip_loc
 end
 
+if $ARGS[0] = 'dispose':
+	dynamic $clothingworntype + '[<<clothingwornnumber>>] = 0'
+	$lastwornclothingtype = 'none'
+	lastwornclothingnumber = 0
+	$clothingworntype = 'none'
+	clothingwornnumber = 0
+end
+
 if $ARGS[0] = 'strip':
 	!$strip_loc = location when stripping outdoors
 	$strip_loc = $ARGS[1]