Remember the Caliphate of Scotland from your history classes, which was created when the Fatimids were ousted from Egypt during a Crusade, but managed to invade Scotland using their ocean-faring vessels?
No? Neither do I. The muslims simply didn't have boats capable of faring the Atlantic, nor did they have any idea of what Europe really looked like. To them all Europeans were 'Romans' if they came from the ERE, and 'Franks' otherwise.
This event is a rough check if a muslim is in command of an army and is located in any Atlantic seazone, and if so the regiments are silently destroyed. This models that their ships aren't ocean going.
They can still happily rampage around the Mediterranean and even get to the Canarias, but that's it.
To use, paste the below in any event file. For the next DVIP release it will be located at the end of the varia.txt.
Note: may be changed later, if I find a better way to do this. There is no event text since this AI only anyway.
No? Neither do I. The muslims simply didn't have boats capable of faring the Atlantic, nor did they have any idea of what Europe really looked like. To them all Europeans were 'Romans' if they came from the ERE, and 'Franks' otherwise.
This event is a rough check if a muslim is in command of an army and is located in any Atlantic seazone, and if so the regiments are silently destroyed. This models that their ships aren't ocean going.
They can still happily rampage around the Mediterranean and even get to the Canarias, but that's it.
To use, paste the below in any event file. For the next DVIP release it will be located at the end of the varia.txt.
Code:
character_event = { # Prevent muslims on the ocean but allow Mediterranean & inner seas
id = 23235
picture = "event_death"
trigger = {
condition = { type = ai } #Saves a kajillion cycles, since all muslims are AI anyway
condition = { type = gender value = male } #Women can't command armies so exclude them to save cycles
condition = { type = age value = 16 } #Children can't command either
condition = { type = not value = { type = combat } } #Exclude two things only possible on land -- saves CPU cycles
condition = { type = not value = { type = siege } }
condition = { type = command } #Only fire for people in charge of an army
condition = { type = or #Muslim rulers or commanders only, they lack boats
condition = { type = and
condition = { type = ruler }
condition = { type = religion value = moslem }
}
condition = { type = liege condition = { type = religion value = moslem } }
}
condition = { type = location #CSC for location checks... Need to check each individual Atlantic province since all seazones are in the same area/region :(
condition = { type = or
condition = { type = province value = 852 }
condition = { type = province value = 853 }
condition = { type = province value = 854 }
condition = { type = province value = 855 }
condition = { type = province value = 856 }
condition = { type = province value = 857 }
condition = { type = province value = 858 }
condition = { type = province value = 859 }
condition = { type = province value = 860 }
condition = { type = province value = 861 }
condition = { type = province value = 862 }
condition = { type = province value = 863 }
condition = { type = province value = 864 }
condition = { type = province value = 865 }
condition = { type = province value = 866 }
condition = { type = province value = 867 }
condition = { type = province value = 868 }
condition = { type = province value = 869 }
condition = { type = province value = 870 }
condition = { type = province value = 871 }
condition = { type = province value = 872 }
condition = { type = province value = 873 }
condition = { type = province value = 874 }
condition = { type = province value = 875 }
condition = { type = province value = 876 }
condition = { type = province value = 877 }
condition = { type = province value = 878 }
condition = { type = province value = 879 }
condition = { type = province value = 880 }
condition = { type = province value = 881 }
condition = { type = province value = 882 }
condition = { type = province value = 883 }
condition = { type = province value = 884 }
condition = { type = province value = 885 }
condition = { type = province value = 886 }
condition = { type = province value = 887 }
condition = { type = province value = 888 }
condition = { type = province value = 889 }
condition = { type = province value = 890 }
condition = { type = province value = 891 }
condition = { type = province value = 892 }
condition = { type = province value = 893 }
condition = { type = province value = 894 }
condition = { type = province value = 895 }
condition = { type = province value = 902 }
condition = { type = province value = 903 }
condition = { type = province value = 904 }
condition = { type = province value = 905 }
condition = { type = province value = 906 }
condition = { type = province value = 907 }
condition = { type = province value = 908 }
condition = { type = province value = 909 }
condition = { type = province value = 910 }
condition = { type = province value = 996 }
}
}
}
mean_time_to_happen = { #Should fire more often to make sure nothing odd happens, but will be too CPU intensive :(
days = 10
}
immidiate = {
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
effect = { type = remove_regiment }
}
}
Note: may be changed later, if I find a better way to do this. There is no event text since this AI only anyway.
Last edited: