forked from space-wizards/space-station-14
-
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1401 from EpicToastTM/revert-1308-vent-critters-r…
…ework Revert "Rework vent critters (port from Delta-V)"
- Loading branch information
Showing
7 changed files
with
106 additions
and
269 deletions.
There are no files selected for viewing
39 changes: 3 additions & 36 deletions
39
Content.Server/StationEvents/Components/VentCrittersRuleComponent.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 |
---|---|---|
@@ -1,50 +1,17 @@ | ||
using Content.Server.StationEvents.Events; | ||
using Content.Shared.EntityTable.EntitySelectors; | ||
using Content.Server.StationEvents.Events; | ||
using Content.Shared.Storage; | ||
using Robust.Shared.Map; // DeltaV | ||
|
||
namespace Content.Server.StationEvents.Components; | ||
|
||
[RegisterComponent, Access(typeof(VentCrittersRule))] | ||
public sealed partial class VentCrittersRuleComponent : Component | ||
{ | ||
// DeltaV: Replaced by Table | ||
//[DataField("entries")] | ||
//public List<EntitySpawnEntry> Entries = new(); | ||
|
||
/// <summary> | ||
/// DeltaV: Table of possible entities to spawn. | ||
/// </summary> | ||
[DataField(required: true)] | ||
public EntityTableSelector Table = default!; | ||
[DataField("entries")] | ||
public List<EntitySpawnEntry> Entries = new(); | ||
|
||
/// <summary> | ||
/// At least one special entry is guaranteed to spawn | ||
/// </summary> | ||
[DataField("specialEntries")] | ||
public List<EntitySpawnEntry> SpecialEntries = new(); | ||
|
||
/// <summary> | ||
/// DeltaV: The location of the vent that got picked. | ||
/// </summary> | ||
[ViewVariables] | ||
public EntityCoordinates? Location; | ||
|
||
/// <summary> | ||
/// DeltaV: Base minimum number of critters to spawn. | ||
/// </summary> | ||
[DataField] | ||
public int Min = 2; | ||
|
||
/// <summary> | ||
/// DeltaV: Base maximum number of critters to spawn. | ||
/// </summary> | ||
[DataField] | ||
public int Max = 3; | ||
|
||
/// <summary> | ||
/// DeltaV: Min and max get multiplied by the player count then divided by this. | ||
/// </summary> | ||
[DataField] | ||
public int PlayerRatio = 25; | ||
} |
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
17 changes: 0 additions & 17 deletions
17
Content.Server/_Impstation/StationEvents/Components/SilentVentCrittersRuleComponent.cs
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
Content.Server/_Impstation/StationEvents/Events/SilentVentCrittersRule.cs
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
Resources/Locale/en-US/_DV/station-events/events/vent-critters.ftl
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.