threejs-worldgen
    Preparing search index...

    Function planLandmarks

    • Picks lots for a settlement's landmarks and plans them: churches and town halls on the street-facing lots nearest the centre (where the nave or hall fits), water towers on a lot near a seeded point reach out. Pure: the same lots, counts and seed give the same landmarks.

      Parameters

      Returns Map<number, Building>

      Landmark buildings by lot id (id −1: the caller numbers them).