Carcat night vision (#1046)
* carcat night vision * Update nightVision.yml
This commit is contained in:
26
Resources/Prototypes/_CP14/Entities/Actions/nightVision.yml
Normal file
26
Resources/Prototypes/_CP14/Entities/Actions/nightVision.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
- type: entity
|
||||
id: CP14ActionToggleNightVision
|
||||
name: Toggle Night Vision
|
||||
description: You begin to see the world in a special way that allows you to see even in total darkness.
|
||||
components:
|
||||
- type: InstantAction
|
||||
icon: Interface/VerbIcons/light.svg.192dpi.png
|
||||
clientExclusive: true
|
||||
checkCanInteract: false
|
||||
event: !type:CP14ToggleNightVisionEvent
|
||||
|
||||
- type: entity
|
||||
id: CP14NightVisionLight
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
- HideContextMenu
|
||||
- type: PointLight
|
||||
radius: 15
|
||||
energy: 1.3
|
||||
softness: 10
|
||||
color: "#ffa38c"
|
||||
netsync: false
|
||||
mask: /Textures/_CP14/Effects/LightMasks/crystal_cone.png
|
||||
autoRot: true
|
||||
@@ -38,6 +38,7 @@
|
||||
damage:
|
||||
types:
|
||||
Slash: 5 # 5 slash
|
||||
- type: CP14NightVision #Night vision
|
||||
- type: FootstepModifier
|
||||
footstepSoundCollection: null # Silent footstep
|
||||
- type: Inventory
|
||||
|
||||
Reference in New Issue
Block a user