PDA

View Full Version : Can we 'manipulate' the search feature?



DrClarke
June 15th, 2007, 21:35
I was thinking of something that my friend asked me.

Let's say, you have the Library opened up and you're going through a Book of Spells, is it possible for us, the end users, to modify the search ability or is that hard coded.

Like, for example, my friend wanted to do a search on all Level 3 spells, but in it's current state, this cannot be done.

joshuha
June 15th, 2007, 21:48
Look at the filter in common_templates.xml and template_filter.lua. Its doable but I would create your own version. I think essentially what the filter is doing is just restricting what subwindows in a windowlist you see based off of your criteria. To make that be able to accept multiple inputs of criteria and filter based off that sounds doable but might be a bit of work.

DrClarke
June 15th, 2007, 22:02
I was fairly certain it was way more undertaking than I was looking forward to, but I was curious if anyone had a hint on where to look and you seem to have pointed that out.

Thanks!