Tech Anomaly (#31764)

* A

* B

* C

* D

* Update TechAnomalySystem.cs

* idle anim

* Update meta.json

* new animation
This commit is contained in:
Ed
2024-09-06 10:24:17 +03:00
committed by GitHub
parent 4bc8d8e7b8
commit 1a4d58816f
18 changed files with 410 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
- AnomalyLiquid
- AnomalyFlora
- AnomalyShadow
- AnomalyTech
chance: 1
offset: 0.15 # not to put it higher. The anomaly sychnronizer looks for anomalies within this radius, and if the radius is higher, the anomaly can be attracted from a neighboring tile.

View File

@@ -875,3 +875,63 @@
damage:
types:
Cold: 10
- type: entity
id: AnomalyTech
parent: BaseAnomaly
suffix: Tech
components:
- type: Sprite
sprite: Structures/Specific/Anomalies/tech_anom.rsi
layers:
- state: bg
map: ["enum.AnomalyVisualLayers.Base"]
- state: bg_powered
map: ["enum.AnomalyVisualLayers.Animated"]
visible: false
shader: unshaded
- state: part1
- state: part2
- state: part3
- state: part4
- type: PointLight
radius: 6.5
energy: 3.5
color: "#56c1e8"
- type: Anomaly
corePrototype: AnomalyCoreTech
coreInertPrototype: AnomalyCoreTechInert
minPulseLength: 60
maxPulseLength: 120
- type: TechAnomaly
- type: DeviceLinkSource
ports:
- Pulse
- Timer
- type: entity
id: AnomalyTechBeam
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: /Textures/Effects/techanom_beam.rsi
drawdepth: Effects
layers:
- state: beam
shader: unshaded
color: "#21c4ff"
- type: Physics
canCollide: false
- type: PointLight
enabled: true
color: "#4080FF"
radius: 3.5
softness: 1
autoRot: true
castShadows: false
- type: Beam
- type: TimedDespawn
lifetime: 2.3
- type: Tag
tags:
- HideContextMenu

View File

@@ -168,6 +168,19 @@
color: "#793a80"
castShadows: false
- type: entity
parent: BaseAnomalyCore
id: AnomalyCoreTech
suffix: Tech
components:
- type: Sprite
sprite: Structures/Specific/Anomalies/Cores/tech_core.rsi
- type: PointLight
radius: 1.5
energy: 2.0
color: "#56c1e8"
castShadows: false
# Inert cores
- type: entity
@@ -314,3 +327,16 @@
energy: 2.0
color: "#793a80"
castShadows: false
- type: entity
parent: BaseAnomalyInertCore
id: AnomalyCoreTechInert
suffix: Tech, Inert
components:
- type: Sprite
sprite: Structures/Specific/Anomalies/Cores/tech_core.rsi
- type: PointLight
radius: 1.5
energy: 2.0
color: "#56c1e8"
castShadows: false