Seed

Seeds are a mechanism used to randomly generate floors in Baldi's Basics Plus.
== Description ==
A seed is a random string of numbers used in level-generating algorithms to procedurally generate and create each floor in Baldi's Basics Plus. After completing the Hide-and-Seek mode once, the player can put in a specific seed after pressing the "Seed: Random" text to remove the "Random" text, then inputting a seed number between -2147483615 and 2147483615. In Endless Mode - Random, the player can input a custom seed, regardless if they have completed Hide-and-Seek or not.
== Level-building algorithm codes ==
When accessing Baldi's Basics - Challenges Demo code via DnSpy, there is an algorithm for generating all the different types of locations:
* ()
* ()
* ()
* ()
* ()
* ()
== Rare seeds (V0.5~) ==
* -1622926564 (Floor 2): Cafeteria has a crazy vending machine
* 80085 (Floor 2): Playground has a double apple tree
* 1554874718 There are only 2 exits on the 3rd floor
* 1739662088 (Floor 1): A notebook near the elevator, a faculty room in Gotta Sweep's Closet, and a classroom near another classroom. (Floor 2): A faculty room near an elevator, and also a crazy vending machine.
* -1800312017 (Floor 2): There's a crazy vending machine in the cafeteria
* -2067140420 (Floor 3): There are two roto halls near each other.
* 345635352 (Floor 3): Two elevators are so close to each other that when one of them is closed, the player can enter behind the gate.
* -601183817 (Floor 1) A notebook and principal office near the elevator (Floor 2) Crazy vending Machine
* 1836542672 (Floor 2) There is crazy vending machine
== Trivia ==
=== Baldi's Basics Plus ===
* Even though pre-made maps such as Endless Mode - Medium and Challenge Mode always have the same map, the seeds are still different.
* There are exactly 4,294,967,231 possible seeds.
* Some seeds generate debug rooms if there are no proper spaces to generate classrooms. Their color on the map is black like the library prior to V1.2 in the Kickstarter Exclusive Demo.
* In V0.1, it was possible to enter a seed number lower than -2147483615 and higher than 2147483615. Inputting the seed outside the range would crash the game.
* Prior to V0.1.3, playing the game with the seed - would crash the game, but since this version, it will generate a random seed.
* In V0.3.4, only one seed (1243259247) was found that seems to be impossible to beat as there was no way to exit the cafeteria in this seed unless using Dangerous Teleporters, as the cafeteria is separate from the map itself. However, there was one swinging door, but it collided with another faculty door. It could be a bug that causes the map to generate improperly.
* On Floor 1, prior to V0.3, the seed 767676767 had all five notebooks close enough to Baldi that it was possible to beat Floor 1 without triggering him.
* In V0.3.5, it was impossible to paste copied seeds in the custom seed input.
* Since V0.3.6, pasting the seed only works if copied text only consists of numbers or a dash (only the first character) and the number must be in the valid range.
=== Baldi's Basics - Challenges Demo ===
* The seed for the Stealthy Challenge is listed as 99 in Challenges Demo.
Category:World development
ru:Сиды