Carcat night vision (#1046)

* carcat night vision

* Update nightVision.yml
This commit is contained in:
Ed
2025-03-21 16:53:59 +03:00
committed by GitHub
parent a951193dba
commit 52e6e9b28f
7 changed files with 147 additions and 0 deletions

View 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

View File

@@ -38,6 +38,7 @@
damage:
types:
Slash: 5 # 5 slash
- type: CP14NightVision #Night vision
- type: FootstepModifier
footstepSoundCollection: null # Silent footstep
- type: Inventory