Skip to content

bs_skills

skill trees, perks and the effects they actually apply.

Generated from the Lua sources in resources/[beyond]/bs_skills/. 33 entries. The description column is the comment above the line in the code, so if it’s empty nobody wrote one yet.

Call with exports.bs_skills:Name(...) from the same side.

NameSideWhereDescription
GetEffectsclientclient/cl_main.lua:142Every modifier currently applying, as a flat table.
GetLevelsclientclient/cl_main.lua:110
GetSkillLevelclientclient/cl_main.lua:106
GetTreesclientclient/cl_main.lua:124The tree definitions, for anything that wants to DRAW them.
HasFlagclientclient/cl_main.lua:165Named capabilities: ‘executioner’, ‘break_fall’.
HasPerkclientclient/cl_main.lua:100
NeedMultiplierclientclient/cl_main.lua:1521.0 = normal drain. bs_core’s needs tick multiplies by this.
StealthMultiplierclientclient/cl_main.lua:1601.0 = seen at the normal distance.
AddSkillXPserverserver/sv_main.lua:212
ForceRespecserverserver/sv_main.lua:547Wipes every perk and refunds the points, without the usual “nothing to undo” refusal - staff use this to reset a test character.
GetSkillLevelserverserver/sv_main.lua:218
GetSkillsserverserver/sv_main.lua:310
GrantPerkserverserver/sv_main.lua:515
HasPerkserverserver/sv_main.lua:224
LootBonusserverserver/sv_main.lua:238Extra loot draws, read by bs_interactions and bs_zombies.
PerkCatalogueserverserver/sv_main.lua:569Every perk that exists, for the staff menu’s list.
RevokePerkserverserver/sv_main.lua:532
RewardMultiplierserverserver/sv_main.lua:313bs_core asks this before paying out any action.
SetSkillLevelserverserver/sv_main.lua:497

Server callbacks are called from a client with BSB.Await(name, timeoutMs, ...). Client callbacks are called from the server with BSB.AwaitClient(src, name, timeoutMs, ...).

NameDirectionWhereDescription
skills:listclient -> serverserver/sv_main.lua:438
skills:respecclient -> serverserver/sv_main.lua:457Respec: everything back, at a price.
skills:trainclient -> serverserver/sv_main.lua:407Spending a point on training rather than on a perk.
skills:unlockclient -> serverserver/sv_main.lua:357BUG THAT WAS HERE: the “already unlocked” check ran, then this yielded on exports.bs_core:SpendSkillPoints (an oxmysql-backed spend - it can suspend the coroutine), and only…

“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).

NameSideTypeWhereDescription
bs:hook:player:loadedserverlocalserver/sv_main.lua:126
bs:hook:player:spawnedclientlocalclient/cl_dodge.lua:1176Damage modifiers are reset by the engine on respawn, so re-apply.
bs:hook:player:unloadedserverlocalserver/sv_main.lua:135
bs:skills:levelUpclientnetclient/cl_main.lua:60A SKILL LEVEL GETS THE BOOM AND NOTHING ELSE.
bs:skills:syncclientnetclient/cl_main.lua:68
bs:ui:panicclientlocalclient/cl_dodge.lua:1177
onResourceStopclientlocalclient/cl_dodge.lua:1179
playerDroppedserverlocalserver/sv_main.lua:140
CommandSideWhereDescription
/skilltestclientclient/cl_skilldebug.lua:287
/skillxpserverserver/sv_main.lua:591