Part of my desire to have classifications for NPCs was to eventually do something nice with the Animal Lore skill but also to use these taxonomical names in the createnpc command. Below are screen shots of the createnpc commands operation.
When you type the .createnpc command with no template you will receive a gump like this. I have selected the category daemonium. With daemonium selected, if you click the "OKAY" button you will receive a gump listing all NPCs that are in the daemonium classification. I realize there is a learning curve to using this command if I use classifications for the NPC group selection. I could change from using the taxonomical names to using a small, abbreviated, list of NPCs for designating the categories. It would require a little more effort but it can be done. The old way was to show pictures, art tiles of miniature NPCs, that generally pertained to NPCs in that category. There are at least two complications with the picture method. First, the picture may not give enough information to the GM about the NPCs in that category. The second problem is that a separate part of the npcdesc.cfg file would need to be updated each time a new NPC was added. After adding the NPC definition, you would then need to add the template name to the category list in the proper category. Using my method you need only add a custom property, Taxonomty, in the NPC definition.
In the definition for a brown bear note the Taxonomy property at the end:
Code: Select all
NpcTemplate bear
{
Name a brown bear
script animal
ObjType 0xd3
Color 0
TrueColor 33784
Gender 0
STR 75
INT 47
DEX 45
HITS 100
MANA 0
STAM 75
Resisting_Spells 35
Wrestling 60
Tactics 60
AttackSpeed 30
AttackDamage 2d5+3
AttackAttribute Wrestling
AttackHitSound 0x62
AttackMissSound 0x239
AR 12
tameskill 46
herdskill 41
food meat
provoke 25
dstart 10
deathsound 0x64
damagedsound 0x63
idlesound1 0x60
idlesound2 0x61
corpseitm rawrib hide
corpseamt 8 12
CProp noloot i1
CProp Karma i0
CProp Fame i2
AttackHitScript :combat:mainHitScript
Taxonomy ursidae
}
Code: Select all
/////////////////////////////////////////////////////////
// Taxonomy of the UO NPCs.
// This list was originally compiled by ThisIsMe.
// I added more classifications. Some of the taxonomical
// names were taken from Latin.
//
// Note: This list originally included 47 taxonomical
// classifications. I had to pare it down considerably
// to prevent the NPC creation command's gump from being
// too long. Consequently I had to cheat and combine
// some classifications, ie. Ophidians are now under
// the sepentes taxonomy instead of ophidia.
// The original list can be found at the
// end of this file.
//
// Yukiko
//
// anura - Frogs and Toads
// arachnida - Scorpions, Spiders and Terathons
// aves - Birds and Harpys
// chiroptera - Bat, Wombat
// beholder - Gazers and Frigid Eyes (your eye creatures)
// bovidae - Cows, Bulls, Goats, Sheep and bonnacon
// (https://en.wikipedia.org/wiki/Bonnacon)
// camelidae - llamas
// canidae - Dogs, wolves
// cervidae - Deer, Great Harts
// cretacea - All dinosaurish species, including Raptalon, Armoured Boura, etc.
// crustacean - Crabs and shell fish
// daemonium - Daemons, Balron's, Ice Fiends...
// delphinidae - Dolphins
// draco - Dragons and Drakes
// elementum - Elementals
// equus - Horses, Unicorns, Dread Horns...
// felidae - Cats, Panthers, Tigers
// fey - faeries, pixies, dopplegangers, Wisps
// homo sapiens - humans
// immortuos - Undead
// limus - slimes, mucks etc.
// movens ligno - Ents, Reapers and other animated or moving tress
// odobenidae - Walrus
// orcus - Orcs, Ogres, ettins etc.
// phasianidae - Chickens, Ostards and probably Turkeys?
// primatomorpha - Gorillas
// reptilia - Alligators, Rock Lizards, Fire Lizards and lizardmen
// rodentia - Rabbits, Rats, Giant Rats and Ratmen
// scarabaeidae - Giant Beetles, Fire Beetles, etc...
// serpentes - Snakes, Giant Serpents, Ophidians
// suidae - Pigs, Boards, Hildisvinis
// unknown - Ki-rin and headless ones fall into this classification
// ursidae - Bears
// vinae - Corpser...any vine type of plant
///////////////////////////////////////////////////////////////////
Here are examples of the two options:
Option 1 - the current method for reptiles displays:
reptilia
Which includes Alligators, Rock Lizards, Fire Lizards and lizardmen
Option 2 For NPCs in the class reptillia would display:
Alligators and Lizards
I think I know which method I am going to use but I want some input on the two options before finalizing the createnpc command. Let me know which method you prefer.