]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Holoprojectors crafted at lathes no longer come with a cell (#26405)
authorCallmore <22885888+Callmore@users.noreply.github.com>
Mon, 25 Mar 2024 00:55:48 +0000 (00:55 +0000)
committerGitHub <noreply@github.com>
Mon, 25 Mar 2024 00:55:48 +0000 (17:55 -0700)
Adds versions of the holoprojectors (janitoral, fan, and field) that start without a battery and changes the lathe recipe to use these instead. This is consistant with flashlights, which when made do not start with a cell.

Also it's a bit silly to have cargo printing a bunch of these to sell.

Resources/Prototypes/Entities/Objects/Devices/holoprojectors.yml
Resources/Prototypes/Recipes/Lathes/janitorial.yml
Resources/Prototypes/Recipes/Lathes/tools.yml

index 0066e3fbe86050f6662d4dc1296f6528d4935a84..0c8b539c5903308342b273ced1c47078fbbe8d99 100644 (file)
     tags:
       - HolosignProjector
 
+- type: entity
+  parent: Holoprojector
+  id: HoloprojectorEmpty
+  suffix: Empty
+  components:
+  - type: ItemSlots
+    slots:
+      cell_slot:
+        name: power-cell-slot-component-slot-name-default
+
 - type: entity
   parent: Holoprojector
   id: HoloprojectorBorg
   - type: StaticPrice
     price: 80
 
+- type: entity
+  parent: HolofanProjector
+  id: HolofanProjectorEmpty
+  suffix: Empty
+  components:
+  - type: ItemSlots
+    slots:
+      cell_slot:
+        name: power-cell-slot-component-slot-name-default
+
 - type: entity
   parent: Holoprojector
   id: HoloprojectorField
     - type: StaticPrice
       price: 130
 
+- type: entity
+  parent: HoloprojectorField
+  id: HoloprojectorFieldEmpty
+  suffix: Empty
+  components:
+  - type: ItemSlots
+    slots:
+      cell_slot:
+        name: power-cell-slot-component-slot-name-default
+
 - type: entity
   parent: Holoprojector
   id: HoloprojectorSecurity
index 2fd153852f8726f552b5459b6227e2ea4d28861c..a3b968a331b6786c945663f92753228fccb29e5e 100644 (file)
@@ -66,7 +66,7 @@
 
 - type: latheRecipe
   id: Holoprojector
-  result: Holoprojector
+  result: HoloprojectorEmpty
   completetime: 3
   materials:
     Plastic: 250
index 21aabce49f1266f8649390b3cbbf3e726a218950..95974d9837ab483d58b37824e79bfb11040f569e 100644 (file)
 
 - type: latheRecipe
   id: HolofanProjector
-  result: HolofanProjector
+  result: HolofanProjectorEmpty
   category: Tools
   completetime: 8
-  materials: # Inherited materials and time from PowerCellMedium recipe
-    Steel: 600
-    Glass: 350
-    Plastic: 150
-    Gold: 10
+  materials:
+    Steel: 300
+    Glass: 50
+    Plastic: 50
 
 - type: latheRecipe
   id: MiningDrill
 
 - type: latheRecipe
   id: HoloprojectorField
-  result: HoloprojectorField
+  result: HoloprojectorFieldEmpty
   category: Tools
   completetime: 3
   materials: