CONTENT CONTRACT · VERSION 1
remove_structure
Story work: remove a map structure that stands exactly at its placement (its storage is scattered as ground items at once), or end an own placed work. The map structure returns once the work's ownership ends and its spot is wanted and free.
Signature
{ kind: "remove_structure", target: StructureRef, work: Name }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "remove_structure" | Discriminant |
target | StructureRef | Map placement or own placed work; player structures cannot be named. |
work | Name | Work name, unique within this package's standing works. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
Validated example
{
"kind": "remove_structure",
"target": {
"kind": "placement",
"map": "core:valley",
"placement": "house_stool"
},
"work": "stool_cleared"
}