This spell is used to build permanent structures, out of locally available materials, which endure indefinitely after the spell ends.
Each casting of this spell can allow up to 16 hours of construction work, and multiple castings can be used to build larger structures. If the spell ends early or the caster's concentration is broken, the work simply stops at that point; anything already built remains. The effects are as if a large number of invisible skilled laborers were working on the site.
Any spell that prevents magic from working, shields an area from magical attack, or prevents movement of objects within the area or across the boundary, prevents this spell from operating within that protected area... but not from working around it. Once any given phase of construction is complete, casting such spells have no effect on the structure that was built (ie Dispel Magic will not cause the finished structure to evaporate, because the effects are permanent and use real material.)
Each hour of work can do one of the following:
Dig, move or shape dirt or sand up to a volume equivalent to a 20 foot cube, or any combination of cubes that do not exceed 8000 cubic feet total, or half that volume in clay or soft stone, or one quarter that volume in hard rock. If this is attempted where previous construction already exists and is being disrupted, changed or destroyed, halve the rate of work.
Build a structure (such as a hut, house, fort, keep, ship, or portion thereof) according to the following rules:
Light construction (straw, cob/adobe, thatch, wooden plank frame, small wooden boats) at a rate of 40 square feet (floor plan area) per hour.
Medium construction (heavy timber, light stone (walls up to 18 inches thick), reinforced earthworks, large ships) at a rate of 30 square feet per hour.
Heavy construction (stone walls up to 10' thick and equivalents) at a rate of 20 square feet per hour (includes foundation work).
The rates listed above assume a single story no more than 10' high. Multiple stories can be built however, requiring additional time as above.
If the site already includes an existing structure, it can be disassembled by this spell at the same rate, or rebuilt as desired, but the amount of work involved is additive.
Creatures in the current working area must make a Dex save at dc 10 each turn or suffer 1d4 damage.
If this spell is used to make a structure of more than one story and over 1000 square feet, or a large seagoing ship, or anything similarly complex, an architect or shipwright should be consulted to provide written plans and drawings beforehand. If done without such plans, there is a 25% chance the structure will be seriously flawed and weakened, with consequences to be determined by the DM. This chance may be lowered if the caster an assistant have relevant construction proficiency, at the DM's discretion.
If the structure is sound, as a consequence of the spell's magic it will be stronger than average, and have 50% more hit points than normal for it's type.
What materials are available on site (or nearby, within sight) will be determined by terrain and the DM. Bear in mind stone can usually be found by digging down to a depth of 10-50', and that brick requires only mud and straw to make. Having materials transported to the work site by other means is also possible.
A jeweler would typically be the most suitable craftsperson to make the material components, which are consumed on each casting of this spell.
Sample construction times:
20' diameter peasant hut, light construction: 2.5 hours. 20' long, 3' wide rowboat: 1.5 hours. Modest house 30x30', two story, plank frame(light): 45 hours.
Mansion (medium construction, 40x80', three floors high): 320 hours (20 days work). Stone Keep (60x80, 5 floors high, heavy stone): 1,200 hours (75 days work)
Normally the finished structure will be undecorated and unfurnished. However this can be done by the spell if suitable materials are available, but increases construction time to some degree (DM will determine.)
If cast using a higher-level spell slot, the rate of work per hour increases... add 50% at 7th, +100% at 8th, or add 200% for 9th.
* - (A set of finely crafted minature tools, made of precious metals, totalling 1 lb. and 100gp value, consumed by the spell. )