Skip to main content

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

FieldValue
Kindscript
EnvironmentB1 - Presentation
Categoryscripts
ExtendsFB1TableRowBase

Properties (3)

NameTypeDescription
LuaFunctionstringName of the Lua function declared in LuaScript that backs this command.
LuaScriptstringLua source file path. Mod-relative for mod rows; project-relative for base-game rows (rare).
TypeEB1CustomScriptTypeWhether this row registers a Condition (returns bool) or an Execute (runs effects).