using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Logging;
using CustomStoryLogs;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("RosiesMoons")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("StoryLogs for RosiesMoons.")]
[assembly: AssemblyFileVersion("0.0.1.0")]
[assembly: AssemblyInformationalVersion("0.0.1")]
[assembly: AssemblyProduct("RosiesMoons")]
[assembly: AssemblyTitle("RosiesMoons")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("0.0.1.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
internal sealed class EmbeddedAttribute : Attribute
{
}
}
namespace System.Runtime.CompilerServices
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
internal sealed class NullableAttribute : Attribute
{
public readonly byte[] NullableFlags;
public NullableAttribute(byte P_0)
{
NullableFlags = new byte[1] { P_0 };
}
public NullableAttribute(byte[] P_0)
{
NullableFlags = P_0;
}
}
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
internal sealed class NullableContextAttribute : Attribute
{
public readonly byte Flag;
public NullableContextAttribute(byte P_0)
{
Flag = P_0;
}
}
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
internal sealed class RefSafetyRulesAttribute : Attribute
{
public readonly int Version;
public RefSafetyRulesAttribute(int P_0)
{
Version = P_0;
}
}
}
namespace RosiesMoons
{
public static class MyPluginInfo
{
public const string PLUGIN_GUID = "RosiesMoons";
public const string PLUGIN_NAME = "RosiesMoons";
public const string PLUGIN_VERSION = "0.0.1";
}
}
namespace RosiesMoons.src
{
internal class Assets
{
public static AssetBundle StoryLogAsset;
public static void PopulateAssets()
{
string directoryName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
StoryLogAsset = AssetBundle.LoadFromFile(Path.Combine(directoryName, "storylogassetRM"));
if ((Object)(object)StoryLogAsset == (Object)null)
{
Plugin.Logger.LogError((object)"Failed to load assets from 'storylogassetRM'.");
}
}
}
[BepInPlugin("RosiesMoons", "RosiesMoons", "0.0.1")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
public class Plugin : BaseUnityPlugin
{
public static Plugin Instance { get; private set; }
internal static ManualLogSource Logger { get; private set; }
internal static Harmony? Harmony { get; set; }
private void Awake()
{
Logger = ((BaseUnityPlugin)this).Logger;
Instance = this;
Assets.PopulateAssets();
GameObject val = Assets.StoryLogAsset.LoadAsset<GameObject>("StoryLog");
int vanillaStoryLogModel = CustomStoryLogs.RegisterCustomLogModel(val);
StoryLogs.RegisterLogs(vanillaStoryLogModel);
Logger.LogInfo((object)"RosiesMoons v0.0.1 has loaded!");
}
}
internal class StoryLogs
{
public static void RegisterLogs(int vanillaStoryLogModel)
{
//IL_0032: Unknown result type (might be due to invalid IL or missing references)
//IL_0046: Unknown result type (might be due to invalid IL or missing references)
//IL_0083: Unknown result type (might be due to invalid IL or missing references)
//IL_0097: Unknown result type (might be due to invalid IL or missing references)
//IL_00d4: Unknown result type (might be due to invalid IL or missing references)
//IL_00e8: Unknown result type (might be due to invalid IL or missing references)
//IL_0125: Unknown result type (might be due to invalid IL or missing references)
//IL_0139: Unknown result type (might be due to invalid IL or missing references)
//IL_0178: Unknown result type (might be due to invalid IL or missing references)
//IL_018c: Unknown result type (might be due to invalid IL or missing references)
//IL_01cb: Unknown result type (might be due to invalid IL or missing references)
//IL_01df: Unknown result type (might be due to invalid IL or missing references)
//IL_021e: Unknown result type (might be due to invalid IL or missing references)
//IL_0232: Unknown result type (might be due to invalid IL or missing references)
//IL_0271: Unknown result type (might be due to invalid IL or missing references)
//IL_0285: Unknown result type (might be due to invalid IL or missing references)
//IL_02c4: Unknown result type (might be due to invalid IL or missing references)
//IL_02d8: Unknown result type (might be due to invalid IL or missing references)
//IL_0317: Unknown result type (might be due to invalid IL or missing references)
//IL_032b: Unknown result type (might be due to invalid IL or missing references)
//IL_036a: Unknown result type (might be due to invalid IL or missing references)
//IL_037e: Unknown result type (might be due to invalid IL or missing references)
//IL_03bd: Unknown result type (might be due to invalid IL or missing references)
//IL_03d1: Unknown result type (might be due to invalid IL or missing references)
//IL_0410: Unknown result type (might be due to invalid IL or missing references)
//IL_0424: Unknown result type (might be due to invalid IL or missing references)
//IL_0463: Unknown result type (might be due to invalid IL or missing references)
//IL_0477: Unknown result type (might be due to invalid IL or missing references)
//IL_04b6: Unknown result type (might be due to invalid IL or missing references)
//IL_04ca: Unknown result type (might be due to invalid IL or missing references)
//IL_0509: Unknown result type (might be due to invalid IL or missing references)
//IL_051d: Unknown result type (might be due to invalid IL or missing references)
//IL_055c: Unknown result type (might be due to invalid IL or missing references)
//IL_0570: Unknown result type (might be due to invalid IL or missing references)
//IL_05af: Unknown result type (might be due to invalid IL or missing references)
//IL_05c3: Unknown result type (might be due to invalid IL or missing references)
//IL_0602: Unknown result type (might be due to invalid IL or missing references)
//IL_0616: Unknown result type (might be due to invalid IL or missing references)
//IL_0655: Unknown result type (might be due to invalid IL or missing references)
//IL_0669: Unknown result type (might be due to invalid IL or missing references)
int num = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Bugs! - March 3, 1955", "These bugs! This is so damn annoying, why do they specifically go after the shipment containers. These things are strong too, they can carry those godforsakenly heavy Halden engines. I’m tired of this, I might just quit. David won’t be too happy since I’m his number one, but there’s new job offers on that one planet, uh what was its name. Ah, Gordion. I can’t think right, dealing with these bugs has me worn out!\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num, "59 Affliction", new Vector3(-155f, 18.95f, 22.5f), new Vector3(-90f, 0f, 120f), vanillaStoryLogModel);
int num2 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Who is Sigurd? - January 10, 2087", "We found a log, some kind of recording of this man named Sigurd, maybe that’s what the sticky note was about and why there was a tape recorder in the ship. I have no clue who he is but apparently he was here over a hundred years ago, seemingly.. willingly? I have no clue what secrets the Company has, but I think we should find the rest of these logs if there is any.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num2, "71 Gordion", new Vector3(-20.85f, -2.625f, 29f), new Vector3(-90f, 0f, -135f), vanillaStoryLogModel);
int num3 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Drilling, and More Drilling - April 26, 1933", "Definitely one of the most annoying jobs, especially with all this noise! Tunere has become just a drilling planet, and of course I’m stationed on one of the most noisy areas here. I just can’t wait until my shift is over. This company is so strange, what are they even drilling for on this dead planet. Well I mean the payout is pretty good though, just confused on their plan. Who cares, if I get my money what possibly can stop me!\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num3, "607 Tunere", new Vector3(23f, -2.1f, 46f), new Vector3(-90f, 0f, -150f), vanillaStoryLogModel);
int num4 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "So Abandoned - January 8, 2087", "What happened here, at least that's what most of my crew asks. I don’t really give a damn, but everyone is asking. The Company just wants us to get here and get out, grabbing all the valuable parts. I can mostly see just engines and stuff, but it is interesting that there are multiple Halden apparatuses powering these drills. Those things can power an entire facility, why do you need them to power a drill! Something is definitely up with the Company and we all know that, none of us can even remember how we got here. But I guess we have to keep going.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num4, "607 Tunere", new Vector3(-12.75f, 24.75f, -67f), new Vector3(-90f, 0f, -60f), vanillaStoryLogModel);
int num5 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Poor Elio - January 14, 2087", "We finally saved up to get to this moon, and holy hell it is hot here. Ichor, what a name. I have to keep it down since there are dogs. But I hate to say Elio, our captain, died. Died by one of those spider things. It was so surreal I don’t know how to react. We were fine for the first three days but the next three were such a mess, we barely met the quota. Delilah is in the facility right now, pretty scared since it’s already been a couple hours, but the radar shows she is alive so I guess its okay. I hope we will live until we can get out of here.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num5, "93 Ichor", new Vector3(10.75f, 0.6f, -50f), new Vector3(-105.5f, -100f, 260f), vanillaStoryLogModel);
int num6 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Blood of Ichor - January 8, 1948", "What a ride that was. Halden really gives us the beautiful suites. Although this hangover fucking sucks. Anyways, we set up post here, the Company wanted us to do some looking around, try to find something they call the Blood. What the hell that is, I have no clue, but you don’t question the Company. Learned that from experience.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num6, "93 Ichor", new Vector3(1.5f, -2.7f, 21.5f), new Vector3(-82f, -50f, 50f), vanillaStoryLogModel);
int num7 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Monster - February 12, 1950", "The Blood fused into this conglomeration, this horrid sight. Trying organic artifical life is just so wrong, so fucking wrong. This thing is eating everything we give it and holy god it grows fast. The higher ups say it’s nothing to be worried about, but my gut tells me they are wrong. Ursula says not to question the Company but damn I am questioning everything.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num7, "71 Sector-0", new Vector3(-126.25f, -2.175f, -150.25f), new Vector3(-90f, 0f, 150f), vanillaStoryLogModel);
int num8 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Lyra - June 9, 1949", "Those things we made with the Blood, the Company calls them Jesters but I don’t know, they are weird. I wonder what trouble I’d get in if I released them, it definitely would be funny but I’m not sure what the consequences would be. Ah, who cares about consequences, they say I’m the head of the chaos department so I’m going to let them loose!\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num8, "71 Sector-0", new Vector3(-0.75f, -1.95f, 99.5f), new Vector3(-90f, 0f, -120f), vanillaStoryLogModel);
int num9 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Left Behind - January 11, 2087", "They left me! I knew I couldn’t trust them. I got attacked by a spider and they ran, I could’ve led them all but I guess mutiny is their favorite activity. There’s not much to eat here and I am starving. Maybe some of those flying snakes can be good combined with those birds, if I can catch them of course. Or that delicious honey in those locust nests. I guess I will have to scavenge around, what a day.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num9, "20 Adamance", new Vector3(-64.5f, -17.3f, 30.25f), new Vector3(-90f, 0f, 60f), vanillaStoryLogModel);
int num10 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Sector0 - January 17, 2087", "This quota went good, but I’m pretty confused. On Ichor and now Titan, I’ve been seeing some weird hints about this place called Sector-0. It’s not on the routing section in the terminal but we found a exploit in the system to get there, we will see how it goes once we get the credits to leave for that moon.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num10, "8 Titan", new Vector3(-76.06f, 19.571f, -40.12f), new Vector3(-87.135f, 104.246f, 52.403f), vanillaStoryLogModel);
int num11 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Newly Alive - May 26, 1952", "They gave us the go ahead. We will be able to implement the CI Mold in those new mechs we have. See if that’ll make them better suited for military and extermination usage. We need to sell to the ITDA and the Ninth Empire. We play both sides in this war to be honest, but that’s okay with me, as long as I’m not dying. These crystals fuse quickly, takes about 10 seconds before they connect with the electronics and start doing their thing. Hopefully those mechs don’t go rogue haha.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num11, "26 Feign", new Vector3(59.671f, 9.087f, 103.628f), new Vector3(-103.455f, -14.88501f, 164.435f), vanillaStoryLogModel);
int num12 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Lost Military - April 2, 2380", "The exomoon March seems to hold a surprising artifact from long ago. Records indicate we never knew about this, but it seems to be hundreds of years old. The Galactic English Empire seems to want to label it as a interplanetary reserve to let the memory keep living its best days. Seemed to be a military base of some old civilization, we will do more research into this subject, hopefully before the moon gets classified to a reserve.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num12, "61 March", new Vector3(-165.1656f, -3.691f, 11.36957f), new Vector3(-90f, 0f, 120f), vanillaStoryLogModel);
int num13 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "CI Mold - May 26, 1947", "We found something, a new type of fungus, something immensely powerful, a new revolution. Halden will be rich, we can finally make artificial intelligence. We have no idea what the capabilities are! But we found it merges with electronic equipment and it generates a network of strings and wires in its systems which seems to advance the intelligence of the equipment wildly. We talked to a computer, a computer! If only Halden would let us put it in a robot, but they said it was too dangerous as we don’t know the full capabilities just yet.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num13, "127 Eden", new Vector3(54.574f, -27.857f, 88.471f), new Vector3(-105.43f, -61.121f, 166.602f), vanillaStoryLogModel);
int num14 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Advertisement - Date Unknown", "Come down to the Halden storehouse and buy something! We have a variety of electronic and mechanical needs, such as washing machines, toilets, cars, trucks, mini robots, computer chips, hangar ships, and more! We specialize in all things electronic. Its Halden or Nothin!\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num14, "87 Haul", new Vector3(116.25f, 0f, -377.5f), new Vector3(-60.75f, -18.5f, 2.275f), vanillaStoryLogModel);
int num15 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Automatons - July 22, 2383", "After various reports of strange signals being produced from this exomoon, our military decided it would be in our best interests to take a look around. My crew and I are here to investigate these reports on behalf of the English Military. Notes will be recorded. Report 68-a: Residue is found across the facility halls, it is oily in nature and seems to have some sort of fungus filled liquid flowing within. Report 68-b: Whirring and mechanical sounds seem to be heard within the facility and outside. Report 68-c: What seems to be a derelict robotic creature seems to be standing in the hills. Report 68-d: Soldier D-92870 is found to be missing after being coerced by what seems to be a child in distress, it has been 30 minutes since last contact. Report 68-e: Source of the distressed cries have been uncovered, the previously mentioned derelict automaton seems to create sounds to lure and hunt humans. Report 68-f: Soldier D-76209 is in distress, for the betterment of our task, the soldier has been executed. Report 68-g: After consulting with the General, the consensus of retreating becomes more clear. Automatons are becoming active with what seems to be a kill-on-sight instruction. Report 68-h: The rest of the crew and I have retreated, the General seems to be unhappy with our findings. More research will be conducted, the English Military has set up a base ground on 290 Summit to reconstruct these automatons if needed. Thus concludes the July 22, 2383 report of 68-Artifice.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num15, "290 Summit", new Vector3(2.715f, -3.7f, -90f), new Vector3(-90f, 0f, 41.5f), vanillaStoryLogModel);
int num16 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Reconstruction - May 30, 2387", "Roughly one year after the research site on 290 Summit was constructed, reconstruction of A16-L31, or their nickname, the old bird, went poorly. Rogue automatons were fixated on destroying the facility for some unknown reason. Although deactivated, the A16-L31s sent out what seemed to be a distress signal towards the exomoon Feign, which was previously known to be empty. Reasons to why this is the case is still unknown. Two observations were found, the first being that A16-L31 seems to hold some sort of artificial consciousness, making it near impossible to tamper with its internal code. Secondly, A16-L31 holds the technology and knowledge to ‘reproduce’. This artificial reproduction seems to allow them to upgrade themselves and colonize more of Thistle. Efforts will be made to prevent these monsters.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num16, "68 Artifice", new Vector3(30.95f, 0.65f, 201.75f), new Vector3(-90f, -125f, 0f), vanillaStoryLogModel);
int num17 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Origin - January 0, 0000", "All the way back, before we existed, lay iYbxXByI. iYbxXByI was a omnipresent power, creator and destroyer. When lQaxWXb, the power of time started, iYbxXByI became angered, everything was static, everything was in iYbxXByI’s realm. lQaxWXb tore its realm and forced it into a timeline. iYbxXByI took and took from all times, future, present, past. Long after, more powers came, bYJLn, zvEVn, cEhFXukI, and so many more. Humanity set out to create its own power, ichorous blood came into possession, it was gruesome and powerful. But alas it came into fruition. It stole, just as iYbxXByI did. It reigned for tens upon tens of millennia before fading away from starvation. Then came iYbxXByI. It tore lQaxWXb apart, and iYbxXByI’s realm existed once again. But this was a cycle. It happened so many times, humanity cannot comprehend the mass amount of repeats the cycle has gone through, neither could any of the powers. But We can.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num17, "813 Penumbra", new Vector3(-75.17584f, 1.998217f, 63.30674f), new Vector3(-86.538f, -134.72f, 134.668f), vanillaStoryLogModel);
int num18 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "My Dreams - November 7, 1967", "I’ve been having weird dreams. It’s so strange, I’m in this place, the same space. A field surrounds me, cabins line the surface, its hazy with so much vibrance. So comforting, but all dreams turn into nightmares. After going through what seems to be a facility, like the ones we go for the Company, I grab an apparatus. Then it all changes... The trees die, the saturation diminishes, the sounds creep along my spine. It’s a terrible dream, my crewmates think nothing of it. But I swear I keep seeing the terminal glitch out, showing information of the moon I was on in my dreams. After some deciphering, the text simply says, ‘We Dream’. Who is we, why does this damn terminal reference my dreams, this is absurd.\r\n\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num18, "567 Soreal", new Vector3(-19.98416f, 1.587225f, -50.71774f), new Vector3(-77.544f, 19.668f, -19.592f), vanillaStoryLogModel);
int num19 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Forlorn - July 6, 7268", "Routing errors, day after day. The date is all weird too, it was 2038 just a couple days ago, now it’s 13889? I swear I cannot remember what the time was before, I can barely recall when we applied for the Company job. Time is all weird around this moon, but our fuel reserves are running low, we need a new apparatus. I think we might have to land on this moon. The moon is so idiosyncratic, so peculiar. The weirdest thing which drives all of us mad, the speaker box keeps repeating this word, ‘forlorn’.\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num19, "707 Idiosyn", new Vector3(92.31776f, -0.713f, 121.3391f), new Vector3(-90f, 0f, 0f), vanillaStoryLogModel);
int num20 = CustomStoryLogs.RegisterCustomLog("RosiesMoons", "Routing Errors - July 6, 7268", "I’m not sure what happened here, it is not 7268, its 1981. We were just exiting the orbit of March, one of our military’s bases and we launched into the sky to do some surveillance and our ship malfunctioned or something. A moon with no name appeared on the Halden terminal and started whirring like a broken computer. This is important for the military to know what and why this moon is, how it is. We’ll be sure to bring weapons just in case..\r\n\r\n\r\n\r\n", false, false);
CustomStoryLogs.RegisterCustomLogCollectable("RosiesMoons", num20, "0 Untitled", new Vector3(57.15701f, 18.554f, -117.031f), new Vector3(-90f, 0f, 0f), vanillaStoryLogModel);
}
private StoryLogs()
{
}
}
}