]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Adds more sources for sheet paper material (#21364)
authorRiceMar1244 <138547931+RiceMar1244@users.noreply.github.com>
Mon, 6 Nov 2023 02:14:02 +0000 (21:14 -0500)
committerGitHub <noreply@github.com>
Mon, 6 Nov 2023 02:14:02 +0000 (19:14 -0700)
* Moves sheetifier research unlock from civilian services to industrial

* Makes wood insertable into the sheetifier and makes paper a lathable material

* Adds a paper crate to the cargo catalog

* Adds localizations

12 files changed:
Resources/Locale/en-US/materials/materials.ftl
Resources/Locale/en-US/prototypes/catalog/cargo/cargo-materials.ftl
Resources/Locale/en-US/prototypes/catalog/fills/crates/materials-crates.ftl
Resources/Prototypes/Catalog/Cargo/cargo_materials.yml
Resources/Prototypes/Catalog/Fills/Crates/materials.yml
Resources/Prototypes/Entities/Objects/Materials/Sheets/other.yml
Resources/Prototypes/Entities/Objects/Materials/materials.yml
Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Resources/Prototypes/Reagents/Materials/materials.yml
Resources/Prototypes/Recipes/Lathes/sheet.yml
Resources/Prototypes/Research/civilianservices.yml
Resources/Prototypes/Research/industrial.yml

index abd61d1065f0a913117d531057cf1295dce112e1..d515479a0e4396a45a65a5abea7b82c251971590 100644 (file)
@@ -18,6 +18,7 @@ materials-durathread = durathread
 materials-plasma = plasma
 materials-plastic = plastic
 materials-wood = wood
+materials-paper = paper
 materials-uranium = uranium
 materials-bananium = bananium
 materials-meat = meat
index 802b71eda9b883bbcd49635316469438ed993430..88e58b647e87fda5562cd4e6f78674c2c97b2ac2 100644 (file)
@@ -19,6 +19,9 @@ ent-MaterialPlasma = { ent-CrateMaterialPlasma }
 ent-CardboardMaterial = { ent-CrateMaterialCardboard }
     .desc = { ent-CrateMaterialCardboard.desc }
 
+ent-PaperMaterial = { ent-CrateMaterialPaper }
+    .desc = { ent-CrateMaterialPaper.desc }
+
 ent-MaterialFuelTank = { ent-WeldingFuelTankFull }
     .desc = { ent-WeldingFuelTankFull.desc }
 
index 505220730fe7d29a92f83a5194282bc426a060dd..c204215474ae2c35d802aa5c3ca481fad0536e6d 100644 (file)
@@ -21,3 +21,6 @@ ent-CrateMaterialPlasma = Solid plasma crate
 
 ent-CrateMaterialCardboard = Cardboard crate
     .desc = 60 pieces of cardboard.
+
+ent-CrateMaterialPaper = Paper crate
+    .desc = 90 sheets of paper.
index 98dc8671de160085d183ba847c0eb49d060bef95..bebc3fc3075d9a75326e6b6e7bc5ffdd1a7c990d 100644 (file)
   category: Materials
   group: market
 
+- type: cargoProduct
+  id: PaperMaterial
+  icon:
+    sprite: Objects/Materials/Sheets/other.rsi
+    state: paper_3
+  product: CrateMaterialPaper
+  cost: 1000
+  category: Materials
+  group: market
+
 - type: cargoProduct
   id: MaterialFuelTank
   icon:
@@ -86,4 +96,4 @@
   product: WaterTankFull
   cost: 1000
   category: Materials
-  group: market
\ No newline at end of file
+  group: market
index fd49ec339c17e9318f3734edb3e290659980248d..dc73a5106a9858ea7b9ce6b3f1ca8a8ef15574d1 100644 (file)
       - id: MaterialCardboard
         amount: 2
 
+- type: entity
+  id: CrateMaterialPaper
+  parent: CrateGenericSteel
+  components:
+  - type: StorageFill
+    contents:
+      - id: SheetPaper
+        amount: 3
+
 #- type: entity
 #  id: CrateMaterialHFuelTank
 #  name:  fueltank crate
index ed1a1e3da0c871a6492de71b0386feeff8494cb3..31fefb681efb33aca4ed796609cb66f5d5ccce88 100644 (file)
     - paper
     - paper_2
     - paper_3
+  - type: Material
+  - type: PhysicalComposition
+    materialComposition:
+      Paper: 100
   - type: Sprite
     state: paper_3
     layers:
index 4af2886c24554a0c03530c6c1c4fd1ae5ad0bc91..c74bec6a061970a5b154eb59c494a1c705b49ea1 100644 (file)
   - type: Appearance
   - type: Item
     heldPrefix: wood
+  - type: Tag
+    tags:
+    - Wooden
+    - DroneUsable
+    - RawMaterial
 
 - type: entity
   parent: MaterialWoodPlank
index fbd19d5fd070f674fe1b93071b14130a652ea637..38839d9f9fce1803df36971824ca295208caf6dc 100644 (file)
     whitelist:
       tags:
       - Raw
+      - Wooden
   - type: Lathe
     idleState: base_machine
     runningState: base_machine_processing
     canEjectStoredMaterials: false
     staticRecipes:
     - MaterialSheetMeat
+    - SheetPaper
index e9a0cad37df8e7c71e020a507060f07db144bd42..a8fc1744b3b5f22a67011d132ca670b47c267065 100644 (file)
   color: "#8291a1"
   price: 0.15 # 1-1 mix of plastic and cloth.
 
+- type: material
+  id: Paper
+  stackEntity: SheetPaper1
+  name: materials-paper
+  icon: { sprite: Objects/Materials/Sheets/other.rsi, state: paper }
+  color: "#d9d9d9"
+  price: 0.05 #same as wood
+
 - type: material
   id: Plasma
   stackEntity: SheetPlasma1
   unit: materials-unit-piece
   icon: { sprite: Objects/Materials/materials.rsi, state: bones }
   color: "#896f5e"
-  price: 0
\ No newline at end of file
+  price: 0
index cbfc0ca4527f203f5f1634ae216149520eb414fb..f724b96bc08176ccc2ab1a10c4d3a4ebab3a7931 100644 (file)
   completetime: 6.4
   materials:
     Meaterial: 200
+
+- type: latheRecipe
+  id: SheetPaper
+  result: SheetPaper1
+  completetime: 1
+  materials:
+    Wood: 50
index 9208775094470763b7ac52cea431c9914cb3257b..d82090719e133806bc1de2ffe86a57e5a53c2d31 100644 (file)
   cost: 5000
   recipeUnlocks:
   - FatExtractorMachineCircuitboard
-  - SheetifierMachineCircuitboard
 
 - type: technology
   id: HONKMech
index 58ff346e0eff6fe53908dfe8549baf0d07eab6d4..797ec2b7b7b33811515cef58d0ecc9ed23fe6b5b 100644 (file)
@@ -1,4 +1,4 @@
-# Tier 1
+# Tier 1
 
 - type: technology
   id: SalvageEquipment
@@ -54,6 +54,7 @@
   - AutolatheMachineCircuitboard
   - CircuitImprinterMachineCircuitboard
   - MaterialReclaimerMachineCircuitboard
+  - SheetifierMachineCircuitboard
 
 - type: technology
   id: PowerGeneration