Salvage vendor (#10112)

* adds basics for salvage vendor

* adds floodlights to vendor

* adds knife and pka to vendor

* adds the mining vendor sprite

* fixes flashlight ID...smh
This commit is contained in:
Peptide90
2022-07-31 03:31:50 +01:00
committed by GitHub
parent 406b8213b9
commit 53ff974e67
9 changed files with 86 additions and 6 deletions

View File

@@ -1,6 +0,0 @@
- type: vendingMachineInventory
id: DwarvenMiningEquipmentInventory
name: Dwarven Mining Equipment
spriteName: mining
startingInventory:
Pickaxe: 4

View File

@@ -0,0 +1,15 @@
- type: vendingMachineInventory
id: SalvageEquipmentInventory
name: Salvage Equipment
spriteName: mining
startingInventory:
Crowbar: 2
Pickaxe: 4
OreBag: 4
Flare: 4
FlashlightLantern: 2
Floodlight: 2
HandheldGPSBasic: 2
RadioHandheld: 2
WeaponProtoKineticAccelerator: 2
SurvivalKnife: 2

View File

@@ -887,6 +887,38 @@
energy: 1.6
color: "#ffe599"
- type: entity
parent: VendingMachine
id: VendingMachineSalvage
name: salvage vendor
description: A dwarves best friend!
components:
- type: VendingMachine
pack: SalvageEquipmentInventory
- type: Sprite
sprite: Structures/Machines/VendingMachines/mining.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
eject: true
ejectUnshaded: false
denyUnshaded: true
broken: true
- type: WiresVisualizer
- type: PointLight
radius: 1.5
energy: 1.6
color: "#9dc5c9"
# job clothing
- type: entity

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

View File

@@ -0,0 +1,39 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "taken from tgstation at source. Modified by Peptide90 to work with SS14. Broken state by Peptide based on off.",
"source": "https://github.com/tgstation/tgstation/commit/2b7f2c42f1bd57497052e8ef593d5e05ea45208e",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "normal-unshaded",
"delays": [
[
4.7,
0.1
]
]
},
{
"name": "deny-unshaded",
"delays": [
[
0.13,
0.13
]
]
},
{
"name": "off"
},
{
"name": "broken"
},
{
"name": "panel"
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 665 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B