Log inGet started
World

Verdigris Cloister

Branchmain
Branchesmain
Commit65770846aa

README.md

greenhouse

Raises the Verdigris Cloister — the derelict monastery greenhouse the game is played in. Floor, dais, walls, piers, the brass vault and its cracked glass, the clerestory, the irrigation, the hanging censers, the shafts of sun and the pools they lay on the stone, the vapour and the spores. Plus the scene's sun and ambient, the sky, and the post-process chain for the whole game.

local Env = require("game.env.greenhouse")
Env.build(root)   -- clear every env_* under root and raise the room
Env.clear(root)   -- take it down again
Env.post()        -- the post chain, stated as priorities
Env.sky()         -- flat blown-out overcast beyond the broken roof

Env.SHAFTS is the one table that decides where the light is: which pane of which bay the roof has lost. The roof is built with those panes missing, a cone falls from each hole, and a point light sits where it reaches the floor.

Normally you do not call this directly — put the Cloister component on an entity under the scene's Greenhouse anchor and it runs at load. See ../README.md.