isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
47 lines (46 loc) • 4.15 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSUS_SCREEN_BACKGROUND_COLORS = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
const readOnly_1 = require("../functions/readOnly");
const BASEMENT_COLOR = (0, readOnly_1.newReadonlyColor)(26 / 255, 14 / 255, 12 / 255);
const CAVES_COLOR = (0, readOnly_1.newReadonlyColor)(18 / 255, 13 / 255, 8 / 255);
const DEPTHS_COLOR = (0, readOnly_1.newReadonlyColor)(8 / 255, 8 / 255, 8 / 255);
const WOMB_COLOR = (0, readOnly_1.newReadonlyColor)(27 / 255, 3 / 255, 3 / 255);
const SHEOL_COLOR = (0, readOnly_1.newReadonlyColor)(6 / 255, 6 / 255, 6 / 255);
/** We arbitrarily specify a default color equal to that of Basement. */
const DEFAULT_COLOR = BASEMENT_COLOR;
/** These values are taken from StageAPI. */
exports.VERSUS_SCREEN_BACKGROUND_COLORS = {
[]: DEFAULT_COLOR, // 0
[]: BASEMENT_COLOR, // 1
[]: (0, readOnly_1.newReadonlyColor)(26 / 255, 17 / 255, 13 / 255), // 2
[]: (0, readOnly_1.newReadonlyColor)(28 / 255, 12 / 255, 10 / 255), // 3
[]: CAVES_COLOR, // 4
[]: (0, readOnly_1.newReadonlyColor)(15 / 255, 10 / 255, 8 / 255), // 5
[]: (0, readOnly_1.newReadonlyColor)(21 / 255, 28 / 255, 35 / 255), // 6
[]: DEPTHS_COLOR, // 7
[]: (0, readOnly_1.newReadonlyColor)(10 / 255, 6 / 255, 6 / 255), // 8
[]: DEPTHS_COLOR, // 9
[]: WOMB_COLOR, // 10
[]: (0, readOnly_1.newReadonlyColor)(22 / 255, 6 / 255, 5 / 255), // 11
[]: (0, readOnly_1.newReadonlyColor)(42 / 255, 19 / 255, 10 / 255), // 12
[]: (0, readOnly_1.newReadonlyColor)(26 / 255, 32 / 255, 40 / 255), // 13
[]: SHEOL_COLOR, // 14
[]: (0, readOnly_1.newReadonlyColor)(6 / 255, 13 / 255, 17 / 255), // 15
[]: (0, readOnly_1.newReadonlyColor)(9 / 255, 4 / 255, 3 / 255), // 16
[]: (0, readOnly_1.newReadonlyColor)(15 / 255, 9 / 255, 6 / 255), // 17
[]: DEFAULT_COLOR, // 24
[]: DEFAULT_COLOR, // 25
[]: (0, readOnly_1.newReadonlyColor)(0, 0, 0), // 26
[]: (0, readOnly_1.newReadonlyColor)(29 / 255, 30 / 255, 32 / 255), // 27
[]: (0, readOnly_1.newReadonlyColor)(35 / 255, 35 / 255, 29 / 255), // 28
[]: (0, readOnly_1.newReadonlyColor)(17 / 255, 15 / 255, 12 / 255), // 29
[]: (0, readOnly_1.newReadonlyColor)(12 / 255, 10 / 255, 10 / 255), // 30
[]: (0, readOnly_1.newReadonlyColor)(14 / 255, 10 / 255, 14 / 255), // 31
[]: (0, readOnly_1.newReadonlyColor)(15 / 255, 4 / 255, 4 / 255), // 32
[]: (0, readOnly_1.newReadonlyColor)(13 / 255, 14 / 255, 12 / 255), // 33
[]: (0, readOnly_1.newReadonlyColor)(13 / 255, 14 / 255, 12 / 255), // 34
[]: DEFAULT_COLOR, // 35
[]: DEFAULT_COLOR, // 36
};