CE Repair Fixes v1.1.0
======================

A small add-on for Captivity Events. It does not change any CE file.

WHAT IT FIXES
1. Recruited heroes leave.
   Heroes you recruit through Captivity Events ("Accept their fealty.", BC Captor's
   "Welcome her into your clan." and the like) join your party, then leave after a
   few days and go back to their own faction. They also never show on your clan page.
   CE frees them from captivity before adding them to your party, so they stay
   flagged as released, and each day the game has about a 30% chance of sending a
   released hero back to a settlement.
   With this installed, a hero CE recruits is made a member of your clan and set to
   active, so she stays in your party and shows on your clan page.

2. Captor events name the wrong person.
   The first screen of a captor event can show the previous prisoner's name, or
   your own ("you happen across <your name>..."), instead of the prisoner the event
   is about. CE's 1.4 build stopped setting the names when a captor event opens.
   With this installed, it sets them again. Only the text was wrong; the event
   always acted on the right prisoner.

INSTALL
1. Extract so that you have Modules\CERepairFixes\SubModule.xml.
2. If Windows blocked the download, right-click
   Modules\CERepairFixes\bin\Win64_Shipping_Client\CERepairFixes.dll,
   choose Properties and tick Unblock.
3. Tick "CE Repair Fixes" in the launcher. It must load below Captivity Events.

HOW TO TELL IT WORKS
- Modules\CERepairFixes\bin\Win64_Shipping_Client\CERepairFixes.log says
  "Recruitment fix active" and "Captor name fix active" at startup. It also names
  every hero the recruitment fix handled.
- When a recruitment fires, you see a green message:
  "<name> is now part of your clan and will stay in your party. (CE Repair Fixes)"

Heroes recruited BEFORE you installed it may still be flagged as released. Recruit
someone new to test it.

QUICK TEST (console, Alt + ~)
  First release or sell your other prisoners. Then run:
  captivity.create_new_prisoner
  captivity.create_new_prisoner
  captivity.force_fire_event CE_captor_female_recruitment

  Leave the name off the last command. The console can't take a name with spaces
  ("Corena the Wanderer"). Without a name, CE picks the first prisoner you hold, and
  a new prisoner goes to the end of the list. That's why the others must go first.

  The event names the first new prisoner. Choose "Accept their fealty." Then fire
  the same command again: it should now name the second prisoner. (Without fix 2 it
  repeats the first one's name.) Accept her too, then let 10 days pass without
  talking to them. Both should still be with you and on your clan page.

REMOVE
Untick it in the launcher. Heroes it already fixed stay in your clan.
