Skip to content

Commit

Permalink
Add sustenance vendor restock (#2307)
Browse files Browse the repository at this point in the history
Co-authored-by: Milon <[email protected]>
  • Loading branch information
Kr8art and MilonPL authored Nov 29, 2024
1 parent c084a4f commit 5daceb2
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 3 deletions.
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.

0 comments on commit 5daceb2

Please sign in to comment.