diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_food.yml b/Resources/Prototypes/Catalog/Cargo/cargo_food.yml index 890d64589e..059c983402 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_food.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_food.yml @@ -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 diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml index 393120430c..40c4adb2e4 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_vending.yml @@ -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 + 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 727d1f2e2e..e7f1439ed7 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Service/vending_machine_restock.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Service/vending_machine_restock.yml @@ -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 diff --git a/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml b/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml index e5ecb07ede..ffcb5b0f7c 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/vending_machines.yml @@ -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: