And you don't have any other guilds in the settlement? The trigger you specified would give points to the settlement that you train the unit in, so if you're training them in different settlements the points won't accrue. Also, I assume you're using England, which is catholic, so that wouldn't be an issue. The other possibility is your settlement is not the right size/type:
Code:
building guild_st_johns_chapter_house
{
convert_to guild_st_johns_chapter_house
religion catholic
levels st_johns_minor_ch st_johns_major_ch st_johns_hq
{
st_johns_minor_ch requires factions { england, france, scotland, denmark, hungary, poland, papal_states, milan, sicily, venice, }
{
convert_to 0
capability
{
recruit_pool "Knights Hospitaller" 1 0.4 3 0 requires factions { england, scotland, france, denmark, milan, venice, papal_states, sicily, poland, hungary, }
population_health_bonus bonus 1
}
material stone
construction 1
cost 1000
settlement_min city
upgrades
{
st_johns_major_ch
}
You need to have a Minor City in order to get a st johns minor chapter house.
Cheers,
Augustus