瀏覽代碼

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

Kevin_Smarts 1 年之前
父節點
當前提交
30f27670f9
共有 1 個文件被更改,包括 8 次插入0 次删除
  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]