UNSTACK [who] time: 0 days priority: 1

When used without an argument, unstack removes the noble from being stacked beneath another noble:

Before:

Osswid the Constructor [5499], accompanied by:
   Feasel the Wicked [502]
   Captain McCook [2019], with five workers
502: > unstack

After:

Osswid the Constructor [5499]
Feasel the Wicked [502], accompanied by:
   Captain McCook [2019], with five workers

A stack leader may give an argument to unstack, specifying a unit to be dropped from the stack:

Before:

Osswid the Constructor [5499], accompanied by:
   Feasel the Wicked [502]
   Captain McCook [2019], with five workers
5499: > unstack 502

After:

Osswid the Constructor [5499]
Feasel the Wicked [502], accompanied by:
   Captain McCook [2019], with five workers

Note that in this example [2019] is stacked beneath [502], not [5499]. That is why Captain McCook remains with Feasel when Feasel unstacks.

A special case of unstack is invoked if the noble specifies itself as the argument. In this case, the noble will drop out of the stack alone, leaving behind both those stack above as well as below:

Before:

Osswid the Constructor [5499], accompanied by:
   Feasel the Wicked [502], accompanied by:
      Captain McCook [2019], with five workers
502: > unstack 502

After:

Osswid the Constructor [5499], accompanied by:
   Captain McCook [2019], with five workers
Feasel the Wicked [502]

The effect on the stack in this case is the same as if Feasel had died or been captured in battle.

More examples:

Before:

Osswid the Constructor [5499], accompanied by:
   Feasel the Wicked [502]

After Feasel unstacks:

Osswid the Constructor [5499]
Feasel the Wicked [502]

If other characters were stacked beneath Feasel, they would remain with him.

Before:

Osswid the Constructor [5499], accompanied by:
   Feasel the Wicked [502], accompanied by:
      Candide [1269]

If Candide were stacked beneath Feasel, and Feasel unstacked, then:

Osswid the Constructor [5499]
Feasel the Wicked [502], accompanied by:
   Candide [1269]

On the other hand, if Candide were stacked beneath Osswid, then:

Osswid the Constructor [5499], accompanied by:
   Candide [1269]
Feasel the Wicked [502]