isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
20 lines (19 loc) • 1.18 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CUSTOM_FLOOR_STAGE_TYPE = exports.CUSTOM_FLOOR_STAGE = exports.DEFAULT_BASE_STAGE_TYPE = exports.DEFAULT_BASE_STAGE = exports.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH = exports.CUSTOM_STAGE_FEATURE_NAME = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
exports.CUSTOM_STAGE_FEATURE_NAME = "CustomStage";
exports.ISAACSCRIPT_CUSTOM_STAGE_GFX_PATH = "gfx/isaacscript-custom-stage";
exports.DEFAULT_BASE_STAGE = isaac_typescript_definitions_1.LevelStage.BASEMENT_2;
exports.DEFAULT_BASE_STAGE_TYPE = isaac_typescript_definitions_1.StageType.ORIGINAL;
/**
* Equal to -1. Setting the stage to an invalid stage value is useful in that it prevents backdrops
* and shadows from loading.
*/
exports.CUSTOM_FLOOR_STAGE = -1;
/**
* We must use `StageType.WRATH_OF_THE_LAMB` instead of `StageType.ORIGINAL` or else the walls will
* not render properly. DeadInfinity suspects that this might be because it is trying to use the
* Dark Room's backdrop (instead of The Chest).
*/
exports.CUSTOM_FLOOR_STAGE_TYPE = isaac_typescript_definitions_1.StageType.WRATH_OF_THE_LAMB;