Skip to content

Commit

Permalink
Bananium Anomaly Generator (#869)
Browse files Browse the repository at this point in the history
* Material Anomaly

* Update anomaly_equipment.yml
  • Loading branch information
dvir001 committed Jan 12, 2024
1 parent 7136c3d commit b77ba31
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
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

0 comments on commit b77ba31

Please sign in to comment.