Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bananium Anomaly Generator #869

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Content.Shared.Anomaly;
using Content.Shared.Anomaly;
using Content.Shared.Materials;
using Content.Shared.Radio;
using Robust.Shared.Audio;
Expand Down Expand Up @@ -37,13 +37,13 @@ public sealed partial class AnomalyGeneratorComponent : Component
/// The material needed to generate an anomaly
/// </summary>
[DataField("requiredMaterial", customTypeSerializer: typeof(PrototypeIdSerializer<MaterialPrototype>)), ViewVariables(VVAccess.ReadWrite)]
public string RequiredMaterial = "Plasma";
public string RequiredMaterial = "Bananium"; // Frontier - Plasma to Bananium

/// <summary>
/// The amount of material needed to generate a single anomaly
/// </summary>
[DataField("materialPerAnomaly"), ViewVariables(VVAccess.ReadWrite)]
public int MaterialPerAnomaly = 1500; // a bit less than a stack of plasma
public int MaterialPerAnomaly = 1000; // Frontier - Plasma to Bananium, 1500 to 1000

/// <summary>
/// The random anomaly spawner entity
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/en-US/anomaly/anomaly.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ anomaly-scanner-particle-containment = - [color=goldenrod]Containment type:[/col
anomaly-scanner-pulse-timer = Time until next pulse: [color=gray]{$time}[/color]

anomaly-generator-ui-title = Anomaly Generator
anomaly-generator-fuel-display = Fuel:
anomaly-generator-fuel-display = Bananium:
anomaly-generator-cooldown = Cooldown: [color=gray]{$time}[/color]
anomaly-generator-no-cooldown = Cooldown: [color=gray]Complete[/color]
anomaly-generator-yes-fire = Status: [color=forestgreen]Ready[/color]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,11 @@
- type: MaterialStorage
whitelist:
tags:
- Sheet
# - Sheet # Frontier
- RawMaterial # Frontier
materialWhiteList:
- Plasma
# - Plasma # Frontier
- Bananium # Frontier
- type: Fixtures
fixtures:
fix1:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Scanners, vessels, and A.P.E.s are all used in the containment and observation o
<GuideEntityEmbed Entity="MachineAnomalyGenerator"/>
</Box>

The anomaly generator can produce a random anomaly somewhere on the station at the cost of plasma.
The anomaly generator can produce a random anomaly somewhere on the station at the cost of bananium.

## Anomalies
Anomalies are static objects that appear on the station. They cannot be moved, and must be worked around, no matter their location.
Expand Down
Loading