chore: update deps
This commit is contained in:
parent
7291d4c0b2
commit
3d7c027450
5
.idea/.gitignore
vendored
Normal file
5
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
12
.idea/BB-Trinket-Edit.iml
Normal file
12
.idea/BB-Trinket-Edit.iml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
5
.idea/codeStyles/codeStyleConfig.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<component name="ProjectCodeStyleConfiguration">
|
||||||
|
<state>
|
||||||
|
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||||
|
</state>
|
||||||
|
</component>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/BB-Trinket-Edit.iml" filepath="$PROJECT_DIR$/.idea/BB-Trinket-Edit.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -1,6 +0,0 @@
|
|||||||
"workshopitem"
|
|
||||||
{
|
|
||||||
"appid" "250900"
|
|
||||||
"publishedfileid" ""
|
|
||||||
"contentfolder" "I:\Games\Steam\steamapps\common\The Binding of Isaac Rebirth\mods\BlueBabyPetrifiedStart"
|
|
||||||
}
|
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<metadata>
|
<metadata>
|
||||||
<name>BlueBabyPetrifiedStart</name>
|
<name>Blue Baby Petrified Poop Start</name>
|
||||||
<directory>BlueBabyPetrifiedStart</directory>
|
<directory>Blue Baby Petrified Poop Start</directory>
|
||||||
<description>BlueBabyPetrifiedStart is a currently a work in progress.</description>
|
<description>Blue Baby Petrified Poop Start gives blue baby the petrified poop to start</description>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<visibility/>
|
<visibility/>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
10016
package-lock.json
generated
10016
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -11,9 +11,9 @@
|
|||||||
],
|
],
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"isaac-typescript-definitions": "^1.0.275",
|
"isaac-typescript-definitions": "^13.0.11",
|
||||||
"isaacscript": "^1.1.41",
|
"isaacscript": "^3.6.45",
|
||||||
"isaacscript-common": "^1.0.448",
|
"isaacscript-common": "^30.11.1",
|
||||||
"isaacscript-lint": "^1.0.67"
|
"isaacscript-lint": "^4.16.9"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
// This is the entry point for the TypeScriptToLua bundler, which is set in the "tsconfig.json" file
|
|
||||||
// All this file does is immediately execute the "main()" function in the "main.ts" file
|
|
||||||
// (We don't want to point the TypeScriptToLua bundler at the "main.ts" file directly, because any
|
|
||||||
// variables or functions that are declared in a bundle entry point will become global)
|
|
||||||
|
|
||||||
import { main } from "./main";
|
|
||||||
|
|
||||||
main();
|
|
||||||
|
|
||||||
// Do not add any code to this file!
|
|
27
src/main.ts
27
src/main.ts
@ -1,20 +1,19 @@
|
|||||||
import { getPlayersOfType } from "isaacscript-common";
|
import {getPlayersOfType} from "isaacscript-common";
|
||||||
|
import {ModCallback, PlayerType, TrinketType} from "isaac-typescript-definitions";
|
||||||
|
|
||||||
export function main(): void {
|
const MOD_NAME = "Blue Baby Petrified Poop Start";
|
||||||
// Instantiate a new mod object, which grants the ability to add callback functions that
|
|
||||||
// correspond to in-game events
|
|
||||||
const mod = RegisterMod("Blue Baby Petrified Poop", 1);
|
|
||||||
|
|
||||||
// Set a callback function that corresponds to when a new run is started
|
main();
|
||||||
mod.AddCallback(ModCallbacks.MC_POST_PLAYER_INIT, postRunBegin);
|
function main() {
|
||||||
|
const mod = RegisterMod(MOD_NAME, 1);
|
||||||
|
|
||||||
|
mod.AddCallback(ModCallback.POST_PLAYER_INIT, () => {
|
||||||
|
for (const player of getPlayersOfType(PlayerType.BLUE_BABY)) {
|
||||||
|
player.AddTrinket(TrinketType.PETRIFIED_POOP);
|
||||||
|
Game().GetItemPool().RemoveTrinket(TrinketType.PETRIFIED_POOP);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Print an initialization message to the "log.txt" file
|
// Print an initialization message to the "log.txt" file
|
||||||
Isaac.DebugString("BlueBabyPetrifiedStart initialized.");
|
Isaac.DebugString("BlueBabyPetrifiedStart initialized.");
|
||||||
}
|
}
|
||||||
|
|
||||||
function postRunBegin() {
|
|
||||||
for (const player of getPlayersOfType(PlayerType.PLAYER_BLUEBABY)) {
|
|
||||||
player.AddTrinket(TrinketType.TRINKET_PETRIFIED_POOP);
|
|
||||||
Game().GetItemPool().RemoveTrinket(TrinketType.TRINKET_PETRIFIED_POOP);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user