Skip to content

Commit

Permalink
Biomes! Caverns update/bugfix (#492)
Browse files Browse the repository at this point in the history
- Synced a gizmo to create a drillpod blueprint
- Stopped syncing an unused gizmo whose assembly was removed in 1.5, causing errors
  • Loading branch information
SokyranTheDragon authored Oct 28, 2024
1 parent f831645 commit f519f5d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Source/Mods/BiomesCaverns.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ public BiomesCaverns(ModContentPack mod)
{
// Gizmos
{
// Create drill pod blueprint
MpCompat.RegisterLambdaDelegate("BiomesCaverns.Patches.Building_PodLauncher_GetGizmos_Patch", "DrillPodGizmo", 0);
// (Dev) set progress to 100%
MpCompat.RegisterLambdaMethod("Building_MushroomFermentingBarrel", nameof(Building.GetGizmos), 0).SetDebugOnly();
// Unused/commented out
MpCompat.RegisterLambdaMethod("BMT.CompThingDefReplacer", nameof(ThingComp.CompGetGizmosExtra), 0).SetDebugOnly();
}

// RNG + GenView.ShouldSpawnMotesAt
// RNG + GenView.ShouldSpawnMotesAt/mote saturation check
{
PatchingUtilities.PatchPushPopRand("Caveworld_Flora_Unleashed.FruitingBody_Gleamcap:ThrowPoisonSmoke");
}
Expand Down

0 comments on commit f519f5d

Please sign in to comment.