vendomat inventory (#14120)

This commit is contained in:
Nemanja
2023-02-15 14:24:00 -05:00
committed by GitHub
parent 1708522690
commit d8b07decf2
6 changed files with 51 additions and 0 deletions

View File

@@ -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 }

View File

@@ -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.

View File

@@ -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:

View File

@@ -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

View File

@@ -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

View File

@@ -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