Skip to content

Instantly share code, notes, and snippets.

@egocarib
Last active December 9, 2020 15:36
Show Gist options
  • Save egocarib/2b5e1568b93c0a03e41de95bfacfd09c to your computer and use it in GitHub Desktop.
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
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