Changes

1,327 bytes added ,  15:52, 29 August 2022
m
Line 85: Line 85:     
Since of me playing in 2020 and people on YouTube, before v1.5 was introduced, some dungeon floors were infested floors, this also included floors 2-4, 42-44, and 82-44, 19, 59, and 99, 31-39, 71-79, and 111-119. So were infested floors on dungeon floors removed in v1.5 because I've have not found any floors being infested floors, [[User:IBugOne|IBugOne]] also made the change that they are never infested floors, feel free to check the game code for research. [[User:9000|9000]] ([[User talk:9000|talk]]) 9:04, 29 August 2022 (UTC)
 
Since of me playing in 2020 and people on YouTube, before v1.5 was introduced, some dungeon floors were infested floors, this also included floors 2-4, 42-44, and 82-44, 19, 59, and 99, 31-39, 71-79, and 111-119. So were infested floors on dungeon floors removed in v1.5 because I've have not found any floors being infested floors, [[User:IBugOne|IBugOne]] also made the change that they are never infested floors, feel free to check the game code for research. [[User:9000|9000]] ([[User talk:9000|talk]]) 9:04, 29 August 2022 (UTC)
 +
 +
:This is one of the minor changes in 1.5. Here's the code diff from v1.4.5 (which I spent a good effort to grab from Steam) to v1.5.6 (current):
 +
 +
<pre>
 +
@@ -2094,69 +2374,112 @@
 +
                }
 +
                if (this.isQuarryArea || this.getMineArea(level) == 77377)
 +
                {
 +
-                      ((NetFieldBase<string, NetString>)(object)this.mapImageSource).set_Value("Maps\\Mines\\mine_quarryshaft");
 +
-                      int numBrownSpots = base.map.get_Layers()[0].get_LayerWidth() * base.map.get_Layers()[0].get_LayerHeight() / 100;
 +
+                      this.mapImageSource.Value = "Maps\\Mines\\mine_quarryshaft";
 +
+                      int numBrownSpots = base.map.Layers[0].LayerWidth * base.map.Layers[0].LayerHeight / 100;
 +
                        this.isQuarryArea = true;
 +
                        this.isSlimeArea = false;
 +
+                      this.isMonsterArea = false;
 +
                        this.isDinoArea = false;
 +
                        for (int i = 0; i < numBrownSpots; i++)
 +
                        {
 +
</pre>
 +
 +
While there's a 25% chance for a quarry floor to generate as infested (<samp>isMonsterArea</samp>), v1.5 explicitly resets that flag to <code>false</code> to prevent that from happening. - [[User:IBugOne|IBugOne]] ([[User talk:IBugOne|talk]]) 15:52, 29 August 2022 (UTC)
413

edits