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