Talk:Fianna
From LSWiki
(Difference between revisions)
| Revision as of 21:45, 24 January 2021 (edit) Eternaleye (Talk | contribs) ← Previous diff |
Current revision (21:46, 24 January 2021) (edit) Eternaleye (Talk | contribs) |
||
| Line 20: | Line 20: | ||
| return False; | return False; | ||
| } | } | ||
| + | |||
| + | [[User:Eternaleye|Eternaleye]] 21:46, 24 January 2021 (EST) | ||
Current revision
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)
