Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sustenance vendor restock #2307

Merged
merged 3 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
ent-CrateVendingMachineRestockPrideFilled = Pride-O-Mat restock crate
.desc = Contains a restock box for the Pride-O-Mat.
.desc = Contains a restock box for the Pride-O-Mat.

ent-CrateVendingMachineRestockSustenanceFilled = Sustenance vendor restock crate
.desc = Contains a restock box for the sustenance vendor.
10 changes: 10 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_vending.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@
cost: 1100
category: Service
group: market

- type: cargoProduct
id: CrateVendingMachineRestockSustenance
icon:
sprite: Objects/Specific/Service/vending_machine_restock.rsi
state: base
product: CrateVendingMachineRestockSustenanceFilled
cost: 750
category: Service
group: market
10 changes: 9 additions & 1 deletion Resources/Prototypes/DeltaV/Catalog/Fills/Crates/vending.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@
components:
- type: StorageFill
contents:
- id: VendingMachineRestockPride
- id: VendingMachineRestockPride

- type: entity
id: CrateVendingMachineRestockSustenanceFilled
parent: CratePlastic
components:
- type: StorageFill
contents:
- id: VendingMachineRestockSustenance
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,19 @@
- state: green_bit
shader: unshaded
- state: refill_pride

- type: entity
parent: BaseVendingMachineRestockDeltaV
id: VendingMachineRestockSustenance
name: Sustenance vendor restock box
description: Prisoners have to eat too. Nobody said they had to eat well.
components:
- type: VendingMachineRestock
canRestock:
- SustenanceInventory
- type: Sprite
layers:
- state: base
- state: green_bit
shader: unshaded
- state: refill_sustenance
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Original source: https://github.com/tgstation/tgstation/blob/master/icons/obj/vending_restock.dmi @ commit 014c44ef6279beb02a5f3e76824439fa57181c22 - Additions and cleanup by @Vordenburg. Refill_pride made by Dorragon for Delta-V",
"copyright": "Original source: https://github.com/tgstation/tgstation/blob/master/icons/obj/vending_restock.dmi @ commit 014c44ef6279beb02a5f3e76824439fa57181c22 - Additions and cleanup by @Vordenburg. Refill_pride made by Dorragon for Delta-V. refill_sustenance made by Kr8 for Delta-V",
"size": {
"x": 32,
"y": 32
Expand All @@ -23,6 +23,9 @@
},
{
"name": "refill_pride"
},
{
"name": "refill_sustenance"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading