Peter Mardahl wrote: > > > I am looking into setting up a searchable monster database on the > > Crossfire website. Eventually this database would extend to spells, > > armour, weapons, etc. > > I think it would be very cool. > I think it's important that it be "automated", so that, > for example, you can take a new archetypes file, > interpret it, and automatically get all the parameters. > > This same approach could be used for Classes and Races, > too. > the dump switches in crossfire already do most of that. For example, and example of crossfire -m2 (one monster selected): zombie | 60| 35| 9|(very slow movement)(infravision)(undead)(Attacks: physical)(Immune: fear)(Protected: cold)|zombie|generate_zombie Now that might not be ideal format, but presumably you could feed that to perl which then hashes it via dbm or something. But I would say that the spoiler might be a good starting place to look, since it is automatically generated for most all the stuff you were asking about.