Talk:Fianna
From LSWiki
On January 24, 2021, Marcosy posted the Fianna join check code in Discord:
status fianna_check_requirements() {
//dev checks
if(is_developer(owner))
return False;
// kaz checks
if(owner->query_affiliation("the Kazarak"))
return fianna_boot_member(Fianna_Remove_Kazarak);
// worship checks
if(owner->query_worships("yehovah") || owner->query_worships("asmodai"))
return fianna_boot_member(Fianna_Remove_Divine);
if(owner->query_worships("cthulhu"))
return fianna_boot_member(Fianna_Remove_Cthulhu);
// racial checks
if(member(owner->race()->query_race_affiliations(), "the fey races") != Null)
return fianna_boot_member(Fianna_Remove_Fey_Blood);
if(owner->query_affiliation("demonic blood") || (owner->race()->query_race_category("demonic")))
return fianna_boot_member(Fianna_Remove_Demonic_Blood);
return False;
}
Eternaleye 21:46, 24 January 2021 (EST)
