isaacscript 2.9.4 → 2.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,39 @@
1
+ <shaders>
2
+ <shader name="EmptyShader">
3
+ <parameters />
4
+ <vertex><![CDATA[
5
+ attribute vec3 Position;
6
+ attribute vec4 Color;
7
+ attribute vec2 TexCoord;
8
+ attribute vec4 RenderData;
9
+ attribute float Scale;
10
+ varying vec4 Color0;
11
+ varying vec2 TexCoord0;
12
+ varying vec4 RenderDataOut;
13
+ varying float ScaleOut;
14
+ uniform mat4 Transform;
15
+ void main(void)
16
+ {
17
+ RenderDataOut = RenderData;
18
+ ScaleOut = Scale; // Passing data to fragment shader
19
+ Color0 = Color;
20
+ TexCoord0 = TexCoord;
21
+ gl_Position = Transform * vec4(Position.xyz, 1.0);
22
+ }
23
+ ]]></vertex>
24
+ <fragment><![CDATA[
25
+ varying lowp vec4 Color0;
26
+ varying mediump vec2 TexCoord0;
27
+ varying lowp vec4 RenderDataOut;
28
+ varying lowp float ScaleOut;
29
+
30
+ uniform sampler2D Texture0;
31
+
32
+ void main(void)
33
+ {
34
+ vec4 Color = Color0 * texture2D(Texture0, TexCoord0);
35
+ gl_FragColor = Color;
36
+ }
37
+ ]]></fragment>
38
+ </shader>
39
+ </shaders>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isaacscript",
3
- "version": "2.9.4",
3
+ "version": "2.9.5",
4
4
  "description": "A command line tool for managing Isaac mods written in TypeScript.",
5
5
  "keywords": [
6
6
  "isaac",
@@ -8,7 +8,7 @@
8
8
  "properties": {
9
9
  "backdrop": {
10
10
  "additionalProperties": false,
11
- "description": "An object containing the paths to the backdrop for the stage. (A backdrop is the graphics for the walls and floor.) Mandatory.",
11
+ "description": "Optional. An object containing the paths to the backdrop graphics for the stage. (A backdrop is the graphics for the walls and floor.) If not specified, the graphics for Basement will be used.",
12
12
  "properties": {
13
13
  "corners": {
14
14
  "description": "An array of strings that represent the graphic files for the stage's corners. You must have at least one string in this array, but you can specify more than one to randomly add extra variety (like the vanilla stages do).\n\nFor an example of this, see the vanilla file \"resources/gfx/backdrop/01_basement.png\". (In the vanilla file, they concatenate both variations together into one PNG file and put it in the top right hand corner. The corners are shown in the top right hand corner of the file, with two different variations concatenated together. However, for the custom stages feature, you must separate each corner variation into a separate file (and put it in a different file from the walls).",
@@ -65,50 +65,120 @@
65
65
  "description": "An integer between 0 and 5, corresponding to the `StageType` enum. This is the number of the stage type that will be warped to and used as a basis for the stage by the level generation algorithm. Mandatory.",
66
66
  "type": "number"
67
67
  },
68
+ "decorationsPNGPath": {
69
+ "description": "Optional. The path to the spritesheet that contains the graphics of the decorations for the floor.\n\nIf not specified, the vanilla Basement decorations spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\props_01_basement.png`",
70
+ "type": "string"
71
+ },
72
+ "doorPNGPaths": {
73
+ "additionalProperties": false,
74
+ "description": "Optional. A collection of paths that contain graphics for the doors of the floor.",
75
+ "properties": {
76
+ "angelRoom": {
77
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Angel Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_07_holyroomdoor.png`",
78
+ "type": "string"
79
+ },
80
+ "arcade": {
81
+ "description": "Optional. The path to the spritesheet that contains the graphics of the arcade doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_05_arcaderoomdoor.png`",
82
+ "type": "string"
83
+ },
84
+ "bossChallengeRoom": {
85
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Boss Challenge Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_09_bossambushroomdoor.png`",
86
+ "type": "string"
87
+ },
88
+ "bossRoom": {
89
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Boss Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_10_bossroomdoor.png`",
90
+ "type": "string"
91
+ },
92
+ "bossRush": {
93
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Boss Rush doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_15_bossrushdoor.png`",
94
+ "type": "string"
95
+ },
96
+ "chestRoom": {
97
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Chest Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_02b_chestroomdoor.png`",
98
+ "type": "string"
99
+ },
100
+ "curseRoom": {
101
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Curse Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_04_selfsacrificeroomdoor.png`",
102
+ "type": "string"
103
+ },
104
+ "devilRoom": {
105
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Devil Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_07_devilroomdoor.png`",
106
+ "type": "string"
107
+ },
108
+ "normal": {
109
+ "description": "Optional. The path to the spritesheet that contains the graphics of the normal doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_01_normaldoor.png`",
110
+ "type": "string"
111
+ },
112
+ "normalChallengeRoom": {
113
+ "description": "Optional. The path to the spritesheet that contains the graphics of the normal Challenge Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_03_ambushroomdoor.png`",
114
+ "type": "string"
115
+ },
116
+ "secretRoom": {
117
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Secret Room and Super Secret Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_08_holeinwall.png`",
118
+ "type": "string"
119
+ },
120
+ "treasureRoom": {
121
+ "description": "Optional. The path to the spritesheet that contains the graphics of the Treasure Room doors for the floor.\n\nIf not specified, the vanilla Basement door spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\door_02_treasureroomdoor.png`",
122
+ "type": "string"
123
+ }
124
+ },
125
+ "type": "object"
126
+ },
68
127
  "name": {
69
128
  "description": "The name of the custom stage. Mandatory.",
70
129
  "type": "string"
71
130
  },
131
+ "pitsPNGPath": {
132
+ "description": "Optional. The path to the spritesheet that contains the graphics of the pits for the floor.\n\nIf not specified, the vanilla Basement pits spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\grid_pit.png`",
133
+ "type": "string"
134
+ },
72
135
  "rocksPNGPath": {
73
- "description": "Optional. The path to the spritesheet that will style the rocks/blocks/urns/etc. for the floor.\n\nIf specified, it is assumed that you have your own custom rock alt type, and all vanilla rewards/enemies that spawn from urns will be automatically removed. Use the `POST_GRID_ENTITY_BROKEN` callback to make your own custom rewards. Or, if you want to emulate a vanilla urn/mushroom/skull/polyp/bucket, use the `spawnRockAltReward` helper function.\n\nIf not specified, the vanilla Basement rocks spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources\\gfx\\grid\\rocks_basement.png`",
136
+ "description": "Optional. The path to the spritesheet that contains the graphics of the rocks/blocks/urns for the floor.\n\nIf specified, it is assumed that you have your own custom rock alt type, and all vanilla rewards/enemies that spawn from urns will be automatically removed. Use the `POST_GRID_ENTITY_BROKEN` callback to make your own custom rewards. Or, if you want to emulate a vanilla urn/mushroom/skull/polyp/bucket, use the `spawnRockAltReward` helper function.\n\nIf not specified, the vanilla Basement rocks spritesheet will be used. For reference, this is located at: `C:\\Program Files (x86)\\Steam\\steamapps\\common\\The Binding of Isaac Rebirth\\resources-dlc3\\gfx\\grid\\rocks_basement.png`",
74
137
  "type": "string"
75
138
  },
76
139
  "roomVariantPrefix": {
77
140
  "description": "An arbitrarily chosen prefix in the range of 101-999. Mandatory.",
78
141
  "type": "number"
79
142
  },
80
- "versusScreenBackgroundColor": {
143
+ "versusScreen": {
81
144
  "additionalProperties": false,
82
- "description": "Optional. An object representing the color to use for the background of the boss \"versus\" screen. If not specified, the color for Basement 1 will be used.\n\nFor a list of the colors that correspond to the vanilla stages, see `versusScreenBackgroundColors.ts`.",
145
+ "description": "Optional. A collection of colors used in the boss \"versus\" screen.",
83
146
  "properties": {
84
- "b": {
85
- "type": "number"
86
- },
87
- "g": {
88
- "type": "number"
89
- },
90
- "r": {
91
- "type": "number"
92
- }
93
- },
94
- "required": ["r", "g", "b"],
95
- "type": "object"
96
- },
97
- "versusScreenDirtSpotColor": {
98
- "additionalProperties": false,
99
- "description": "Optional. An object representing the color to use for the dirt spots in the boss \"versus\" screen. (There are two dirt spots; one for the player and one for the boss.) If not specified, the color for Basement 1 will be used.\n\nFor a list of the colors that correspond to the vanilla stages, see `versusScreenDirtSpotColors.ts`.",
100
- "properties": {
101
- "b": {
102
- "type": "number"
103
- },
104
- "g": {
105
- "type": "number"
147
+ "backgroundColor": {
148
+ "additionalProperties": false,
149
+ "description": "Optional. An object representing the color to use for the background of the boss \"versus\" screen. If not specified, the color for Basement 1 will be used.\n\nFor a list of the colors that correspond to the vanilla stages, see `versusScreenBackgroundColors.ts`.",
150
+ "properties": {
151
+ "b": {
152
+ "type": "number"
153
+ },
154
+ "g": {
155
+ "type": "number"
156
+ },
157
+ "r": {
158
+ "type": "number"
159
+ }
160
+ },
161
+ "required": ["r", "g", "b"],
162
+ "type": "object"
106
163
  },
107
- "r": {
108
- "type": "number"
164
+ "dirtSpotColor": {
165
+ "additionalProperties": false,
166
+ "description": "Optional. An object representing the color to use for the dirt spots in the boss \"versus\" screen. (There are two dirt spots; one for the player and one for the boss.) If not specified, the color for Basement 1 will be used.\n\nFor a list of the colors that correspond to the vanilla stages, see `versusScreenDirtSpotColors.ts`.",
167
+ "properties": {
168
+ "b": {
169
+ "type": "number"
170
+ },
171
+ "g": {
172
+ "type": "number"
173
+ },
174
+ "r": {
175
+ "type": "number"
176
+ }
177
+ },
178
+ "required": ["r", "g", "b"],
179
+ "type": "object"
109
180
  }
110
181
  },
111
- "required": ["r", "g", "b"],
112
182
  "type": "object"
113
183
  },
114
184
  "xmlPath": {
@@ -121,9 +191,7 @@
121
191
  "xmlPath",
122
192
  "roomVariantPrefix",
123
193
  "baseStage",
124
- "baseStageType",
125
- "backdrop",
126
- "rocksPNGPath"
194
+ "baseStageType"
127
195
  ],
128
196
  "type": "object"
129
197
  },