-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make random sentience a glimmer event + fix glimmer events not existi…
…ng (#1834) * add MaxSpawns to GlimmerMobRule * remove defunct nyano event code * add glimmer event scheduler and fix events * add glimmer event scheduler to all presets * typo ops Signed-off-by: deltanedas <[email protected]> --------- Signed-off-by: deltanedas <[email protected]> Co-authored-by: deltanedas <@deltanedas:kde.org>
- Loading branch information
1 parent
137eccc
commit d98fbbe
Showing
10 changed files
with
69 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
Content.Server/Nyanotrasen/StationEvents/Components/GlimmerRandomSentienceRuleComponent.cs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
Content.Server/Nyanotrasen/StationEvents/Components/GlimmerRevenantSpawnRuleComponent.cs
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
Content.Server/Nyanotrasen/StationEvents/Events/GlimmerRandomSentienceRule.cs
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
Content.Server/Nyanotrasen/StationEvents/Events/GlimmerRevenantSpawnRule.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
- type: entityTable | ||
id: GlimmerEventsTable | ||
table: !type:AllSelector # we need to pass a list of rules, since rules have further restrictions to consider via StationEventComp and GlimmerEventComp | ||
children: | ||
- id: MundaneDischarge | ||
- id: NoosphericZap | ||
- id: NoosphericFry | ||
- id: PsionicCatGotYourTongue | ||
- id: MassMindSwap | ||
- id: GlimmerWispSpawn | ||
- id: FreeProber | ||
- id: GlimmerRevenantSpawn | ||
- id: GlimmerMiteSpawn | ||
- id: GlimmerRandomSentience | ||
|
||
- type: entity | ||
parent: BaseGameRule | ||
id: GlimmerEventScheduler | ||
components: | ||
- type: BasicStationEventScheduler | ||
minMaxEventTiming: | ||
min: 300 | ||
max: 1500 | ||
scheduledGameRules: !type:NestedSelector | ||
tableId: GlimmerEventsTable | ||
|
||
# Like upstream's event but can reoccur and tied to glimmer. | ||
- type: entity | ||
parent: [RandomSentience, BaseGlimmerEvent] | ||
id: GlimmerRandomSentience | ||
components: | ||
- type: StationEvent | ||
weight: 6 | ||
duration: 1 | ||
reoccurrenceDelay: 20 | ||
startAudio: | ||
path: /Audio/Announcements/attention.ogg | ||
- type: GlimmerEvent | ||
minimumGlimmer: 300 | ||
maximumGlimmer: 600 | ||
glimmerBurnLower: 20 | ||
glimmerBurnUpper: 60 | ||
- type: RandomSentienceRule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters