chore: add files from IsaacScript 3.6.45 template

This commit is contained in:
2023-05-17 21:31:44 -03:00
commit 55c38bed69
24 changed files with 9630 additions and 0 deletions

21
src/main.ts Normal file
View File

@ -0,0 +1,21 @@
import { ModCallback } from "isaac-typescript-definitions";
const MOD_NAME = "BetterDevilChance";
main();
function main() {
// Instantiate a new mod object, which grants the ability to add callback functions that
// correspond to in-game events.
const mod = RegisterMod(MOD_NAME, 1);
// Register a callback function that corresponds to when a new player is initialized.
mod.AddCallback(ModCallback.POST_PLAYER_INIT, postPlayerInit);
// Print a message to the "log.txt" file.
Isaac.DebugString(`${MOD_NAME} initialized.`);
}
function postPlayerInit() {
Isaac.DebugString("Callback fired: POST_PLAYER_INIT");
}