New fun meteors (#37327)

* New fun meteors

* Forgot about newline

* Fix

* Wow, a new test

* Okay

* Fix

* Fix 2

* I hope this is correct enough

* Attribution

* Attribution 2
This commit is contained in:
B_Kirill
2025-05-20 23:04:27 +10:00
committed by GitHub
parent 0766857112
commit f07b2aa6c3
7 changed files with 250 additions and 3 deletions

View File

@@ -225,4 +225,131 @@
volume: 10
- !type:SpillBehavior
solution: blood
- !type:SpawnEntitiesBehavior
spawn:
FoodMeatHuman:
min: 1
max: 2
- !type:ExplodeBehavior
# Cow Meteor
- type: entity
parent: BaseMeteor
id: MeteorCow
name: Cosmic cow
description: Moo-ving at relativistic speeds!
suffix: Meteor
components:
- type: Sprite
state: cow_pixel
- type: Explosive
totalIntensity: 25
- type: SolutionContainerManager
solutions:
milk:
maxVol: 500
reagents:
- ReagentId: Milk
Quantity: 500
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 3000
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Animals/cow_moo.ogg
- !type:SpillBehavior
solution: milk
- !type:SpawnEntitiesBehavior
spawn:
FoodMeat:
min: 1
max: 2
FoodCheeseSlice:
min: 1
max: 2
- !type:ExplodeBehavior
# Clown Meteor
- type: entity
parent: BaseMeteor
id: MeteorClown
name: Honksteroid
description: The final honkening!
suffix: Meteor
components:
- type: Sprite
state: clown_pixel
- type: Explosive
totalIntensity: 25
- type: SolutionContainerManager
solutions:
laughter:
maxVol: 500
reagents:
- ReagentId: Laughter
Quantity: 500
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 3000
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:PlaySoundBehavior
sound:
path: /Audio/Items/bikehorn.ogg
- !type:SpillBehavior
solution: laughter
- !type:SpawnEntitiesBehavior
spawn:
FoodMeatClown:
min: 1
max: 2
TrashBananaPeel:
min: 1
max: 4
RubberChicken:
min: 0
max: 1
- !type:ExplodeBehavior
# Potato Meteor
- type: entity
parent: BaseMeteor
id: MeteorPotato
name: Space potato
description: A starchy threat from the depths of the space. Contains 200% of your daily sodium intake!
components:
- type: Sprite
state: potato
- type: Explosive
totalIntensity: 25
- type: SolutionContainerManager
solutions:
ketchup:
maxVol: 100
reagents:
- ReagentId: Ketchup
Quantity: 100
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 3000
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- !type:SpillBehavior
solution: ketchup
- !type:SpawnEntitiesBehavior
spawn:
FoodMealFries:
min: 1
max: 5
- !type:ExplodeBehavior

View File

@@ -33,6 +33,10 @@
- id: GameRuleMeteorSwarmMedium
- id: GameRuleMeteorSwarmLarge
- id: GameRuleUristSwarm
- id: GameRuleClownSwarm
- id: GameRuleCowSwarm
- id: GameRulePotatoSwarm
- id: GameRuleFunSwarm
- id: ImmovableRodSpawn
- type: weightedRandomEntity
@@ -70,7 +74,7 @@
components:
- type: GameRule
- type: BasicStationEventScheduler
minimumTimeUntilFirstEvent: 600 # 10 min
minimumTimeUntilFirstEvent: 600 # 10 min
minMaxEventTiming:
min: 750 # 12.5 min
max: 930 # 17.5 min
@@ -237,3 +241,78 @@
- id: ImmovableRodWeh
prob: 0.0075
orGroup: rodProto
- type: entity
parent: GameRuleMeteorSwarm
id: GameRuleCowSwarm
components:
- type: StationEvent
weight: 0.05
- type: MeteorSwarm
announcement: station-event-meteor-cow-start-announcement
announcementSound: /Audio/Announcements/attention.ogg
meteors:
MeteorCow: 1
waves:
min: 3
max: 3
meteorsPerWave:
min: 10
max: 10
- type: entity
parent: GameRuleMeteorSwarm
id: GameRuleClownSwarm
components:
- type: StationEvent
weight: 0.05
- type: MeteorSwarm
announcement: station-event-meteor-clown-start-announcement
announcementSound: /Audio/Announcements/attention.ogg
meteors:
MeteorClown: 1
waves:
min: 3
max: 3
meteorsPerWave:
min: 10
max: 10
- type: entity
parent: GameRuleMeteorSwarm
id: GameRulePotatoSwarm
components:
- type: StationEvent
weight: 0.05
- type: MeteorSwarm
announcement: station-event-meteor-potato-start-announcement
announcementSound: /Audio/Announcements/attention.ogg
meteors:
MeteorPotato: 1
waves:
min: 3
max: 3
meteorsPerWave:
min: 10
max: 10
- type: entity
parent: GameRuleMeteorSwarm
id: GameRuleFunSwarm
components:
- type: StationEvent
weight: 0.03
- type: MeteorSwarm
announcement: station-event-fun-swarm-start-announcement
announcementSound: /Audio/Announcements/attention.ogg
meteors:
MeteorClown: 1
MeteorCow: 1
MeteorPotato: 1
MeteorUrist: 1
waves:
min: 3
max: 3
meteorsPerWave:
min: 8
max: 12