Skip to content
AzureHarbie edited this page Feb 5, 2015 · 2 revisions

Entity Aliases

Trees and Rocks
  • stonehearth:small_oak_tree
  • stonehearth:medium_oak_tree
  • stonehearth:large_oak_tree
  • stonehearth:small_juniper_tree
  • stonehearth:medium_juniper_tree
  • stonehearth:large_juniper_tree
  • stonehearth:small_boulder
Useful Plants
  • stonehearth:berry_bush
  • stonehearth:plants:silkweed
Buildings/Stuff
  • stonehearth:decoration:firepit

  • stonehearth:trapper:talisman (Trapper Knife)

  • stonehearth:carpenter:talisman (Carpenter Saw)

Animals
  • stonehearth:red_fox
Resources
  • stonehearth:resources:wood:oak_log
  • stonehearth:resources:fiber:silkweed_bundle

Hearthling

Internally, the population object used to create hearthlings refers to them as citizens.

Creates a citizen object using population object.

local citizen = pop:create_new_citizen()

By adding job, you can then promote the citizen to any job.

  • TODO If anyone can find a list of jobs, that be great. I couldn't find the list anywhere. Assume it can be found by experimenting.

citizen:add_component('stonehearth:job') :promote_to(job)

Job Aliases
  • stonehearth:jobs:worker

Don't forget that a citizen object needs to be placed into the world.

Clone this wiki locally