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.
Exports
Section titled “Exports”Call with exports.bs_skills:Name(...) from the same side.
| Name | Side | Where | Description |
|---|---|---|---|
GetEffects | client | client/cl_main.lua:142 | Every modifier currently applying, as a flat table. |
GetLevels | client | client/cl_main.lua:110 | |
GetSkillLevel | client | client/cl_main.lua:106 | |
GetTrees | client | client/cl_main.lua:124 | The tree definitions, for anything that wants to DRAW them. |
HasFlag | client | client/cl_main.lua:165 | Named capabilities: ‘executioner’, ‘break_fall’. |
HasPerk | client | client/cl_main.lua:100 | |
NeedMultiplier | client | client/cl_main.lua:152 | 1.0 = normal drain. bs_core’s needs tick multiplies by this. |
StealthMultiplier | client | client/cl_main.lua:160 | 1.0 = seen at the normal distance. |
AddSkillXP | server | server/sv_main.lua:212 | |
ForceRespec | server | server/sv_main.lua:547 | Wipes every perk and refunds the points, without the usual “nothing to undo” refusal - staff use this to reset a test character. |
GetSkillLevel | server | server/sv_main.lua:218 | |
GetSkills | server | server/sv_main.lua:310 | |
GrantPerk | server | server/sv_main.lua:515 | |
HasPerk | server | server/sv_main.lua:224 | |
LootBonus | server | server/sv_main.lua:238 | Extra loot draws, read by bs_interactions and bs_zombies. |
PerkCatalogue | server | server/sv_main.lua:569 | Every perk that exists, for the staff menu’s list. |
RevokePerk | server | server/sv_main.lua:532 | |
RewardMultiplier | server | server/sv_main.lua:313 | bs_core asks this before paying out any action. |
SetSkillLevel | server | server/sv_main.lua:497 |
Callbacks
Section titled “Callbacks”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, ...).
| Name | Direction | Where | Description |
|---|---|---|---|
skills:list | client -> server | server/sv_main.lua:438 | |
skills:respec | client -> server | server/sv_main.lua:457 | Respec: everything back, at a price. |
skills:train | client -> server | server/sv_main.lua:407 | Spending a point on training rather than on a perk. |
skills:unlock | client -> server | server/sv_main.lua:357 | BUG 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… |
Events
Section titled “Events”“net” means the handler is registered with RegisterNetEvent, so the other side can trigger it. “local” is AddEventHandler only (same side, or game events).
| Name | Side | Type | Where | Description |
|---|---|---|---|---|
bs:hook:player:loaded | server | local | server/sv_main.lua:126 | |
bs:hook:player:spawned | client | local | client/cl_dodge.lua:1176 | Damage modifiers are reset by the engine on respawn, so re-apply. |
bs:hook:player:unloaded | server | local | server/sv_main.lua:135 | |
bs:skills:levelUp | client | net | client/cl_main.lua:60 | A SKILL LEVEL GETS THE BOOM AND NOTHING ELSE. |
bs:skills:sync | client | net | client/cl_main.lua:68 | |
bs:ui:panic | client | local | client/cl_dodge.lua:1177 | |
onResourceStop | client | local | client/cl_dodge.lua:1179 | |
playerDropped | server | local | server/sv_main.lua:140 |
Commands
Section titled “Commands”| Command | Side | Where | Description |
|---|---|---|---|
/skilltest | client | client/cl_skilldebug.lua:287 | |
/skillxp | server | server/sv_main.lua:591 |
bs19.org · Privacy · Terms · Cookie settings