Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit 19f9f84

Browse files
Allow recycler to shred clothing (space-wizards#31518)
* Allow recycler to shred clothing * reduce * change comments * replace ClothMade with Recyclable * Update Resources/Prototypes/Entities/Clothing/Head/hats.yml Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * requested changes --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
1 parent 9b6697e commit 19f9f84

14 files changed

Lines changed: 69 additions & 5 deletions

File tree

Resources/Prototypes/Entities/Clothing/Hands/base_clothinghands.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@
3838
spawned:
3939
- id: MaterialCloth1
4040
amount: 1
41+
- type: PhysicalComposition # 50% of the amount of cloth you'd obtain upon butchering
42+
materialComposition:
43+
Cloth: 50
44+
- type: Tag
45+
tags:
46+
- ClothMade
47+
- Recyclable
48+
- WhitelistChameleon
4149

4250
# gloves that cover the fingertips and have synthetic fibers
4351
- type: entity

Resources/Prototypes/Entities/Clothing/Head/bandanas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
tags:
2929
- Bandana
3030
- ClothMade
31+
- Recyclable
3132

3233
- type: entity
3334
parent: [ClothingHeadBandBase, ClothingMaskBandBlack]

Resources/Prototypes/Entities/Clothing/Head/base_clothinghead.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
Quantity: 10
2323
- type: Tag
2424
tags:
25-
- ClothMade
26-
- WhitelistChameleon
25+
- ClothMade
26+
- WhitelistChameleon
2727

2828
- type: entity
2929
abstract: true
@@ -35,10 +35,14 @@
3535
spawned:
3636
- id: MaterialCloth1
3737
amount: 1
38+
- type: PhysicalComposition # 50% of the amount of cloth you'd obtain upon butchering
39+
materialComposition:
40+
Cloth: 50
3841
- type: Tag
3942
tags:
40-
- ClothMade
41-
- WhitelistChameleon
43+
- ClothMade
44+
- Recyclable
45+
- WhitelistChameleon
4246

4347
- type: entity
4448
abstract: true

Resources/Prototypes/Entities/Clothing/Head/hats.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- type: Tag
2323
tags:
2424
- ClothMade
25+
- Recyclable
2526
- HamsterWearable
2627
- WhitelistChameleon
2728

@@ -40,6 +41,7 @@
4041
- type: Tag
4142
tags:
4243
- ClothMade
44+
- Recyclable
4345
- WhitelistChameleon
4446

4547
- type: entity
@@ -55,6 +57,7 @@
5557
- type: Tag
5658
tags:
5759
- ClothMade
60+
- Recyclable
5861
- HamsterWearable
5962
- WhitelistChameleon
6063

@@ -97,6 +100,7 @@
97100
- type: Tag
98101
tags:
99102
- ClothMade
103+
- Recyclable
100104
- HamsterWearable
101105
- WhitelistChameleon
102106

@@ -113,6 +117,7 @@
113117
- type: Tag
114118
tags:
115119
- ClothMade
120+
- Recyclable
116121
- HamsterWearable
117122
- WhitelistChameleon
118123

@@ -129,6 +134,7 @@
129134
- type: Tag
130135
tags:
131136
- ClothMade
137+
- Recyclable
132138
- HamsterWearable
133139
- WhitelistChameleon
134140

@@ -145,6 +151,7 @@
145151
- type: Tag
146152
tags:
147153
- ClothMade
154+
- Recyclable
148155
- HamsterWearable
149156
- WhitelistChameleon
150157

@@ -232,6 +239,7 @@
232239
- type: Tag
233240
tags:
234241
- ClothMade
242+
- Recyclable
235243
- HamsterWearable
236244
- WhitelistChameleon
237245

@@ -288,6 +296,7 @@
288296
- type: Tag
289297
tags:
290298
- ClothMade
299+
- Recyclable
291300
- HamsterWearable
292301
- WhitelistChameleon
293302

@@ -304,6 +313,7 @@
304313
- type: Tag
305314
tags:
306315
- ClothMade
316+
- Recyclable
307317
- HamsterWearable
308318
- WhitelistChameleon
309319

@@ -342,6 +352,7 @@
342352
- type: Tag
343353
tags:
344354
- ClothMade
355+
- Recyclable
345356
- HamsterWearable
346357
- WhitelistChameleon
347358

@@ -358,6 +369,7 @@
358369
- type: Tag
359370
tags:
360371
- ClothMade
372+
- Recyclable
361373
- HamsterWearable
362374
- WhitelistChameleon
363375

@@ -419,6 +431,7 @@
419431
tags:
420432
- WhitelistChameleon
421433
- ClothMade
434+
- Recyclable
422435
- type: HideLayerClothing
423436
slots:
424437
- Hair
@@ -486,6 +499,7 @@
486499
- type: Tag
487500
tags:
488501
- ClothMade
502+
- Recyclable
489503
- HamsterWearable
490504
- WhitelistChameleon
491505

@@ -524,6 +538,7 @@
524538
- type: Tag
525539
tags:
526540
- ClothMade
541+
- Recyclable
527542
- HamsterWearable
528543
- WhitelistChameleon
529544

@@ -629,6 +644,7 @@
629644
tags:
630645
- WhitelistChameleon
631646
- ClothMade
647+
- Recyclable
632648
- type: HideLayerClothing
633649
slots:
634650
- Hair
@@ -664,6 +680,7 @@
664680
- type: Tag
665681
tags:
666682
- ClothMade
683+
- Recyclable
667684
- HamsterWearable
668685
- WhitelistChameleon
669686

@@ -781,6 +798,7 @@
781798
- type: Tag
782799
tags:
783800
- ClothMade
801+
- Recyclable
784802
- HamsterWearable
785803
- WhitelistChameleon
786804

@@ -839,6 +857,7 @@
839857
- type: Tag
840858
tags:
841859
- ClothMade
860+
- Recyclable
842861
- HamsterWearable
843862
- WhitelistChameleon
844863

@@ -976,6 +995,7 @@
976995
- type: Tag
977996
tags:
978997
- ClothMade
998+
- Recyclable
979999
- WhitelistChameleon
9801000
- HamsterWearable
9811001
- type: SentienceTarget
@@ -998,6 +1018,7 @@
9981018
- type: Tag
9991019
tags:
10001020
- ClothMade
1021+
- Recyclable
10011022
- WhitelistChameleon
10021023
- HamsterWearable
10031024

Resources/Prototypes/Entities/Clothing/Head/soft.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
- type: Tag
7070
tags:
7171
- ClothMade
72+
- Recyclable
7273
- HamsterWearable
7374
- WhitelistChameleon
7475

@@ -80,6 +81,7 @@
8081
- type: Tag
8182
tags:
8283
- ClothMade
84+
- Recyclable
8385
- HamsterWearable
8486
- WhitelistChameleon
8587

@@ -224,6 +226,7 @@
224226
- type: Tag
225227
tags:
226228
- ClothMade
229+
- Recyclable
227230
- HamsterWearable
228231
- WhitelistChameleon
229232

@@ -235,6 +238,7 @@
235238
- type: Tag
236239
tags:
237240
- ClothMade
241+
- Recyclable
238242
- HamsterWearable
239243
- WhitelistChameleon
240244

@@ -315,6 +319,7 @@
315319
- type: Tag
316320
tags:
317321
- ClothMade
322+
- Recyclable
318323
- HamsterWearable
319324
- WhitelistChameleon
320325

@@ -326,5 +331,6 @@
326331
- type: Tag
327332
tags:
328333
- ClothMade
334+
- Recyclable
329335
- HamsterWearable
330336
- WhitelistChameleon

Resources/Prototypes/Entities/Clothing/Masks/bandanas.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
tags:
3232
- Bandana
3333
- ClothMade
34+
- Recyclable
3435
- type: HideLayerClothing
3536
slots:
3637
- Snout
@@ -72,6 +73,7 @@
7273
tags:
7374
- WhitelistChameleon
7475
- ClothMade
76+
- Recyclable
7577

7678
- type: entity
7779
parent: ClothingMaskBandanaBase

Resources/Prototypes/Entities/Clothing/Masks/base_clothingmask.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
spawned:
4040
- id: MaterialCloth1
4141
amount: 1
42+
- type: PhysicalComposition # 50% of the amount of cloth you'd obtain upon butchering
43+
materialComposition:
44+
Cloth: 50
4245
- type: Food
4346
requiresSpecialDigestion: true
4447
- type: SolutionContainerManager
@@ -50,4 +53,5 @@
5053
Quantity: 10
5154
- type: Tag
5255
tags:
53-
- ClothMade
56+
- ClothMade
57+
- Recyclable

Resources/Prototypes/Entities/Clothing/Neck/base_clothingneck.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
spawned:
1717
- id: MaterialCloth1
1818
amount: 2
19+
- type: PhysicalComposition # 50% of the amount of cloth you'd obtain upon butchering
20+
materialComposition:
21+
Cloth: 100
1922
- type: Food
2023
requiresSpecialDigestion: true
2124
- type: SolutionContainerManager
@@ -28,6 +31,7 @@
2831
- type: Tag
2932
tags:
3033
- ClothMade
34+
- Recyclable
3135
- WhitelistChameleon
3236

3337
- type: entity
@@ -39,4 +43,5 @@
3943
tags:
4044
- Scarf
4145
- ClothMade
46+
- Recyclable
4247
- WhitelistChameleon

Resources/Prototypes/Entities/Clothing/Neck/ties.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- HamsterWearable
1414
- WhitelistChameleon
1515
- ClothMade
16+
- Recyclable
1617

1718
- type: entity
1819
parent: ClothingNeckBase
@@ -38,5 +39,6 @@
3839
- type: Tag
3940
tags:
4041
- ClothMade
42+
- Recyclable
4143
- HamsterWearable
4244
- WhitelistChameleon

Resources/Prototypes/Entities/Clothing/OuterClothing/wintercoats.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
- type: Tag
3434
tags:
3535
- ClothMade
36+
- Recyclable
3637
- WhitelistChameleon
3738
- type: StaticPrice
3839
price: 50

0 commit comments

Comments
 (0)