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,3 @@
advertisement-donut-1 = Each of us is a little cop!
advertisement-donut-2 = Hope you're hunger!
advertisement-donut-3 = Over 1 million donuts sold!

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

View File

@@ -0,0 +1,34 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from TauCetiStation at https://github.com/TauCetiStation/TauCetiClassic/commit/8f79f8dac1d41d5050262e1669c83e9d0fff245f",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "normal-unshaded",
"delays": [
[
2.5, 0.2, 0.2, 0.2,
2.5, 0.2, 0.2, 0.2,
2.5, 0.2, 0.2, 0.2,
2.5, 0.2, 0.2, 0.2,
2.5, 0.2, 0.2, 0.2,
2.5, 0.2, 0.2, 0.2,
2.5, 0.2, 0.2, 0.2
]
]
},
{
"name": "broken"
},
{
"name": "off"
},
{
"name": "panel"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 B