Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- Random roll = new Random((int)Game1.stats.DaysPlayed + (int)Game1.uniqueIDForThisGame / 2);
- int JojaFluctuation = roll.Next(1, 101);
- int StarDropFluctuation = roll.Next(1, 101);
- int SauceFluctuation = roll.Next(1, 101);
- int FerngillFluctuation = roll.Next(1, 101);
- Monitor.Log($"Joja Roll {JojaFluctuation}", LogLevel.Debug);
- Monitor.Log($"Stardrop Roll {StarDropFluctuation}", LogLevel.Debug);
- Monitor.Log($"Sauce Roll {SauceFluctuation}", LogLevel.Debug);
- Monitor.Log($"Ferngill Roll {FerngillFluctuation}", LogLevel.Debug);
- // 1 is critical fail - 15g 100 is critical success +15 50-99 success +2 02-49 fail -2
- if (JojaFluctuation == 1)
- {
- if (JojaPrice > 200)
- {
- JojaPrice = JojaPrice - 15 + JojaModifier;
- Monitor.Log("JojaCorp shares have dropped sharply today!", LogLevel.Debug);
- }
- }
- if (JojaFluctuation >= 2 || JojaFluctuation <= 49)
- {
- if (JojaPrice > 200)
- {
- JojaPrice = JojaPrice - 2 + JojaModifier;
- Monitor.Log("JojaCorp Shares have dropped today!", LogLevel.Debug);
- }
- }
- if (JojaFluctuation >=50 || JojaFluctuation <= 99)
- {
- if (JojaPrice < 500)
- {
- JojaPrice = JojaPrice + 2 + JojaModifier;
- Monitor.Log("JojaCorp Shares have increased today!", LogLevel.Debug);
- }
- }
- if (JojaFluctuation >= 100)
- {
- if (JojaPrice < 500)
- {
- JojaPrice = JojaPrice + 15 + JojaModifier;
- Monitor.Log("JojaCorp shares have sharply increased today!", LogLevel.Debug);
- }
- }
- if (StarDropFluctuation == 1)
- {
- if (StardropPrice > 50)
- {
- StardropPrice = StardropPrice - 15;
- Monitor.Log("StardropINC shares have dropped sharply today!", LogLevel.Debug);
- }
- }
- if (StarDropFluctuation >= 2 || StarDropFluctuation <= 49)
- {
- if (StardropPrice > 50)
- {
- StardropPrice = StardropPrice - 2;
- Monitor.Log("StardropINC Shares have dropped today!", LogLevel.Debug);
- }
- }
- if (StarDropFluctuation >= 50 || StarDropFluctuation <= 99)
- {
- if (StardropPrice < 250)
- {
- StardropPrice = StardropPrice + 2;
- Monitor.Log("StardropINC Shares have increased today!", LogLevel.Debug);
- }
- }
- if (StarDropFluctuation >= 100)
- {
- if (StardropPrice < 250)
- {
- StardropPrice = StardropPrice + 15;
- Monitor.Log("StardropINC shares have sharply increased today!", LogLevel.Debug);
- }
- }
- if (SauceFluctuation == 1)
- {
- if (SaucePrice > 25)
- {
- SaucePrice = SaucePrice - 15;
- Monitor.Log("Queen of SauceINC shares have dropped sharply today!", LogLevel.Debug);
- }
- }
- if (SauceFluctuation >= 2 || SauceFluctuation <= 49)
- {
- if (SaucePrice > 25)
- {
- SaucePrice = SaucePrice- 2;
- Monitor.Log("Queen of SauceINC Shares have dropped today!", LogLevel.Debug);
- }
- }
- if (SauceFluctuation >= 50 || SauceFluctuation <= 99)
- {
- if (SaucePrice < 800)
- {
- SaucePrice = SaucePrice + 2;
- Monitor.Log("Queen of SauceINC Shares have increased today!", LogLevel.Debug);
- }
- }
- if (SauceFluctuation >= 100)
- {
- if (SaucePrice < 800)
- {
- SaucePrice = SaucePrice + 15;
- Monitor.Log("Queen of SauceINC shares have sharply increased today!", LogLevel.Debug);
- }
- }
- if (FerngillFluctuation == 1)
- {
- if (FerngillPrice > 500)
- {
- FerngillPrice = FerngillPrice - 15;
- Monitor.Log("Bank of Ferngill shares have dropped sharply today!", LogLevel.Debug);
- }
- }
- if (FerngillFluctuation >= 2 || FerngillFluctuation <= 49)
- {
- if (FerngillPrice > 500)
- {
- FerngillPrice = FerngillPrice - 2;
- Monitor.Log("Bank of Ferngill Shares have dropped today!", LogLevel.Debug);
- }
- }
- if (FerngillFluctuation >= 50 || FerngillFluctuation <= 99)
- {
- if (SaucePrice < 3000)
- {
- FerngillPrice = FerngillPrice + 2;
- Monitor.Log("Bank of Ferngill Shares have increased today!", LogLevel.Debug);
- }
- }
- if (FerngillFluctuation >= 100)
- {
- if (FerngillPrice < 3000)
- {
- FerngillPrice = FerngillPrice + 15;
- Monitor.Log("Bank of Ferngill shares have sharply increased today!", LogLevel.Debug);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement