Prefab Stamper
The "Stamp" Tool. Places specific prefab assets into the world and optionally modifies the logical tile data (the "ground") beneath them. This is ideal for placing hand-crafted landmarks or architectural set-pieces.
Ports
| Port | Type | Description |
|---|---|---|
| Points | Point List | The coordinates where the prefab(s) should be stamped. |
| Logical IDs | Int | The modified logical tile data. |
| Placements | Placements | The list of generated prefab instances for spawning. |
| Reserved Mask | Bool Mask | A mask showing exactly where prefabs were placed. |
Details
Footprint Modes
The Stamper can interact with the world's tiles in several ways:
- None: Just places the prefab. No tiles are changed.
- Fill Interior: Fills the entire footprint of the prefab with a specific Logical ID (e.g., "Stone Floor").
- Carve Interior: Sets the tiles beneath the prefab to
Void. Useful for removing cave walls where a building is placed. - Outline And Carve: Carves the interior to
Voidand places a specific Logical ID (e.g., "Wall") around the perimeter.
Parameters
- Prefab Variants: A weighted list of prefabs. If multiple are provided, the node will pick randomly for each point.
- Allow Rotation: If enabled, the stamper will randomly rotate the prefab in 90-degree increments.
- Max Overlap Tiles: Limits placement if the prefab would overlap too many existing "non-floor" tiles.
Potential Use Cases
- Central Hubs: Place a specific "Spawn Building" at a fixed coordinate (e.g., 0,0).
- Ritual Circles: Stamp unique tile patterns (using Fill Interior) onto the ground at random points.
- Dungeon Entrances: Carve a hole in a mountain side to place a door prefab.
Point List
Int
Placements
Bool Mask