diff options
author | QCyph <dev@lived.nl> | 2011-08-27 10:50:29 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2011-08-27 11:01:10 +0200 |
commit | e26056de79c72a113fa1c5cc725e053e0efe3a97 (patch) | |
tree | 015770471e514ef07a73e3d7e813eae04e117975 /util/jsgen.pl | |
parent | 96c8f09ca054ea21f59bd62b3fdc9de90ebf1348 (diff) |
Added filters to character browse page and trait page
Diffstat (limited to 'util/jsgen.pl')
-rwxr-xr-x | util/jsgen.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/jsgen.pl b/util/jsgen.pl index f046fe1a..88043162 100755 --- a/util/jsgen.pl +++ b/util/jsgen.pl @@ -111,6 +111,13 @@ sub jsgen { $common .= sprintf "animated = [ %s ];\n", join ', ', @{$S{animated}}; $common .= sprintf "voiced = [ %s ];\n", join ', ', @{$S{voiced}}; $common .= sprintf "vn_lengths = [ %s ];\n", join ', ', @{$S{vn_lengths}}; + $common .= sprintf "blood_types = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{blood_types}}; + $common .= sprintf "genders = [ %s ];\n", join ', ', map qq{"$_"}, @{$S{genders}}; + $common .= sprintf "bust_ranges = [ %s ];\n", join ', ', @{$S{bust_ranges}}; + $common .= sprintf "waist_ranges = [ %s ];\n", join ', ', @{$S{waist_ranges}}; + $common .= sprintf "hip_ranges = [ %s ];\n", join ', ', @{$S{hip_ranges}}; + $common .= sprintf "height_ranges = [ %s ];\n", join ', ', @{$S{height_ranges}}; + $common .= sprintf "weight_ranges = [ %s ];\n", join ', ', @{$S{weight_ranges}}; $common .= sprintf "L10N_LANG = [ %s ];\n", join(', ', map sprintf('["%s","%s"]', $_, $lang{$_}{"_lang_$_"}||$lang{en}{"_lang_$_"}), VNDB::L10N::languages()); |