Code:
exp descr building
paste before last (empty) building
building hinterland_slaverec
{
levels slave_rec
{
slave_rec requires factions { barbarian, carthaginian, eastern, parthia, egyptian, greek, roman, slave, }
{
capability
{
; Slave units
; Italian
recruit "aor italy velite custom" 4 requires marian_reforms and hidden_resource aor_italy
recruit "aor italy hastati custom" 4 requires marian_reforms and hidden_resource aor_italy
recruit "aor samnite spearmen custom" 4 requires not factions { romans_julii, } and not marian_reforms and hidden_resource aor_italy
recruit "aor samnite swordsmen custom" 4 requires not factions { romans_julii, } and not marian_reforms and hidden_resource aor_italy
recruit "aor italy skirmisher custom" 4 requires not factions { romans_julii, } and not marian_reforms and hidden_resource aor_italy
recruit "aor italy cavalry custom" 4 requires not factions { romans_julii, carthage, } and hidden_resource aor_italy
; Asian AOR
;recruit "merc eastern infantry" 4 requires factions { slave, } and hidden_resource aor_asia and not hidden_resource aor_arab
recruit "slave persia phalanx" 4 requires hidden_resource aor_asia and not hidden_resource aor_arab
recruit "slave persia archer" 4 requires hidden_resource aor_asia and not hidden_resource aor_arab
recruit "slave persia cavalry" 4 requires hidden_resource aor_asia and not hidden_resource aor_arab
; Persian AOR
;recruit "merc eastern infantry" 4 requires factions { slave, } and hidden_resource aor_pers and not hidden_resource aor_arab
recruit "slave persia phalanx" 4 requires hidden_resource aor_pers and not hidden_resource aor_arab
recruit "slave persia archer" 4 requires hidden_resource aor_pers and not hidden_resource aor_arab
recruit "slave persia cavalry" 4 requires hidden_resource aor_pers and not hidden_resource aor_arab
; Hillmen AOR
;recruit "merc eastern infantry" 4 requires factions { slave, } and hidden_resource aor_hill
recruit "slave persia phalanx" 4 requires hidden_resource aor_hill
recruit "slave persia archer" 4 requires hidden_resource aor_hill
recruit "slave persia cavalry" 4 requires hidden_resource aor_hill
; AOR India
recruit "slave india infantry" 4 requires hidden_resource aor_indi
recruit "slave india spearmen" 4 requires hidden_resource aor_indi
recruit "slave india elephant" 4 requires hidden_resource aor_indi
; Galatians AOR
recruit "aor galatia swordsmen" 4 requires not factions { romans_brutii, } and hidden_resource aor_galat
recruit "aor galatia slinger" 4 requires not factions { romans_brutii, } and hidden_resource aor_galat
recruit "aor galatia cavalry" 4 requires not factions { romans_brutii, } and hidden_resource aor_galat
recruit "aor galatia chariot" 4 requires not factions { romans_brutii, } and hidden_resource aor_galat
recruit "aor galatian legionaries" 4 requires not factions { romans_brutii, romans_julii, } and hidden_resource aor_galat and marian_reforms
; Judaean AOR
recruit "slave judea zealots" 7 requires hidden_resource judaea
; Arab AOR
recruit "slave bedouin" 4 requires hidden_resource aor_arab
recruit "slave bedouin archers" 4 requires hidden_resource aor_arab
recruit "slave arab infantry" 4 requires hidden_resource aor_arab
; Gaulic AOR
recruit "aor gaul slinger custom" 4 requires not factions { carthage, } and hidden_resource aor_gaul
recruit "aor gaul spearmen custom" 4 requires not factions { carthage, greek_cities, macedon, } and hidden_resource aor_gaul
recruit "aor gaul swordsmen custom" 4 requires not factions { carthage, greek_cities, macedon, } and hidden_resource aor_gaul
recruit "aor gaul light cavalry custom" 4 requires not factions { carthage, roman, } and hidden_resource aor_gaul
recruit "aor gaul heavy cavalry custom" 4 requires not factions { carthage, roman, } and hidden_resource aor_gaul
; German AOR
recruit "aor german warband custom" 4 requires hidden_resource aor_germ
recruit "aor german batavian custom" 4 requires not factions { germans, } and hidden_resource aor_germ
recruit "aor german lightcav custom" 4 requires hidden_resource aor_germ
; Spanish AOR
recruit "aor spain infantry custom" 2 requires hidden_resource aor_iber
recruit "aor spain spearmen custom" 2 requires hidden_resource aor_iber
recruit "aor spain cavalry custom" 2 requires not factions { carthage, } and hidden_resource aor_iber
; AOR Thrace
recruit "aor thrace infantry custom" 4 requires not factions { greek_cities, macedon, seleucid, egypt, } and hidden_resource aor_dacia
recruit "aor thrace slinger custom" 4 requires hidden_resource aor_dacia
recruit "aor thrace heavy cavalry custom" 4 requires hidden_resource aor_dacia
recruit "aor thrace light cavalry custom" 4 requires hidden_resource aor_dacia
; Illyrian AOR
recruit "slave illyrian" 4 requires hidden_resource aor_illyr
recruit "aor illyria slinger custom" 4 requires hidden_resource aor_illyr
recruit "aor illyria skirmisher custom" 4 requires hidden_resource aor_illyr
recruit "aor illyria spearmen custom" 4 requires hidden_resource aor_illyr
; Celtic AOR
recruit "slave briton slinger" 4 requires not factions { romans_scipii, } and hidden_resource aor_brit
recruit "slave briton warband" 4 requires not factions { romans_scipii, } and hidden_resource aor_brit
recruit "slave briton swordsmen" 4 requires not factions { romans_scipii, } and hidden_resource aor_brit
recruit "barb chariot heavy slave" 4 requires not factions { romans_scipii, } and hidden_resource aor_brit
; Scythian AOR
recruit "slave horse archers" 4 requires hidden_resource aor_scyth
recruit "aor sarmatia heavy cavalry custom" 4 requires hidden_resource aor_scyth
; Punic AOR
recruit "aor punic spearmen custom" 2 requires not factions { carthage, } and hidden_resource aor_punic
recruit "aor punic pikemen custom" 2 requires not factions { egyptian, } and hidden_resource aor_punic
recruit "aor numidia punic light cavalry custom" 4 requires not factions { romans_julii, } and hidden_resource aor_punic
recruit "slave punic heavy cavalry" 4 requires hidden_resource aor_punic
; Numidian AOR
recruit "aor numidia skirmisher custom" 4 requires not factions { carthage, } and hidden_resource aor_numid
recruit "aor numidia spearmen custom" 4 requires not factions { carthage, } and hidden_resource aor_numid
recruit "aor numidia punic light cavalry custom" 4 requires not factions { romans_julii, } and hidden_resource aor_numid
; Greek
recruit "aor macedon phalanx custom" 4 requires hidden_resource aor_mace
recruit "slave illyrian" 4 requires hidden_resource aor_mace
recruit "slave rhodian slingers" 4 requires hidden_resource aor_mace
recruit "slave cretan archers" 4 requires hidden_resource aor_mace
recruit "aor greece spearmen custom" 4 requires hidden_resource aor_greek
recruit "aor greece skirmisher custom" 4 requires hidden_resource aor_greek
recruit "slave illyrian" 4 requires hidden_resource aor_greek
recruit "slave rhodian slingers" 4 requires hidden_resource aor_greek
recruit "slave cretan archers" 4 requires hidden_resource aor_greek
;Egyptian AOR
recruit "aor egypt archer custom" 4 requires hidden_resource aor_egypt
recruit "aor egypt spearmen custom" 4 requires hidden_resource aor_egypt
recruit "slave rhodian slingers" 4 requires hidden_resource aor_egypt
recruit "slave cretan archers" 4 requires hidden_resource aor_egypt
}
construction 99
cost 10
settlement_min town
upgrades
{
}
}
}
plugins
{
}
}
edb enums
paste below trade_name
slaverec_name
paste at end
slave_rec
slave_rec_desc
slave_rec_desc_short
export buildings (in data/text)
paste underneath {MTM_temple_of_trade_temple_britons_desc_short} This Temple is dedicated to
Note that the lines above and below may not work properly and may need to be taken from the original patch text file.
¬--------------
{slave_rec} \n\n\
{slave_rec_desc} \n\n\
{slave_rec_desc_short} \n\n\
{slave_rec_roman_desc} \n\n\
{slave_rec_roman_desc_short} \n\n\
{slave_rec_barbarian_desc} \n\n\
{slave_rec_barbarian_desc_short} \n\n\
{slave_rec_eastern_desc} \n\n\
{slave_rec_eastern_short} \n\n\
{slave_rec_carthage_desc} \n\n\
{slave_rec_carthage_desc_short} \n\n\
{slave_rec_parthia_desc} \n\n\
{slave_rec_parthia_short} \n\n\
{slave_rec_egyptian_desc} \n\n\
{slave_rec_egyptian_short} \n\n\
{slave_rec_greek_desc} \n\n\
{slave_rec_greek_desc_short} \n\n\
¬--------------