Bläddra i källkod

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

Kevin_Smarts 2 år sedan
förälder
incheckning
30f27670f9
1 ändrade filer med 8 tillägg och 0 borttagningar
  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]