Readds Ammovend (#3542)

* Initial

* Maint Panel

* Woops
This commit is contained in:
Swept
2021-03-07 19:17:58 +00:00
committed by GitHub
parent 0b7fa92afb
commit 88c39bf12d
8 changed files with 61 additions and 1 deletions

View File

@@ -53,6 +53,32 @@
- type: Anchorable
- type: Pullable
- type: entity
parent: VendingMachine
id: VendingMachineAmmo
name: Liberation Station
description: An overwhelming amount of ancient patriotism washes over you just by looking at the machine.
# Ads cause I remember somebody was working on these
# product_slogans = "Liberation Station: Your one-stop shop for all things second amendment!;Be a patriot today, pick up a gun!;Quality weapons for cheap prices!;Better dead than red!"
# product_ads = "Float like an astronaut, sting like a bullet!;Express your second amendment today!;Guns don't kill people, but you can!;Who needs responsibilities when you have guns?"
components:
- type: VendingMachine
pack: AmmoVend
- type: Sprite
sprite: Constructible/Power/VendingMachines/ammo.rsi
layers:
- state: "off"
map: ["enum.VendingMachineVisualLayers.Unlit"]
- state: "off"
map: ["enum.VendingMachineVisualLayers.BaseUnshaded"]
shader: unshaded
- type: Appearance
visuals:
- type: VendingMachineVisualizer
normalUnshaded: true
broken: true
- type: WiresVisualizer
- type: entity
parent: VendingMachine
id: VendingMachineBooze
@@ -68,7 +94,7 @@
- state: "off"
map: ["enum.VendingMachineVisualLayers.BaseUnshaded"]
shader: unshaded
- texture: Constructible/Power/VendingMachines/maintenance_panel.png
- state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: Appearance
visuals:

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

View File

@@ -0,0 +1,31 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/21d5a65346cfdaa61e86410cf9323e4e03a362d9",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "broken"
},
{
"name": "normal-unshaded",
"delays": [
[
5,
0.1,
0.6,
0.1
]
]
},
{
"name": "off"
},
{
"name": "panel"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 B

View File

@@ -42,6 +42,9 @@
},
{
"name": "off"
},
{
"name": "panel"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B