- priority: 5 --> 9
This is more of an event rather than an action, however
as for as the program goes it will be an action.
When a character dies there are a number of common
actions that need to be carried out automatically.
These include (there may be other things):
* Mark the character as dead
* Remove the character from their domain
* Set the character's heir as the holder of the domain (or
randomly choose a lieut if they have no heir... and if
none of those then DM must say who is replacing them!)
* If the replacing character already has a domain then
the two need merging, (this may not be necessary...)
* All lieutennants the character need to be checked, the
character should have no old lieuts and not be a
lieutennant of anyone else either. All old lieuts of the
character should me moved to the new character.
This should be done by creating a 'killChar' method in
BaseCharacterData. Whenever a character is killed this
method should be called. This should include battle
actions although this can be done later. There should
however be a 'Kill character' button added to the
character and base character views (along with multiple
are you sure messages!!!).