This commit is contained in:
2026-11-05 09:57:11 -05:00
parent d34388bf2c
commit 89e392cc2e
81 changed files with 12410 additions and 1135 deletions
+7
View File
@@ -25,6 +25,8 @@ local api = setmetatable({
end,
}, {__index = core})
local modpath = api.get_modpath("hearth")
-- Plain policy namespace, available before any factory captures calendar APIs.
hearth.lifecycle = dofile(modpath .. "/lifecycle.lua")
local construction = dofile(modpath .. "/construction.lua")(hearth, api)
local seasons = dofile(modpath .. "/seasons.lua")(hearth, api)
hearth.seasons = seasons
@@ -796,4 +798,9 @@ botany.register_nodes(register_node)
-- Species leaves and canonical ecological cubes/sprites must precede variants.
seasons.register()
-- Creatura's MIT-licensed boid and ambient-spawn APIs are optional at runtime;
-- the managed package pins and bundles the ContentDB 0.2.10 release.
if type(creatura) == "table" then hearth.creatura = creatura end
hearth.wildlife = dofile(modpath .. "/wildlife.lua")(hearth, api)
-- Wildlife owns factory loading; publish that exact catalogue, not a second one.
hearth.fauna = hearth.wildlife.fauna