Skip to content

Oops, All Arrows Mod V5.0.0

Compare
Choose a tag to compare
@CoolModder CoolModder released this 28 Oct 01:29
· 19 commits to main since this release
52a972c

For FortRise versions <4.70
Dropped Variety Pack and Spawn in Towers.
Please migrate away from adding arrows through the mod interops, as the current support is now removed until further notice.
Add variants like this:

    public override void OnVariantsRegister(VariantManager manager, bool noPerPlayer = false)
    {
        base.OnVariantsRegister(manager, noPerPlayer);
        //Replace with your arrow type and textures...
        manager.AddArrowVariant(RiseCore.ArrowsRegistry["Ice"], VariantAtlas["variants/startWithIceArrows"], VariantAtlas["variants/excludeIceArrows"]); 
    }

And to add arrows to towers:

  public static void CreatePickups()
    {
        OnTower Patcher;

        //Replace Darkfang with level name, no spaces
        Patcher.VERSUS_Darkfang.IncreaseTreasureRates(RiseCore.PickupRegistry["Ice"].ID);
    }