initialize_aristocracy
Ну в этом скрипте вроде общие правила прописываются. Если у меня к примеру не 20 лордов, а 13-14, как и где прописать их семейные связи?
Да, это так, вот эти правила:
#The first thing - family structure
#lords 1 to 8 are patriarchs with one live-at-home son and one daughter. They come from one of six possible ancestors, thus making it likely that there will be two sets of siblings
#lords 9 to 12 are unmarried landowners with sisters
#lords 13 to 20 are sons who still live in their fathers' houses
#For the sake of simplicity, we can assume that all male aristocrats in prior generations either married commoners or procured their brides from the Old Country, thus discounting intermarriage
Этот скрипт как-то хитро распределяет семьи и характеры по данным правилам.
Но можно сделать семьи поспоянными
(troop_set_slot, ":cur_troop", slot_troop_father, ":father"), - father cтановиться отцом cur_troop
(troop_set_slot, ":cur_lady", slot_troop_mother, ":cur_troop"), - cur_troop cтановиться матерью cur_lady
(troop_set_slot, ":father", slot_troop_spouse, ":mother"), - mother и father становяться супругами.
(troop_set_slot, ":lord", slot_troop_age, ":age"), - делает возраст lord равным age.
(troop_set_slot, ":cur_troop", slot_lord_reputation_type, ":reputation"), - делает характер lord равным reputation, где reputation может принимать значение:
lrep_none = 0
lrep_martial = 1 #chivalrous but not terribly empathetic or introspective, - eg Richard Lionheart, your average 14th century French baron
lrep_quarrelsome = 2 #spiteful, cynical, a bit paranoid, possibly hotheaded - eg Robert Graves' Tiberius, some of Charles VI's uncles
lrep_selfrighteous = 3 #coldblooded, moralizing, often cruel - eg William the Conqueror, Timur, Octavian, Aurangzeb (although he is arguably upstanding instead, particularly after his accession)
lrep_cunning = 4 #coldblooded, pragmatic, amoral - eg Louis XI, Guiscard, Akbar Khan, Abd al-Aziz Ibn Saud
lrep_debauched = 5 #spiteful, amoral, sadistic - eg Caligula, Tuchman's Charles of Navarre
lrep_goodnatured = 6 #chivalrous, benevolent, perhaps a little too decent to be a good warlord - eg Hussein ibn Ali. Few well-known historical examples maybe. because many lack the drive to rise to faction leadership. Ranjit Singh has aspects
lrep_upstanding = 7 #moralizing, benevolent, pragmatic, - eg Bernard Cornwell's Alfred, Charlemagne, Salah al-Din, Sher Shah Suri
lrep_roguish = 8 #used for commons, specifically ex-companions. Tries to live life as a lord to the full
lrep_benefactor = 9 #used for commons, specifically ex-companions. Tries to improve lot of folks on land
lrep_custodian = 10 #used for commons, specifically ex-companions. Tries to maximize fief's earning potential
#lreps specific to dependent noblewomen
lrep_conventional = 21 #Charlotte York in SATC seasons 1-2, probably most medieval aristocrats
lrep_adventurous = 22 #Tomboyish. However, this basically means that she likes to travel and hunt, and perhaps yearn for wider adventures. However, medieval noblewomen who fight are rare, and those that attempt to live independently of a man are rarer still, and best represented by pre-scripted individuals like companions
lrep_otherworldly = 23 #Prone to mysticism, romantic.
lrep_ambitious = 24 #Lady Macbeth
lrep_moralist = 25 #Equivalent of upstanding or benefactor -- takes nobl