Donut-Vend add (#9703)

* donut-vend

* after_review

* emogarbagechoice

* after_2_review

* added_emagged

* miss

Co-authored-by: wrexbe <81056464+wrexbe@users.noreply.github.com>
This commit is contained in:
Deahaka
2022-07-31 05:58:57 +03:00
committed by GitHub
parent 920572298b
commit 2d2516b58c
10 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
- type: advertisementsPack
id: DonutAds
advertisements:
- advertisement-donut-1
- advertisement-donut-2
- advertisement-donut-3

View File

@@ -0,0 +1,11 @@
- type: vendingMachineInventory
id: DonutInventory
name: Donut
spriteName: donut
startingInventory:
FoodDonutChocolate: 5
FoodDonutApple: 3
FoodDonutPink: 3
FoodDonutBungo: 3
emaggedInventory:
FoodDonutPoison: 1

View File

@@ -405,3 +405,16 @@
- ReagentId: Vitamin
Quantity: 1
# Tastes like jelly-donut, fizzy tutti frutti.
# Poison donut
- type: entity
parent: FoodDonutPink
id: FoodDonutPoison
components:
- type: SolutionContainerManager
solutions:
food:
maxVol: 10
reagents:
- ReagentId: Amatoxin
Quantity: 10

View File

@@ -919,6 +919,40 @@
energy: 1.6
color: "#9dc5c9"
- type: entity
parent: VendingMachine
id: VendingMachineDonut
name: Monkin' Donuts
description: A donut vendor provided by Robust Industries, LLC.
components:
- type: VendingMachine
pack: DonutInventory
dispenseOnHitChance: 0.25
dispenseOnHitThreshold: 2
- type: Advertise
pack: DonutAds
- type: Speech
- type: Sprite
sprite: Structures/Machines/VendingMachines/donut.rsi
layers:
- state: "off"
map: ["enum.VendingMachineVisualLayers.Unlit"]
- state: "off"
map: ["enum.VendingMachineVisualLayers.BaseUnshaded"]
shader: unshaded
- state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: Appearance
visuals:
- type: VendingMachineVisualizer
normalUnshaded: true
broken: true
- type: WiresVisualizer
- type: PointLight
radius: 1.5
energy: 1.6
color: "#d4ab33"
# job clothing
- type: entity