-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
deltanedas
committed
Feb 13, 2024
1 parent
9c200c4
commit 392fdbc
Showing
16 changed files
with
86 additions
and
74 deletions.
There are no files selected for viewing
14 changes: 0 additions & 14 deletions
14
Content.Server/DeltaV/EvilTwin/Components/EvilTwinSpawnerComponent.cs
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
Content.Server/DeltaV/ParadoxAnomaly/Components/ParadoxAnomalySpawner.cs
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,17 @@ | ||
using Content.Server.DeltaV.ParadoxAnomaly.Systems; | ||
using Robust.Shared.Prototypes; | ||
|
||
namespace Content.Server.DeltaV.ParadoxAnomaly.Components; | ||
|
||
/// <summary> | ||
/// Creates a random paradox anomaly and tranfers mind to it when taken by a player. | ||
/// </summary> | ||
[RegisterComponent, Access(typeof(ParadoxAnomalySystem))] | ||
public sealed partial class ParadoxAnomalySpawnerComponent : Component | ||
{ | ||
/// <summary> | ||
/// Antag game rule to start for the paradox anomaly. | ||
/// </summary> | ||
[DataField] | ||
public EntProtoId Rule = "ParadoxAnomaly"; | ||
} |
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
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
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
1 change: 1 addition & 0 deletions
1
Resources/Locale/en-US/deltav/objectives/conditions/paradox-anomaly.ftl
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 @@ | ||
objective-paradox-anomaly-friend-title = Keep your new friend {$targetName} alive |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
- type: entity | ||
noSpawn: true | ||
parent: BaseGameRule | ||
id: EvilTwin | ||
id: ParadoxAnomaly | ||
components: | ||
- type: GenericAntagRule | ||
agentName: evil-twin-round-end-agent-name | ||
agentName: paradox-anomaly-round-end-agent-name | ||
objectives: | ||
- EvilTwinKillObjective | ||
- EvilTwinEscapeObjective | ||
- ParadoxAnomalyKillObjective | ||
- ParadoxAnomalyFriendObjective | ||
- ParadoxAnomalyEscapeObjective |
This file was deleted.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
Resources/Prototypes/DeltaV/Objectives/paradox_anomaly.yml
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,38 @@ | ||
- type: entity | ||
abstract: true | ||
parent: BaseTerminatorObjective # mrp terminator real | ||
id: BaseParadoxAnomalyObjective | ||
components: | ||
- type: Objective | ||
issuer: self | ||
|
||
- type: entity | ||
noSpawn: true | ||
parent: [BaseParadoxAnomalyObjective, BaseKillObjective] | ||
id: ParadoxAnomalyKillObjective | ||
description: This universe doesn't have room for both of us. | ||
components: | ||
- type: TerminatorTargetOverride | ||
- type: KillPersonCondition | ||
requireDead: true | ||
|
||
- type: entity | ||
noSpawn: true | ||
parent: [BaseParadoxAnomalyObjective, BaseKeepAliveObjective] | ||
id: ParadoxAnomalyFriendObjective | ||
description: Perhaps there is room, as friends. | ||
components: | ||
- type: TargetObjective | ||
title: objective-condition-paradox-anomaly-friend-title | ||
- type: TerminatorTargetOverride | ||
|
||
- type: entity | ||
noSpawn: true | ||
parent: [BaseParadoxAnomalyObjective, BaseLivingObjective] | ||
id: ParadoxAnomalyEscapeObjective | ||
components: | ||
- type: Objective | ||
icon: | ||
sprite: Structures/Furniture/chairs.rsi | ||
state: shuttle | ||
- type: EscapeShuttleCondition |
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