DebugAPI.Log("Detention started"); DebugAPI.DrawTileGrid(true); Add a cheat command to teleport directly to detention:
Call this in OnModLoad . Make a moving “Principal’s Shadow” that speeds up each time you hit a wrong answer inside detention : baldi dev api
Add this to a prefab and spawn it inside the detention level using: DebugAPI
private bool IsPlayerInDetention() { return BaldiGameManager.CurrentLevelName == "DetentionMaze"; } } baldi dev api
private void StartDetention() { wrongStreak = 0; BaldiGameManager.TeleportToCustomLevel("DetentionMaze"); } } Create a new scene (or procedural map) using the API’s LevelBuilder :
Here’s an to the Baldi’s Basics Developer API (commonly used in mods like Baldi’s Basics Plus or community-driven Baldi Custom engines).
builder.Finalize(); }
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites. As an Amazon Associate I earn from qualifying purchases.