Professor Scott wrote:What determines the deck's affiliation icon, the outpost seeded or the largest concentration of personnel?
*opens up the code*
Okay, it looks like this is how it runs (unless I'm looking at an old version of the function somehow)...
First it counts total nouns in the deck (totalnouns).
Then it counts how many nouns each affiliation has in the deck (affilnouns).
Then it divides affilnouns by totalnouns. If the result is greater than 0.5, the deck gains that affiliation.
For
, it additionally checks whether every noun in the deck is NA ($naNouns/$totalNouns == 1) and less than half of them are also Maquis. If so, then
is assigned.
There's several more lines of Maquis-related code I don't want to sort out right now.
For 1E Borg, it then checks whether every noun in your deck is
($borgnouns == $totalnouns) as long as you have at least 10 nouns in your deck. I'm not really sure why it does this because it looks like it should already have set any such deck to Borg, but I'm just reading, haven't tested, and there's usually a reason for these things.
Lastly, for 1E, it checks whether you have a Ferengi facility. If so, your deck is given Ferengi designation regardless of anything else.
This code is basically the same for both games.
Rules Manager | Official Rulings in
blue. All else opinion. |
Rules Archive
"We pledge our loyalty to the Glossary from now until death."
"Then receive this reward from the Glossary. May it keep you strong."
~Iron Prime