isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
21 lines (20 loc) • 1.11 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LadderSubTypeCustom = void 0;
/**
* For `EntityType.EFFECT` (1000), `EffectVariant.LADDER` (8).
*
* Note that vanilla ladders only use a sub-type of 0. The `isaacscript-common` library uses ladders
* to represent custom objects, since they are non-interacting and will not automatically despawn
* after time passes, unlike most other effects.
*
* This enum tracks the kinds of custom objects that are represented by vanilla ladders. We start
* assigning sub-types after 100 as to not interfere with any possible modded ladder variants.
*/
var LadderSubTypeCustom;
(function (LadderSubTypeCustom) {
LadderSubTypeCustom[LadderSubTypeCustom["LADDER"] = 0] = "LADDER";
LadderSubTypeCustom[LadderSubTypeCustom["CUSTOM_BACKDROP"] = 101] = "CUSTOM_BACKDROP";
LadderSubTypeCustom[LadderSubTypeCustom["CUSTOM_SHADOW"] = 102] = "CUSTOM_SHADOW";
LadderSubTypeCustom[LadderSubTypeCustom["CUSTOM_PICKUP"] = 103] = "CUSTOM_PICKUP";
})(LadderSubTypeCustom || (exports.LadderSubTypeCustom = LadderSubTypeCustom = {}));