Code: Select all
* Conquest
dim $validRaces = [Yaki], [Pirates], [Xenon], [Player], [Unknown], [Goner], [OCV]
if find $conqueror in array: $validRaces
$sector-> set local variable: name='mayhem_autopopulateRace' value=null
$sector-> set local variable: name='mayhem_autopopulateMinStations' value=null
end
do if find $previousOwner in array: $validRaces
$sector-> set local variable: name='mayhem_autopopulateRace' value=$conqueror
$sector-> set owner race to $conqueror
According to Mayhem.Monitor.Autopopulate.xml, [Yaki] is not a valid mayhem_autopopulateRace.
Edit: Add the fix below:
Mayhem.Conquer.xml
-----------------------------------
line 45: change to
Code: Select all
* Conquest
dim $validRaces = [Yaki], [Pirates], [Xenon], [Player], [Unknown], [Goner], [OCV]
if find $conqueror in array: $validRaces
$sector-> set local variable: name='mayhem_autopopulateRace' value=null
$sector-> set local variable: name='mayhem_autopopulateMinStations' value=null
else
do if find $previousOwner in array: $validRaces
$sector-> set local variable: name='mayhem_autopopulateRace' value=$conqueror
end