From: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Date: Wed, 15 Feb 2023 19:24:00 +0000 (-0500) Subject: vendomat inventory (#14120) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d8b07decf21f1034360a7aaa85723854f72cff63;p=space-station-14.git vendomat inventory (#14120) --- diff --git a/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-vending.ftl b/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-vending.ftl index a303f0d637..9e5c6575b3 100644 --- a/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-vending.ftl +++ b/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-vending.ftl @@ -43,6 +43,9 @@ ent-CrateVendingMachineRestockSmokes = { ent-CrateVendingMachineRestockSmokesFil ent-CrateVendingMachineRestockSnacks = { ent-CrateVendingMachineRestockSnacksFilled } .desc = { ent-CrateVendingMachineRestockSnacksFilled.desc } +ent-CrateVendingMachineRestockVendomat = { ent-CrateVendingMachineRestockVendomatFilled } + .desc = { ent-CrateVendingMachineRestockVendomatFilled.desc } + ent-CrateVendingMachineRestockTankDispenser = { ent-CrateVendingMachineRestockTankDispenserFilled } .desc = { ent-CrateVendingMachineRestockTankDispenserFilled.desc } diff --git a/Resources/Locale/en-US/prototypes/catalog/fills/crates/vending-crates.ftl b/Resources/Locale/en-US/prototypes/catalog/fills/crates/vending-crates.ftl index acfe23c985..a33f93f678 100644 --- a/Resources/Locale/en-US/prototypes/catalog/fills/crates/vending-crates.ftl +++ b/Resources/Locale/en-US/prototypes/catalog/fills/crates/vending-crates.ftl @@ -43,6 +43,9 @@ ent-CrateVendingMachineRestockSmokesFilled = ShadyCigs restock crate ent-CrateVendingMachineRestockSnacksFilled = Snack restock crate .desc = Contains four restock boxes, each covering a different snack vendor. Mr. Chang's, Discount Dans, Robust Donuts, and Getmore Chocolate are featured on the advertisement. +ent-CrateVendingMachineRestockVendomatFilled = Vendomat restock crate + .desc = Contains a restock box for a Vendomat vending machine. + ent-CrateVendingMachineRestockTankDispenserFilled = Tank dispenser restock crate .desc = Contains a restock box for an Engineering or Atmospherics tank dispenser. diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml index f44445894c..72b82541d3 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml @@ -156,6 +156,16 @@ category: Service group: market +- type: cargoProduct + id: CrateVendingMachineRestockVendomat + icon: + sprite: Objects/Specific/Service/vending_machine_restock.rsi + state: base + product: CrateVendingMachineRestockVendomatFilled + cost: 1200 + category: Service + group: market + - type: cargoProduct id: CrateVendingMachineRestockTankDispenser icon: diff --git a/Resources/Prototypes/Catalog/Fills/Crates/vending.yml b/Resources/Prototypes/Catalog/Fills/Crates/vending.yml index 284603b465..3de97fa654 100644 --- a/Resources/Prototypes/Catalog/Fills/Crates/vending.yml +++ b/Resources/Prototypes/Catalog/Fills/Crates/vending.yml @@ -125,6 +125,14 @@ - id: VendingMachineRestockDonut - id: VendingMachineRestockGetmoreChocolateCorp +- type: entity + id: CrateVendingMachineRestockVendomatFilled + parent: CratePlastic + components: + - type: StorageFill + contents: + - id: VendingMachineRestockVendomat + - type: entity id: CrateVendingMachineRestockTankDispenserFilled parent: CratePlastic diff --git a/Resources/Prototypes/Catalog/VendingMachines/Inventories/vendomat.yml b/Resources/Prototypes/Catalog/VendingMachines/Inventories/vendomat.yml index 0e30abe42a..c78135ab87 100644 --- a/Resources/Prototypes/Catalog/VendingMachines/Inventories/vendomat.yml +++ b/Resources/Prototypes/Catalog/VendingMachines/Inventories/vendomat.yml @@ -1,2 +1,13 @@ - type: vendingMachineInventory id: VendomatInventory + startingInventory: + RemoteSignaller: 1 + Wirecutter: 1 + CableApcStack: 2 + FlashlightLantern: 2 + PowerCellSmallPrinted: 3 + MicroLaserStockPart: 4 + MatterBinStockPart: 4 + CapacitorStockPart: 4 + MicroManipulatorStockPart: 4 + ScanningModuleStockPart: 4 \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Objects/Specific/Service/vending_machine_restock.yml b/Resources/Prototypes/Entities/Objects/Specific/Service/vending_machine_restock.yml index 5da6383862..f44226549c 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Service/vending_machine_restock.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Service/vending_machine_restock.yml @@ -364,6 +364,22 @@ shader: unshaded - state: refill_tanks +- type: entity + parent: BaseVendingMachineRestock + id: VendingMachineRestockVendomat + name: vendomat restock box + description: A box full of parts for various machinery. Load it into a Vendomat to begin. + components: + - type: VendingMachineRestock + canRestock: + - VendomatInventory + - type: Sprite + layers: + - state: base + - state: green_bit + shader: unshaded + - state: refill_parts + - type: entity parent: BaseVendingMachineRestock id: VendingMachineRestockHappyHonk