Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/beatmap.ts>Difficulty#require

A framework for Beat Saber map scripting.
Latest
method Difficulty.prototype.require
import { Difficulty } from "https://deno.land/x/remapper@3.1.2/src/beatmap.ts";

Add/remove a mod requirement from the difficulty.

Parameters

requirement: REQUIRE_MODS

The requirement to effect.

optional
required = [UNSUPPORTED]

True by default, set to false to remove the requirement.