Dungeon il (#10)

* Use IL edits for dungeon changes, remove CustomDungeon

* Spelling choice fixes
This commit is contained in:
DominicKarma authored and Ozzatron committed 2023-11-30 13:25:33 -05:00
1 parent 93788a8899
commit fe983b2594
6 files changed
+224 -2550

No files matched your search

+7 -7
View File
@@ -41,13 +41,13 @@ namespace CalamityMod.Systems
}));
}
// Replace the entire fucking Dungeon generation pass because nothing else will work as intended
/*int DungeonIndex = tasks.FindIndex(genpass => genpass.Name.Equals("Dungeon"));
tasks[DungeonIndex] = new PassLegacy("Dungeon", (progress, config) =>
// Generate the Astral Chest right after the dungeon has finished generating
int DungeonIndex = tasks.FindIndex(genpass => genpass.Name.Equals("Dungeon"));
tasks.Insert(DungeonIndex + 1, new PassLegacy("Astral Chest", (progress, config) =>
{
progress.Message = Language.GetOrRegister("Mods.CalamityMod.UI.BetterDungeon").Value;
CustomDungeon.NewDungeon();
});*/
progress.Message = Language.GetOrRegister("Mods.CalamityMod.UI.AstralChest").Value;
AstralChestGeneration.PlaceAstralChest();
}));
// Larger Jungle Temple
int JungleTempleIndex = tasks.FindIndex(genpass => genpass.Name.Equals("Jungle Temple"));
@@ -190,7 +190,7 @@ namespace CalamityMod.Systems
{
progress.Message = Language.GetOrRegister("Mods.CalamityMod.UI.CorruptShrine").Value;
UndergroundShrines.PlaceCorruptionShrine(GenVars.structures);
}
}
progress.Message = Language.GetOrRegister("Mods.CalamityMod.UI.DesertShrine").Value;
UndergroundShrines.PlaceDesertShrine(GenVars.structures);