var exploration = zoologymodule.initiateexploration(); for(int i = 0; i < directives.length; i++) { if(directives[i].contains("precursory")) { exploration.disregard(false); } else if(directives[i].contains("hidden")) { exploration.reactivatehiddenspeciesdiscoverymode(); } }