Modding

The modding system in Slave Craft is fairly extensive. Everything is coded in JavaScript, so code can be injected or replaced fairly easily. Slave Craft also includes a mod loader, and significant portions of the game are implemented as mods. You can think of the game as a layered structure, where each layer depends on the previous:

  1. Slave Craft – Engine: This contains the main engine code that runs the game. It also contains representations for Characters, Locations, Stats, and other core functionality.
  2. Slave Craft – Core: Implemented as a mod, it contains definitions for all the stats, actions, items, and more that make up the game’s core content.
  3. Slave Craft – World: Implemented as a mod, it defines the game world, and NPCs.