Skip to content

Commit

Permalink
Anomalous Lab Point of Interest (#547)
Browse files Browse the repository at this point in the history
* The Anomalous Lab is a point of interest dedicated to, as the name suggests, anomalous research. It's unknown why the station is uninhabited...Maybe it's up to you to find out?

* -i forgor but good changes

* Fixed mapName still being for the expeditionary lodge

* -Added several reagent slimes among the facility, tread with caution!
-Added remote signallers to science

* -Colored distro, big thanks to the discord.
-Fixes maints airlocks with maint hatches instead

* -Now has liquid nitrogen and oxygen canisters
-Added maint loot

* -Fixes SMES connections
-Adds more beds to dorms, as well as curtains and bedsheets

* -Trims lights
-Extends docking area
-Adds cleanable decals

* -Adds a random anomaly spawner, and moves an APE and Sci corpse to it.
-Adds many more reagent slimes.
-Trimmed more lights.
-Added more cryoxidone to medical

* spawn and warp point and misc

---------

Co-authored-by: IHAN <IHAN>
Co-authored-by: checkraze <[email protected]>
  • Loading branch information
RealIHaveANameOfficial and Cheackraze authored Nov 17, 2023
1 parent 3a100d8 commit f5323d4
Show file tree
Hide file tree
Showing 3 changed files with 12,018 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Content.Server/_NF/GameRule/NfAdventureRuleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ private void OnStartup(RoundStartingEvent ev)
var cove = "/Maps/cove.yml";
var courthouse = "/Maps/courthouse.yml";
var lodge = "/Maps/lodge.yml";
var lab = "/Maps/anomalouslab.yml";
var depotColor = new Color(55, 200, 55);
var civilianColor = new Color(55, 55, 200);
var lpbravoColor = new Color(200, 55, 55);
Expand All @@ -138,7 +139,7 @@ private void OnStartup(RoundStartingEvent ev)

if (_map.TryLoad(mapId, tinnia, out var depotUid2s, new MapLoadOptions
{
Offset = _random.NextVector2(2100f, 3800f)
Offset = _random.NextVector2(1100f, 2800f)
}))
{
var meta = EnsureComp<MetaDataComponent>(depotUid2s[0]);
Expand Down Expand Up @@ -179,7 +180,7 @@ private void OnStartup(RoundStartingEvent ev)

if (_map.TryLoad(mapId, arena, out var depotUid5s, new MapLoadOptions
{
Offset = _random.NextVector2(1900f, 3800f)
Offset = _random.NextVector2(2200f, 4200f)
}))
{
var meta = EnsureComp<MetaDataComponent>(depotUid5s[0]);
Expand Down Expand Up @@ -236,6 +237,16 @@ private void OnStartup(RoundStartingEvent ev)
_shuttle.SetIFFColor(depotUid8s[0], civilianColor);
}

if (_map.TryLoad(mapId, lab, out var labUids, new MapLoadOptions
{
Offset = _random.NextVector2(2100f, 3800f)
}))
{
var meta = EnsureComp<MetaDataComponent>(labUids[0]);
_meta.SetEntityName(labUids[0], "Anomalous Laboratory", meta);
_shuttle.SetIFFColor(labUids[0], factionColor);
}

var dungenTypes = _prototypeManager.EnumeratePrototypes<DungeonConfigPrototype>();

foreach (var dunGen in dungenTypes)
Expand Down
Loading

0 comments on commit f5323d4

Please sign in to comment.