- This page is a verbatim copy of the Lexica Botania you can craft ingame by combining a Book with any type of Sapling. It, however, does not contain any recipes or images. Usage of the ingame guide is encouraged.
- The contents of this page are fed from the bleeding-edge lang file and may be ahead of the Botania version currently out.
- This page contains spoilers for unlockables!
$value) {
$entry_match = match_entry($key);
$page_match = match_page($key, $current_entry);
if(sizeof($entry_match) > 0) {
$current_entry = $entry_match[1];
if($opened_div)
echo('');
echo("
$value");
echo("\n");
$opened_div = true;
}
if(sizeof($page_match) > 0) {
$page = preg_replace('/&(.)((?:[^&])+)(?:(?:&(?:0|r))|$)/', "$2", $value) . '
';
$no_control = preg_replace('/&./', '', $value);
if(strlen($no_control) > 50) {
echo($page);
echo("\n");
}
}
}
echo('
');
function match($regex, $line) {
$matches = array();
preg_match("/$regex/", $line, $matches);
return $matches;
}
function match_entry($key) {
return match('botania\.entry\.(\w+)', $key);
}
function match_page($key, $entry_name) {
return match("botania\.page\.$entry_name\d+", $key);
}
?>