Code:
type canoe
dictionary canoe
category ship
class light
voice_type Light
soldier Peasants, 50, 0, 1
ship light warship
attributes sea_faring, can_withdraw
formation 3, 3, 5, 5, 1, square
stat_health 1, 0
stat_pri 2, 0, javelin, 40, 10, thrown, missile_mechanical, piercing, spear, 10, 0
;stat_pri_ex 0, 0, 0
stat_pri_attr ap, thrown, bp
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 0, 10, 0, flesh
;stat_armour_ex 0, 0, 0, 0, 22, 0, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 0
stat_ground 0, 0, 0, 0
stat_mental 8, normal, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 100, 50, 25, 25, 100, 10, 50
armour_ug_levels 0
armour_ug_models Peasants
ownership mesoamerican, nativeindian
;unit_info 18, 0, 22
recruit_priority_offset 2
My problem is that when I put this unit in the recruitment queue,I get a CTD when I click the "End Turn" button.