Skip to content

FOlib

TypeScript scripting library for Fallout 2 engine

FOlib is a TypeScript library containing declarations, definitions, and helper functions for TSSL, a TypeScript dialect consumed by TSSL transpiler.

FOlib is a work in progress. Headers are added and/or ported on demand. Contribute on github.

  • Core (folib) — vanilla engine builtins: game globals, object/critter/inventory/combat/dialogue functions, branded pointer types.
  • sfall (folib/sfall) — sfall extension bindings: arrays, hooks, shaders, metarules, helper macros, and game constants.
  • Restoration Project, updated (folib/rpu/*) — game-specific constants for the Fallout 2 Restoration Project, updated: PIDs, scripts, maps, globals.