Ruined
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user