Ghosts do booo (spooky) (#3363)

* Light now use visualizer

* Added ghost actions

* Add hotkey input for ghosts

* no message

* Testing blinking animation

* Better animation

* Better customization

* No abuse

* Reversed sln

* No fun for ghosts

* No fun for ghosts x2

* Cooldown for lights

* Moved to component deps

* This tollist is unnecessary

* Enums to byte

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>

* Some lights can ignore ghosts now

Co-authored-by: Alex Evgrashin <evgrashin.adl@gmail.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
Alex Evgrashin
2021-02-26 04:31:06 +03:00
committed by GitHub
parent d177f0fd07
commit 0fa219365e
11 changed files with 360 additions and 35 deletions

View File

@@ -33,6 +33,19 @@
repeat: true
behavior: !type:DisarmAction { }
- type: action
actionType: GhostBoo
icon: Interface/Actions/scream.png
name: "Boo"
description: "Scare your crew members because of boredom!"
filters:
- ghost
behaviorType: Instant
behavior: !type:GhostBoo
radius: 3
cooldown: 120
maxTargets: 3
- type: action
actionType: DebugInstant
icon: Interface/Alerts/Human/human1.png

View File

@@ -18,7 +18,8 @@
- type: EmergencyLight
- type: Sprite
sprite: Constructible/Lighting/emergency_light.rsi
state: emergency_light_off
layers:
- state: emergency_light_off
placement:
snap:
- Wallmount

View File

@@ -16,6 +16,9 @@
- type: LoopingSound
- type: Sprite
sprite: Constructible/Lighting/light_tube.rsi
layers:
- state: on
map: ["enum.PoweredLightLayers.Base"]
state: on
- type: PointLight
radius: 8
@@ -57,6 +60,10 @@
- type: PoweredLight
bulb: Tube
- type: PowerReceiver
- type: Appearance
visuals:
- type: PoweredLightVisualizer
blinkingSound: "/Audio/Machines/light_tube_on.ogg"
- type: entity
id: PoweredlightEmpty
@@ -122,6 +129,9 @@
- type: PoweredLight
bulb: Bulb
- type: PowerReceiver
- type: Appearance
visuals:
- type: PoweredLightVisualizer
- type: entity
id: PoweredSmallLightEmpty

View File

@@ -41,3 +41,6 @@
baseSprintSpeed: 14
baseWalkSpeed: 7
- type: MovementIgnoreGravity
- type: Actions
innateActions:
- GhostBoo