Christmas anomaly (#33889)

* santa anomaly

* Update anomaly.yml

* injection

* Update anomaly.yml

* Update Resources/Locale/en-US/anomaly/inner_anomaly.ftl

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>

* Update Resources/Textures/Structures/Specific/Anomalies/Cores/santa_core.rsi/meta.json

Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com>

* Update Resources/Textures/Structures/Specific/Anomalies/santa_anom.rsi/meta.json

Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com>

---------

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Co-authored-by: Errant <35878406+Errant-4@users.noreply.github.com>
This commit is contained in:
Ed
2024-12-16 22:23:31 +03:00
committed by GitHub
parent af7e552d3c
commit 36c676741f
14 changed files with 204 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ inner-anomaly-start-message-flesh = Your body is growing frantically. You became
inner-anomaly-start-message-grav = Everything becames unnaturally heavy and light at the same time... You became the host of a gravity anomaly.
inner-anomaly-start-message-tech = Your head is buzzing with the amount of chaotic information! You became the host of a tech anomaly.
inner-anomaly-start-message-rock = The crystals are growing through your bones! You became the host of a rock anomaly.
inner-anomaly-start-message-santa = You're becoming obsessed with the Christmas spirit! You became the host of a Christmas anomaly.
inner-anomaly-end-message = The abnormal activity within you disappears without a trace....

View File

@@ -22,6 +22,7 @@
- AnomalyFlora
- AnomalyShadow
- AnomalyTech
- AnomalySanta #Remove in 2025
rareChance: 0.3
rarePrototypes:
- RandomAnomalyInjectorSpawner
@@ -66,5 +67,6 @@
- AnomalyTrapGravity
- AnomalyTrapTech
- AnomalyTrapRock
- AnomalyTrapSanta # Remove in 2025
chance: 1

View File

@@ -936,3 +936,51 @@
- type: Tag
tags:
- HideContextMenu
- type: entity
id: AnomalySanta
parent: BaseAnomaly
suffix: Santa
components:
- type: Sprite
drawdepth: Mobs
sprite: Structures/Specific/Anomalies/santa_anom.rsi
layers:
- state: anom
map: ["enum.AnomalyVisualLayers.Base"]
- state: pulse
map: ["enum.AnomalyVisualLayers.Animated"]
visible: false
- type: PointLight
radius: 8.0
energy: 8.5
color: "#db8127"
- type: Anomaly
animationTime: 6
offset: 0, 0
corePrototype: AnomalyCoreSanta
coreInertPrototype: AnomalyCoreSantaInert
minPulseLength: 60
maxPulseLength: 120
- type: EntitySpawnAnomaly
entries:
- settings:
spawnOnPulse: true
minAmount: 2
maxAmount: 5
maxRange: 5
spawns:
- PresentRandomUnsafe
- PresentRandom
- PresentRandomCoal
- PresentRandomCash
- ClothingHeadHatSantahat
- FoodCakeChristmasSlice
- settings:
spawnOnSuperCritical: true
minAmount: 10
maxAmount: 20
maxRange: 6
spawns:
- PresentRandomInsane

View File

@@ -350,4 +350,33 @@
spawns:
- MobSpawnCrabSilver
- MobSpawnCrabIron
- MobSpawnCrabQuartz
- MobSpawnCrabQuartz
- type: entity
parent: AnomalyInjectionBase
id: AnomalyInjectionSanta
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#db8127"
- type: EntitySpawnAnomaly
entries:
- settings:
spawnOnPulse: true
minAmount: 1
maxAmount: 3
maxRange: 5
spawns:
- PresentRandomUnsafe
- PresentRandom
- PresentRandomCoal
- PresentRandomCash
- ClothingHeadHatSantahat
- FoodCakeChristmasSlice
- settings:
spawnOnSuperCritical: true
minAmount: 5
maxAmount: 10
maxRange: 6
spawns:
- PresentRandomInsane

View File

@@ -317,4 +317,29 @@
speciesSprites:
Vox:
sprite: Structures/Specific/Anomalies/inner_anom_layer.rsi
state: rock_VOX
state: rock_VOX
- type: entity
parent: BaseAnomalyInjector
id: AnomalyTrapSanta
suffix: Santa
components:
- type: Sprite
layers:
- state: pink
- sprite: Structures/Specific/Anomalies/santa_anom.rsi
state: pulse
- sprite: Mobs/Species/Human/parts.rsi
state: full
- type: InnerBodyAnomalyInjector
injectionComponents:
- type: Anomaly
deleteEntity: false
maxPointsPerSecond: 100
corePrototype: AnomalyCoreSanta
- type: InnerBodyAnomaly
injectionProto: AnomalyInjectionSanta
startMessage: inner-anomaly-start-message-santa
fallbackSprite:
sprite: Structures/Specific/Anomalies/inner_anom_layer.rsi
state: santa

View File

@@ -184,6 +184,19 @@
color: "#56c1e8"
castShadows: false
- type: entity
parent: BaseAnomalyCore
id: AnomalyCoreSanta
suffix: Santa
components:
- type: Sprite
sprite: Structures/Specific/Anomalies/Cores/santa_core.rsi
- type: PointLight
radius: 1.5
energy: 2.0
color: "#fc0303"
castShadows: false
# Inert cores
- type: entity
@@ -346,3 +359,16 @@
energy: 2.0
color: "#56c1e8"
castShadows: false
- type: entity
parent: BaseAnomalyInertCore
id: AnomalyCoreSantaInert
suffix: Santa, Inert
components:
- type: Sprite
sprite: Structures/Specific/Anomalies/Cores/santa_core.rsi
- type: PointLight
radius: 1.5
energy: 2.0
color: "#fc0303"
castShadows: false

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

View File

@@ -0,0 +1,25 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Created by Jaraten (github) for ss14 at https://github.com/space-wizards/space-station-14/pull/33889",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "core"
},
{
"name": "pulse",
"delays": [
[
0.2,
0.2,
0.2,
0.2
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

View File

@@ -443,6 +443,19 @@
]
]
},
{
"name": "santa",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "shadow",
"directions": 4,

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

View File

@@ -0,0 +1,33 @@
{
"version": 1,
"license": "CC0-1.0",
"copyright": "Created by TheShuEd (github) for ss14 at https://github.com/space-wizards/space-station-14/pull/33889",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "anom",
"delays": [
[
0.3,
0.3,
0.3,
0.3
]
]
},
{
"name": "pulse",
"delays": [
[
0.2,
0.2,
0.2,
0.2
]
]
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 651 B