1
0
Selaa lähdekoodia

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

Kevin_Smarts 2 vuotta sitten
vanhempi
sitoutus
30f27670f9
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  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]