FB1CustomScriptTableRow
Overview
- DataTable row declaring a mod-provided Custom Script handler. Loaded at mod load time by BlueModManager and forwarded to FB2ScriptModRegistry: - Id (inherited) is the CommandName referenced from FB1Condition/FB1Execute.S1 when Command == EB1ConditionType::Custom / EB1ExecuteType::Custom. Must follow the "{ModId}.{CommandName}" convention (e.g. "FishingPro.AddXP"). - LuaScript / LuaFunction together identify which Lua function is bound as the handler body. Phase 1 carries an empty base-game JSON file (no built-in custom handlers). Phase 2 wires the per-mod row data through the mod loader.
Metadata
| Field | Value |
|---|---|
| Kind | script |
| Environment | B1 - Presentation |
| Category | scripts |
| Extends | FB1TableRowBase |
Properties (3)
| Name | Type | Description |
|---|---|---|
LuaFunction | string | Name of the Lua function declared in LuaScript that backs this command. |
LuaScript | string | Lua source file path. Mod-relative for mod rows; project-relative for base-game rows (rare). |
Type | EB1CustomScriptType | Whether this row registers a Condition (returns bool) or an Execute (runs effects). |