wp_plan_terrain_edit
Create a non-writing edit plan for WorldPainter projects, specifying height and paint operations with regions and masks, then preview before saving.
Instructions
Create a non-writing edit plan.
Height operation types: smooth(radius,passes,strength), erosion(iterations,talus,strength), ridge_valley(radius,scale,strength), raise_lower(delta,strength), slope_limit(max_slope,iterations,strength), coastline_soften(sea_level,width,radius,strength). Paint operation types: terrain(terrain), layer(layer,value), biome(biome_id), plants(layer, plants=[{name,weight}], density=0.25,seed=1), water(data_path): NPZ with equal 1D arrays x,y (absolute integer world coordinates), bed (float ground height), water (integer water level). Only lowers existing ground. Water does not clear plants or change terrain/biomes; add masked layer/terrain/biome operations. Plants creates a NEW native Custom Plants layer, with valid-block checks and no farmland. Each paint operation may have its own mask_path, intersected with the global mask. Use wp_get_world_info to see existing layer names; plants must use a new name. Region types: rectangle(x,y,width,height,feather), circle(center_x,center_y,radius,feather), or polygon(points,feather). mask_path may point to a grayscale image covering the full dimension. This tool never saves a .world file; preview is mandatory next.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| dimension | No | ||
| mask_path | No | ||
| world_path | Yes | ||
| paint_operations | No | ||
| height_operations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||