shared.lua

Skill Tree

Lua
Shared.SkillTreeEnabled = true
  • Description: Turns on the devhub_skillTree integration: the Weed category, Weed XP for every step of the chain, the perks and the level needed for crossbreeding.
  • Without the skill tree: when devhub_skillTree is not running, nothing breaks. No category is registered, no XP is handed out, every perk counts as 0 and every mutation strain can be crossbred without a skill.
  • Order: if you run the skill tree, start devhub_skillTree before devhub_weed.
Skilltree.Lua

Debug

Lua
Shared.Debug = {
    Enabled = false,
    Levels = {
        Info = true,
        Success = true,
        Warning = true,
    },
}
  • Description: Prints detailed trace logs to the F8 console and the server console. Keep Enabled = false on a live server, it is only useful when reporting an issue.
  • Levels: Which categories get printed once debugging is on. Turning Info and Success off while leaving Warning on shows only the places where something was refused or went wrong.

Errors that matter (a failing hook, a failing server callback, suspicious activity, a warehouse whose location is missing) are always printed in the server console, whether debugging is on or not.