]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Makes a syndicate chemvend so they dont have to hack it on nukie planet. (#21416)
authorIProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com>
Fri, 3 Nov 2023 19:56:48 +0000 (15:56 -0400)
committerGitHub <noreply@github.com>
Fri, 3 Nov 2023 19:56:48 +0000 (13:56 -0600)
Adds a few goodies to the vendor's inventories.

Resources/Maps/nukieplanet.yml
Resources/Prototypes/Catalog/VendingMachines/Inventories/chemvend.yml
Resources/Prototypes/Entities/Objects/Specific/chemical-containers.yml
Resources/Prototypes/Entities/Objects/Specific/chemistry-bottles.yml
Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml

index 3ce69a4dc78bdc7cd03e23e0c3d097447d93e789..0a0dbb3779a2e52cae078977bb1ad4c6fd0cbe22 100644 (file)
@@ -13523,7 +13523,7 @@ entities:
     - pos: -10.5,7.5\r
       parent: 104\r
       type: Transform\r
-- proto: VendingMachineChemicals\r
+- proto: VendingMachineChemicalsSyndicate\r
   entities:\r
   - uid: 1335\r
     components:\r
index 1c540feda2f2cdf60ab822330db015bbbd679e1c..af5c774559d5e924185ee779f4129cc8fd01e670 100644 (file)
     JugSulfur: 2
   emaggedInventory:
     ToxinChemistryBottle: 1
+
+- type: vendingMachineInventory
+  id: ChemVendInventorySyndicate
+  startingInventory:
+    Jug: 4
+    JugAluminium: 2
+    JugCarbon: 2
+    JugChlorine: 2
+    JugCopper: 2
+    JugEthanol: 2
+    JugFluorine: 2
+    JugHydrogen: 2
+    JugIodine: 2
+    JugIron: 2
+    JugLithium: 2
+    JugMercury: 2
+    JugNitrogen: 2
+    JugOxygen: 2
+    JugPhosphorus: 2
+    JugPotassium: 2
+    JugRadium: 2
+    JugSilicon: 2
+    JugSodium: 2
+    JugSugar: 2
+    JugSulfur: 2
+    JugWeldingFuel: 1
+  emaggedInventory:
+    PaxChemistryBottle: 3
+    MuteToxinChemistryBottle: 3
+    LeadChemistryBottle: 2
+    ToxinChemistryBottle: 1
+    
index 51d705f617db5d3751dde8125b2e59cf795c35d1..ba422313e3ddf2272e08bcf52ac9a292068c2408 100644 (file)
           reagents:
             - ReagentId: PlantBGone
               Quantity: 200
+
+- type: entity
+  parent: Jug
+  name: jug (welding fuel)
+  id: JugWeldingFuel
+  noSpawn: true
+  components:
+    - type: Label
+      currentLabel: welding fuel
+    - type: SolutionContainerManager
+      solutions:
+        beaker:
+          reagents:
+            - ReagentId: WeldingFuel
+              Quantity: 200
index 59bf0927aa8933f9ebee6b234bc76e2c4d765868..4c6e03c578c7d96ed7e5485ee751904cd0befe3c 100644 (file)
     tags:
     - Bottle
 
+- type: entity
+  id: PaxChemistryBottle
+  name: pax bottle
+  parent: BaseChemistryEmptyBottle
+  components:
+    - type: SolutionContainerManager
+      solutions:
+        drink:
+          maxVol: 30
+          reagents:
+            - ReagentId: Pax
+              Quantity: 30
+    - type: Tag
+      tags:
+        - Bottle
+
+- type: entity
+  id: MuteToxinChemistryBottle
+  name: mute toxin bottle
+  parent: BaseChemistryEmptyBottle
+  components:
+    - type: SolutionContainerManager
+      solutions:
+        drink:
+          maxVol: 30
+          reagents:
+            - ReagentId: MuteToxin
+              Quantity: 30
+    - type: Tag
+      tags:
+        - Bottle
+
+- type: entity
+  id: LeadChemistryBottle
+  name: lead bottle
+  parent: BaseChemistryEmptyBottle
+  components:
+    - type: SolutionContainerManager
+      solutions:
+        drink:
+          maxVol: 30
+          reagents:
+            - ReagentId: Lead
+              Quantity: 30
+    - type: Tag
+      tags:
+        - Bottle
+
 - type: entity
   id: ToxinChemistryBottle
   name: toxin bottle
index 839ae47ef5637bf05300f06894f70dacbbe078fb..02443f1e27da770233a752a37deb6fbe3c2fc7b6 100644 (file)
     brokenState: broken
     normalState: normal
     denyState: deny
-    ejectDelay: 3
+    ejectDelay: 2
   - type: Sprite
     sprite: Structures/Machines/VendingMachines/chemvend.rsi
     layers:
   - type: GuideHelp
     guides:
     - Chemicals
+
+- type: entity
+  parent: VendingMachineChemicals
+  id: VendingMachineChemicalsSyndicate
+  name: SyndieJuice
+  description: Not made with freshly squeezed syndies I hope.
+  components:
+  - type: VendingMachine
+    pack: ChemVendInventorySyndicate
+    offState: off
+    brokenState: broken
+    normalState: normal
+    denyState: deny
+    ejectDelay: 2
+  - type: AccessReader
+    access: [["SyndicateAgent"]]
+