Overview
Saves a complete rule-tile asset (tiles and rules) as a .pxnrule file. After
creating a terrain asset once, reuse it in another project with rule_tile_asset_load.
Usage tips
- Saving has the side effect of file I/O. Keep
save_modedisabled to prevent accidental saves, enabling it only when you intend to write. - This is the starting point for growing a terrain-asset library. Store grass, water, and roads as .pxnrule files, and begin a new map with three Load nodes.
Related nodes
rule_tile_asset_load— the loading counterpartautotile_from_parts/autotile_from_template— generate assets to saverule_tile_merge— combines assets before or after saving
This saving feature lets autotiles and rule tiles be reused in another project.
The payload is the RuleTileAsset JSON itself. Load the resulting .pxnrule with
rule_tile_asset_load in another project. Direct Part Composer import is a future
candidate and is not currently available.
| Kind | ID | Description |
|---|---|---|
| Input | asset |
Rule-tile asset to save (required). |
| Setting | path |
Save destination (.pxnrule). |
| Setting | save_mode |
Disabled / create only / overwrite. |
| Output | _saved / _path / _effect_outcome / summary |
Whether a save occurred, its destination, the skipped / already-exists / unchanged / written outcome, and a summary. |
Use Rule Tile Asset Load to load the result.