Skip to content

Commit

Permalink
Christmas anomaly (space-wizards#33889)
Browse files Browse the repository at this point in the history
* santa anomaly

* Update anomaly.yml

* injection

* Update anomaly.yml

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

Co-authored-by: ScarKy0 <[email protected]>

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

Co-authored-by: Errant <[email protected]>

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

Co-authored-by: Errant <[email protected]>

---------

Co-authored-by: ScarKy0 <[email protected]>
Co-authored-by: Errant <[email protected]>
  • Loading branch information
3 people authored Dec 16, 2024
1 parent af7e552 commit 36c6767
Show file tree
Hide file tree
Showing 14 changed files with 204 additions and 2 deletions.
1 change: 1 addition & 0 deletions Resources/Locale/en-US/anomaly/inner_anomaly.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -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....
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
- AnomalyFlora
- AnomalyShadow
- AnomalyTech
- AnomalySanta #Remove in 2025
rareChance: 0.3
rarePrototypes:
- RandomAnomalyInjectorSpawner
Expand Down Expand Up @@ -66,5 +67,6 @@
- AnomalyTrapGravity
- AnomalyTrapTech
- AnomalyTrapRock
- AnomalyTrapSanta # Remove in 2025
chance: 1

Original file line number Diff line number Diff line change
Expand Up @@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -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
]
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,19 @@
]
]
},
{
"name": "santa",
"delays": [
[
0.2,
0.2,
0.2,
0.2,
0.2,
0.2
]
]
},
{
"name": "shadow",
"directions": 4,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -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
]
]
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 36c6767

Please sign in to comment.