'howcarry' => 'equipmnt',
'howmuch' => 'equipmnt',
'howuse' => 'equipmnt',
+ 'backpack' => 'equipmnt',
+ 'ammpouch' => 'equipmnt',
+ 'medikit' => 'equipmnt',
+ 'canteen' => 'equipmnt',
+ 'weapons' => 'weapons',
+ 'close' => 'weapons',
+ 'missile' => 'weapons',
'cmbtrulz' => 'cmbtrulz',
'evasion' => 'cmbtrulz',
'lorecrcl' => 'lorecrcl',
}
my $lineNumber = 1;
-my $currentSection = "_unknown";
+my $currentSection = '';
while( my $line = <> ) {
my @section = ( $line =~ /<section[^>]+id="([^"]*)"/g );
else {
$currentSection = $sectionDocLookup{$section[ 0 ]};
}
+ $currentSection = '_unknown' unless defined $currentSection;
}
if( $skipLines >= $lineNumber ) {