Skip to content

BPC_BL_ModCopies

BurrowLib 0.1.0, in the palette under BurrowLib › Mod copies.

editable var Id: string

Your mod’s id. Pick one once and never change it, even if you rename the mod.

editable var Build: int = 1

Raise it with every release. The newest build always runs, and of two copies of the same build, exactly one does.

var Running: bool = false

Whether this copy is the one that runs. False until its first tick has decided.

dispatcher OnRun()

Called once, on the one copy of your mod that runs, before its first tick. Every other copy is destroyed instead.