Last active
December 9, 2020 15:36
-
-
Save egocarib/2b5e1568b93c0a03e41de95bfacfd09c to your computer and use it in GitHub Desktop.
Removes fungal vision if it was wished for with fungalvision wish. You'll need to save this as a .cs file and put it in your Mods directory. For more info, see https://cavesofqud.gamepedia.com/Modding:Installing_a_mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using XRL.Wish; | |
using XRL.World.Effects; | |
namespace MiscWishes | |
{ | |
[HasWishCommand] | |
class RemoveFungalVisionWish | |
{ | |
[WishCommand(Command = "removefungalvision")] | |
public static void SaveBlueprintTexture() | |
{ | |
FungalVisionary.VisionLevel = 0; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment