FORGOTTEN TOWNS

FORGOTTEN TOWNS / MODDING DOCUMENTATION

Modding wiki ↗

Java API reference (Javadoc)

MOD API 15

Browse the wiki

Current Mod API documentation.

MODDING DOCUMENTATION

Task guides

Use the JSON reference for fields and the Java reference for callable contracts. These guides explain how to combine them into a working mod.

Content and artwork

Task Guide
Add a weapon Weapon
Add furniture or a workstation Furniture
Add an animal, enemy or NPC Creature
Connect food, recipes, loot and resource families Connected content
Set dependencies and resolve overlapping patches Patches and dependencies
Add sprites or particles Artwork
Tune difficulty and wildlife Difficulty and wildlife
Add a campaign scenario Scenarios

Java behaviour

Task Guide
Add housing, relationships or persistent simulation Colony simulation
Respond to game events Events and notifications
Transfer stock or request work Inventory and construction
Define trade rules Settlement trading
Add cities and recruitment Campaign city map

Player controls and presentation

Task Guide
Add a cover and description Pack presentation
Expose settings or a keyboard shortcut Settings and presentation
Add native information and action panels Mod panels
Enable unit and zone inspection Inspectors
Configure workstation effects Workstation effects

See supported boundaries before designing a new system.