]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Wallmount substations can once again be created (#27138)
authorosjarw <62134478+osjarw@users.noreply.github.com>
Sat, 20 Apr 2024 01:14:57 +0000 (04:14 +0300)
committerGitHub <noreply@github.com>
Sat, 20 Apr 2024 01:14:57 +0000 (11:14 +1000)
* Wallmount substation once again obtainable

* Fill mapped wallmount substations with components

Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Resources/Prototypes/Entities/Structures/Power/substation.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/wallmount_substation.yml
Resources/Prototypes/Recipes/Lathes/electronics.yml

index c23061e477b768747da30eebc4130e5108d26205..b1d2469af24ca425e4f4eaa92e3dcca2657b96f3 100644 (file)
       - APCElectronics
       - SMESMachineCircuitboard
       - SubstationMachineCircuitboard
+      - WallmountSubstationElectronics
       - CellRechargerCircuitboard
       - BorgChargerCircuitboard
       - WeaponCapacitorRechargerCircuitboard
index 4bd0bec5ea05d20fea4f6998b33757cf6b9fd64a..347b18ecaee93aa942227fdebf3c965a923ba51c 100644 (file)
   - type: Battery
     maxCharge: 2000000
     startingCharge: 2000000
+  - type: ContainerFill
+    containers:
+      board: [ WallmountSubstationElectronics ]
+      capacitor: [ CapacitorStockPart ]
+      powercell: [ PowerCellSmall ]
+  - type: ContainerContainer
+    containers:
+      board: !type:Container
+      capacitor: !type:Container
+      powercell: !type:Container
 
 # Construction Frame
 - type: entity
index 381871f94af17599e85bd8f769f1cdc0514f4de6..7e4087b20a21b7d7d2f9ed9ec099200d7feb5e6d 100644 (file)
         steps:
         - material: Cable
           amount: 5
-          doAfter: 2
+          doAfter: 0.5
+        - material: CableMV
+          amount: 5
+          doAfter: 0.5
+        - material: CableHV
+          amount: 5
+          doAfter: 0.5
         - tool: Screwing
           doAfter: 2
 
           icon:
             sprite: "Objects/Misc/module.rsi"
             state: "charger_APC"
-          doAfter: 1
+          doAfter: 0.5
+        - anyTags:
+            - PowerCell
+            - PowerCellSmall
+          store: powercell
+          name: a powercell
+          icon:
+            sprite: "Objects/Power/power_cells.rsi"
+            state: "medium"
+          doAfter: 0.5
+        - tag: CapacitorStockPart
+          name: a capacitor
+          store: capacitor
+          icon:
+            sprite: "Objects/Misc/stock_parts.rsi"
+            state: "capacitor"
+          doAfter: 0.5
       - to: frame
         completed:
         - !type:GivePrototype
           prototype: CableApcStack1
           amount: 5
+        - !type:GivePrototype
+          prototype: CableMVStack1
+          amount: 5
+        - !type:GivePrototype
+          prototype: CableHVStack1
+          amount: 5
         steps:
         - tool: Cutting
           doAfter: 1
index c9998c4c34b4d849e56b0eb909e62fdc9934ffa5..60c0fc15247ade4e5326387cffcfd7ba810bf4c5 100644 (file)
   completetime: 4
   materials:
      Steel: 50
-     Glass: 350
+     Glass: 450
 
 - type: latheRecipe
   id: SMESMachineCircuitboard