summary refs log tree commit diff stats
path: root/Requirements.cs
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-02-24 15:25:39 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2025-02-24 15:25:39 -0500
commite40dbee06a652d0b25adfa89896b18c61004373f (patch)
tree13474cda82a659215af1bc4375a73d2ac867fbc7 /Requirements.cs
parentb5dc753b6a74c8fb98ff35a348c286df24c3248e (diff)
downloadmanifold-garden-archipelago-e40dbee06a652d0b25adfa89896b18c61004373f.tar.gz
manifold-garden-archipelago-e40dbee06a652d0b25adfa89896b18c61004373f.tar.bz2
manifold-garden-archipelago-e40dbee06a652d0b25adfa89896b18c61004373f.zip
Better full garden detection for Akshardham
Diffstat (limited to 'Requirements.cs')
-rw-r--r--Requirements.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Requirements.cs b/Requirements.cs index 81ecf36..1613a47 100644 --- a/Requirements.cs +++ b/Requirements.cs
@@ -326,6 +326,19 @@ namespace ManifoldGardenArchipelago
326 } 326 }
327 } 327 }
328 328
329 public class FullGardenRequirement : Requirement
330 {
331 public override Decision Check()
332 {
333 return GameManager.MandalaManager.PlacedGodCubes.Count == 6 ? Decision.Yes : Decision.No;
334 }
335
336 public override string ToString()
337 {
338 return "FullGarden";
339 }
340 }
341
329 public class InvertedRequirement : Requirement 342 public class InvertedRequirement : Requirement
330 { 343 {
331 private readonly Requirement _requirement; 344 private readonly Requirement _requirement;