From 5f2fb8dc82e388feb72f94af52066596b4e315d7 Mon Sep 17 00:00:00 2001 From: OnyxTheBrave <131422822+OnyxTheBrave@users.noreply.github.com> Date: Fri, 25 Apr 2025 22:22:51 -0500 Subject: [PATCH] Sheet-meister 2000 Cloth recipe (#32676) * Sheet-meister 2000 can now make rolls of cloth * Small Cleanup * resolve conflicts --------- Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com> --- Resources/Locale/en-US/materials/materials.ftl | 1 + Resources/Locale/en-US/materials/units.ftl | 2 ++ .../Prototypes/Entities/Objects/Materials/materials.yml | 6 ++++++ .../Prototypes/Entities/Structures/Machines/lathe.yml | 1 + Resources/Prototypes/Reagents/Materials/materials.yml | 8 ++++++++ Resources/Prototypes/Recipes/Lathes/Packs/sheetifier.yml | 1 + Resources/Prototypes/Recipes/Lathes/sheet.yml | 7 +++++++ Resources/Prototypes/tags.yml | 3 +++ 8 files changed, 29 insertions(+) diff --git a/Resources/Locale/en-US/materials/materials.ftl b/Resources/Locale/en-US/materials/materials.ftl index 0fc716bda5..657b7f5f0f 100644 --- a/Resources/Locale/en-US/materials/materials.ftl +++ b/Resources/Locale/en-US/materials/materials.ftl @@ -27,6 +27,7 @@ materials-bones = bone materials-coal = coal materials-diamond = diamond materials-gunpowder = gunpowder +materials-cotton = cotton # Ores materials-raw-iron = raw iron diff --git a/Resources/Locale/en-US/materials/units.ftl b/Resources/Locale/en-US/materials/units.ftl index bff854086b..ea35ecdad3 100644 --- a/Resources/Locale/en-US/materials/units.ftl +++ b/Resources/Locale/en-US/materials/units.ftl @@ -16,6 +16,8 @@ materials-unit-slab = slab materials-unit-web = web # chunks of ore materials-unit-chunk = chunk +# boll of cotton +materials-unit-boll = boll # bills of spesos... not very good but they are not (yet?) used for crafting anything # also the lathe/atm would need bigger denominations to output... diff --git a/Resources/Prototypes/Entities/Objects/Materials/materials.yml b/Resources/Prototypes/Entities/Objects/Materials/materials.yml index a5d097d86d..ea718c0744 100644 --- a/Resources/Prototypes/Entities/Objects/Materials/materials.yml +++ b/Resources/Prototypes/Entities/Objects/Materials/materials.yml @@ -438,9 +438,15 @@ tags: - ClothMade - RawMaterial + - Boll + - type: Material + - type: PhysicalComposition + materialComposition: + Cotton: 100 - type: Item heldPrefix: cotton + - type: entity parent: MaterialCotton id: MaterialCotton1 diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 3b4b9cf5d2..7d82ddf10e 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -653,6 +653,7 @@ tags: - Raw - Wooden + - Boll - type: Lathe idleState: base_machine runningState: base_machine_processing diff --git a/Resources/Prototypes/Reagents/Materials/materials.yml b/Resources/Prototypes/Reagents/Materials/materials.yml index 96eaf136d3..9d8484e9f0 100644 --- a/Resources/Prototypes/Reagents/Materials/materials.yml +++ b/Resources/Prototypes/Reagents/Materials/materials.yml @@ -100,6 +100,14 @@ color: "#eeeeee" #eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee price: 0 # Maybe better for it to be priceless, knowing how greedy cargo is. +- type: material + id: Cotton + name: materials-cotton + unit: materials-unit-boll + icon: { sprite: Objects/Materials/materials.rsi, state: cotton } + color: "#cccccc" + price: 0.01 #Who knew cotton was infinitely more valuable than silk + - type: material id: Bones name: materials-bones diff --git a/Resources/Prototypes/Recipes/Lathes/Packs/sheetifier.yml b/Resources/Prototypes/Recipes/Lathes/Packs/sheetifier.yml index 18aaef55c6..6406c1b211 100644 --- a/Resources/Prototypes/Recipes/Lathes/Packs/sheetifier.yml +++ b/Resources/Prototypes/Recipes/Lathes/Packs/sheetifier.yml @@ -5,3 +5,4 @@ recipes: - MaterialSheetMeat - SheetPaper + - MaterialClothCotton diff --git a/Resources/Prototypes/Recipes/Lathes/sheet.yml b/Resources/Prototypes/Recipes/Lathes/sheet.yml index 0712211972..82ceceee77 100644 --- a/Resources/Prototypes/Recipes/Lathes/sheet.yml +++ b/Resources/Prototypes/Recipes/Lathes/sheet.yml @@ -244,3 +244,10 @@ completetime: 1 materials: Wood: 50 + +- type: latheRecipe + id: MaterialClothCotton + result: MaterialCloth1 + completetime: 1 + materials: + Cotton: 200 #my pyrocloth keeps catching on fire whenever I make it! diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index 65e02c3ea5..682b561f0f 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -78,6 +78,9 @@ - type: Tag id: BodyBag +- type: Tag + id: Boll + - type: Tag id: Book