From f80f305d1d8b7524b2b5e52dcd7dba08e0a40194 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C4=81da?= Date: Thu, 27 Feb 2025 06:44:10 -0600 Subject: [PATCH] Add filters to uniform printer (#34316) * uniform * missing category * lint * bedsheets * carpets * typo * indent --- .../Locale/en-US/lathe/lathe-categories.ftl | 11 +++++++ .../Prototypes/Recipes/Lathes/bedsheets.yml | 2 ++ .../Prototypes/Recipes/Lathes/carpets.yml | 2 ++ .../Prototypes/Recipes/Lathes/categories.yml | 31 ++++++++++++++++++- .../Prototypes/Recipes/Lathes/clothing.yml | 19 +++++++++++- 5 files changed, 63 insertions(+), 2 deletions(-) diff --git a/Resources/Locale/en-US/lathe/lathe-categories.ftl b/Resources/Locale/en-US/lathe/lathe-categories.ftl index 7a4c20918c..c6e300e008 100644 --- a/Resources/Locale/en-US/lathe/lathe-categories.ftl +++ b/Resources/Locale/en-US/lathe/lathe-categories.ftl @@ -1,3 +1,4 @@ +# Generic lathe-category-ammo = Ammo lathe-category-circuitry = Circuitry lathe-category-lights = Lights @@ -7,6 +8,16 @@ lathe-category-robotics = Robotics lathe-category-tools = Tools lathe-category-weapons = Weapons +# Biogen lathe-category-food = Food lathe-category-chemicals = Chemicals lathe-category-materials = Materials + +# Uniform +lathe-category-bedsheets = Bedsheets +lathe-category-carpets = Carpets +lathe-category-coats = Coats +lathe-category-command = Command +lathe-category-hats = Hats +lathe-category-jumpsuits = Jumpsuits +lathe-category-neck = Neck diff --git a/Resources/Prototypes/Recipes/Lathes/bedsheets.yml b/Resources/Prototypes/Recipes/Lathes/bedsheets.yml index 1ff143e491..386ef7ab82 100644 --- a/Resources/Prototypes/Recipes/Lathes/bedsheets.yml +++ b/Resources/Prototypes/Recipes/Lathes/bedsheets.yml @@ -1,6 +1,8 @@ - type: latheRecipe abstract: true id: BaseBedsheetRecipe + categories: + - Bedsheets completetime: 2 materials: Cloth: 150 diff --git a/Resources/Prototypes/Recipes/Lathes/carpets.yml b/Resources/Prototypes/Recipes/Lathes/carpets.yml index fdf9705c23..fe172879e7 100644 --- a/Resources/Prototypes/Recipes/Lathes/carpets.yml +++ b/Resources/Prototypes/Recipes/Lathes/carpets.yml @@ -1,6 +1,8 @@ - type: latheRecipe abstract: true id: BaseCarpetRecipe + categories: + - Carpets completetime: 1 materials: Cloth: 100 diff --git a/Resources/Prototypes/Recipes/Lathes/categories.yml b/Resources/Prototypes/Recipes/Lathes/categories.yml index 0d26305b75..486d8a090d 100644 --- a/Resources/Prototypes/Recipes/Lathes/categories.yml +++ b/Resources/Prototypes/Recipes/Lathes/categories.yml @@ -1,3 +1,4 @@ +# Generic - type: latheCategory id: Ammo name: lathe-category-ammo @@ -31,7 +32,6 @@ name: lathe-category-weapons # Biogen - - type: latheCategory id: Food name: lathe-category-food @@ -43,3 +43,32 @@ - type: latheCategory id: Materials name: lathe-category-materials + +# Uniform printer +- type: latheCategory + id: Bedsheets + name: lathe-category-bedsheets + +- type: latheCategory + id: Carpets + name: lathe-category-carpets + +- type: latheCategory + id: Coats + name: lathe-category-coats + +- type: latheCategory + id: Command + name: lathe-category-command + +- type: latheCategory + id: Hats + name: lathe-category-hats + +- type: latheCategory + id: Jumpsuits + name: lathe-category-jumpsuits + +- type: latheCategory + id: Neck + name: lathe-category-neck diff --git a/Resources/Prototypes/Recipes/Lathes/clothing.yml b/Resources/Prototypes/Recipes/Lathes/clothing.yml index 6279cc2156..4558809e94 100644 --- a/Resources/Prototypes/Recipes/Lathes/clothing.yml +++ b/Resources/Prototypes/Recipes/Lathes/clothing.yml @@ -3,6 +3,8 @@ - type: latheRecipe abstract: true id: BaseJumpsuitRecipe + categories: + - Jumpsuits completetime: 4 materials: Cloth: 300 @@ -11,6 +13,9 @@ abstract: true parent: BaseJumpsuitRecipe id: BaseCommandJumpsuitRecipe + categories: + - Jumpsuits + - Command materials: Cloth: 300 Durathread: 100 @@ -18,6 +23,8 @@ - type: latheRecipe abstract: true id: BaseCoatRecipe + categories: + - Coats completetime: 3.2 # don't ask why its faster than a jumpsuit?? materials: Cloth: 500 @@ -27,6 +34,9 @@ abstract: true parent: BaseCoatRecipe id: BaseCommandCoatRecipe + categories: + - Coats + - Command materials: Cloth: 500 Durathread: 300 @@ -34,6 +44,8 @@ - type: latheRecipe abstract: true id: BaseHatRecipe + categories: + - Hats completetime: 2 materials: Cloth: 100 @@ -42,6 +54,9 @@ abstract: true parent: BaseHatRecipe id: BaseCommandHatRecipe + categories: + - Hats + - Command materials: Cloth: 100 Durathread: 50 @@ -49,11 +64,13 @@ - type: latheRecipe abstract: true id: BaseNeckClothingRecipe + categories: + - Neck completetime: 2 materials: Cloth: 200 -# Recipes +## Recipes # Jumpsuits/skirts - type: latheRecipe -- 2.51.2