Skip to content
10 changes: 10 additions & 0 deletions Resources/Prototypes/Catalog/Cargo/cargo_food.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,13 @@
cost: 2000
category: cargoproduct-category-name-food
group: market

- type: cargoProduct
id: CrateFoodSustenance
icon:
sprite: Objects/Consumable/Food/mre.rsi
state: mre-closed
product: VendingMachineRestockSustenanceVendor
cost: 800
category: cargoproduct-category-name-food
group: market
14 changes: 14 additions & 0 deletions Resources/Prototypes/Catalog/Cargo/cargo_vending.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,17 @@
cost: 600
category: cargoproduct-category-name-service
group: market

- type: cargoProduct
id: CrateVendingMachineRestockSustenance
icon:
sprite: Objects/Specific/Service/vending_machine_restock.rsi
state: base
product: VendingMachineRestockSustenanceVendor
container:
entity: WrappedParcel
containerId: contents
cost: 800
category: cargoproduct-category-name-service
group: market

Original file line number Diff line number Diff line change
Expand Up @@ -494,3 +494,20 @@
- state: green_bit
shader: unshaded
- state: refill_medical

# starcup: added sustenance vendor restock
- type: entity
parent: BaseVendingMachineRestock
id: VendingMachineRestockSustenanceVendor
name: Sustenance Vendor restock box
description: A box loaded with the worst of the worst in terms of... "sustenance." They couldn't even bother to paint anything unique on the box. Load it into a Sustenance Vendor to begin.
components:
- type: VendingMachineRestock
canRestock:
- SustenanceInventory
- type: Sprite
layers:
- state: base
- state: green_bit
shader: unshaded
- state: refill_snack
Original file line number Diff line number Diff line change
Expand Up @@ -1140,6 +1140,7 @@
normalState: normal-unshaded
ejectState: eject-unshaded
denyState: deny-unshaded
initialStockQuality: 0.8
- type: Sprite
sprite: Structures/Machines/VendingMachines/sustenance.rsi
layers:
Expand Down
Loading