Skip to content
AzureHarbie edited this page Feb 7, 2015 · 3 revisions

Stonehearth Microworld Wiki

This mod will help modders generate small test worlds and serves as a good starting point for modders.

This wiki is intended as a starting point for modders to get their feet wet with Stonehearth's API . Thank you to the fine folks at Radiant for all your hard work and openness!

Folder Overview

  • Base Folder

microworld.lua - Base mod class, contains the real meat. Contains function for world creation, entity functions, and event handlers.

manifest.json - For information about the mod and to specify server init scripts and what appears to be root for the UI (HTML)

  • worlds folder

Contains the lua scripts for creating a world. These scripts leverage the functions in microworld.lua to create and place different entities.

Useful Links

There are already quite a few resources at your disposal.

Although the following links are linked to in other places, these are older articles that really help explain how things are setup.

Clone this wiki locally