Skip to content

Commit

Permalink
fast
Browse files Browse the repository at this point in the history
Signed-off-by: pacable <[email protected]>
  • Loading branch information
pxc1984 committed Oct 5, 2024
1 parent 6da720e commit 633bb89
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Content.Server/Content.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@
<ProjectReference Include="..\Content.Shared\Content.Shared.csproj" />
<ProjectReference Include="..\Sunrise\Content.Sunrise.Interfaces.Server\Content.Sunrise.Interfaces.Server.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="_Sunrise\Antag\Systems\" />
</ItemGroup>
<Import Project="..\RobustToolbox\MSBuild\Robust.Properties.targets" />
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace Content.Server._Sunrise.Antag.Components;

/// <summary>
/// This is used for...
/// </summary>
[RegisterComponent]
public sealed partial class MultiAntagSelectionComponent : Component
{
[DataField]
public List<Component> Components;
}
11 changes: 11 additions & 0 deletions Content.Shared/Changeling/ChangelingHiveComponent.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace Content.Shared.Changeling;

/// <summary>
/// This is used for...
/// </summary>
[RegisterComponent]
public sealed partial class ChangelingHiveComponent : Component
{
[DataField]
public ChangelingHive? Hive = null;
}
48 changes: 38 additions & 10 deletions Resources/Prototypes/GameRules/midround.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,44 @@
id: Changeling
components:
- type: ChangelingRule
- type: AntagSelection
agentName: changeling-roundend-name
definitions:
- prefRoles: [ Changeling ]
max: 5
playerRatio: 10
lateJoinAdditional: true
mindComponents:
- type: ChangelingRole
prototype: Changeling
- type: MultiAntagSelection
components:
- type: AntagSelection
agentName: changeling-roundend-name
definitions:
- prefRoles: [ Changeling ]
max: 3
playerRatio: 30
lateJoinAdditional: false
mindComponents:
- type: ChangelingRole
prototype: Changeling
- type: ChangelingHive
hive: "enum.ChangelingHive.Kilo"
- type: AntagSelection
agentName: changeling-roundend-name
definitions:
- prefRoles: [ Changeling ]
max: 3
playerRatio: 30
lateJoinAdditional: false
mindComponents:
- type: ChangelingRole
prototype: Changeling
- type: ChangelingHive
hive: "enum.ChangelingHive.Lima"
- type: AntagSelection
agentName: changeling-roundend-name
definitions:
- prefRoles: [ Changeling ]
max: 3
playerRatio: 30
lateJoinAdditional: false
mindComponents:
- type: ChangelingRole
prototype: Changeling
- type: ChangelingHive
hive: "enum.ChangelingHive.Mike"

- type: entity
categories: [ HideSpawnMenu ]
Expand Down

0 comments on commit 633bb89

Please sign in to comment.