I'm making a stupid mod to add domestic dragons. I was going to start out making some kind of dog+cat combo (i.e. a trainable verminhunter), but they seem to be somewhat incompatible. You can buy them trained at the start, but I don't seem to be able to get kennels to work on them. Then I saw a recent Dragon-Training-centered movie and decided, fuck it, I'm turning them into dragons. So then I had some unholy combination of dragon, cat, dog and cow, the latter of which I copied for sizes and whatnot.
Then I had the bright idea to make them intelligent, and things got weird.
[CREATURE:HOUSE_DRAGON]
[DESCRIPTION:A moderate-sized reptilian creature. It is slightly magical and can substitute for a flint and tinder. These affable monsters can live for hundreds if not thousands of years. First domesticated by Wizards, but lately found inhabiting Dwarf Fortresses.]
[NAME:house dragon:house dragons:husdraconic]
[CASTE_NAME:house dragon:house dragons:husdraconic]
[CREATURE_TILE:'D'][COLOR:2:0:0]
[PETVALUE:500][NATURAL]
[LARGE_ROAMING]
[VERMINHUNTER]
[COMMON_DOMESTIC][trAINABLE][PET]
[NO_EAT][NO_DRINK]
[INTELLIGENT]
[MEANDERER][BENIGN]
[BIOME:ANY_LAND]
[FREQUENCY:0]
[FIREBREATH][FIREIMMUNE_SUPER]
[liKES_FIGHTING]
[GRASSTRAMPLE:1]
[PREFSTRING:average majesty]
[BODY:QUADRUPED:TAIL:2EARS:2EYES:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:HUMANOID_JOINTS:4FINGERS:4TOES:MOUTH:GENERIC_TEETH_WITH_LARGE_EYE_TEETH:RIBCAGE]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[REMOVE_MATERIAL:SKIN]
[REMOVE_MATERIAL:LEATHER]
[REMOVE_MATERIAL:HAIR]
[USE_MATERIAL_TEMPLATE:SCALE:SCALE_TEMPLATE]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:SKIN]
[REMOVE_TISSUE:HAIR]
[USE_TISSUE_TEMPLATE:SCALE:SCALE_TEMPLATE]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SCALE:FAT:MUSCLE:BONE:CARTILAGE]
[USE_MATERIAL_TEMPLATE:CLAW:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:CLAW:CLAW_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:TOE:CLAW:BACK]
[TISSUE_LAYER:BY_CATEGORY:FINGER:CLAW:FRONT]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SCALE:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[liGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
[BODY_SIZE:0:0:100000]
[BODY_SIZE:1:0:250000]
[BODY_SIZE:2:0:600000]
[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:1000:2000]
[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_CANLATCH]
[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:GRASP:BY_CATEGORY:FINGER:NAIL]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:scratch:scratches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]
[CHILD:1][GENERAL_CHILD_NAME:dragonling:dragonlings]
[DIURNAL]
[SWIMS_INNATE][SWIM_SPEED:2500]
[HOMEOTHERM:10040]
[MUNDANE]
[CASTE:FEMALE]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[USE_MATERIAL_TEMPLATE:MILK:MILK_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen dragon's milk]
[STATE_ADJ:ALL_SOLID:frozen dragon's milk]
[STATE_NAME:LIQUID:dragon's milk]
[STATE_ADJ:LIQUID:dragon's milk]
[STATE_NAME:GAS:boiling dragon's milk]
[STATE_ADJ:GAS:boiling dragon's milk]
[PREFIX:NONE]
[MILKABLE:LOCAL_CREATURE_MAT:MILK:20000]
[USE_MATERIAL_TEMPLATE:CHEESE:CREATURE_CHEESE_TEMPLATE]
[STATE_NAME:SOLID:dragon cheese]
[STATE_ADJ:SOLID:dragon cheese]
[STATE_NAME:SOLID_POWDER:dragon cheese powder]
[STATE_ADJ:SOLID_POWDER:dragon cheese powder]
[STATE_NAME:LIQUID:melted dragon cheese]
[STATE_ADJ:LIQUID:melted dragon cheese]
[STATE_NAME:GAS:boiling dragon cheese]
[STATE_ADJ:GAS:boiling dragon cheese]
[PREFIX:NONE]
[CHILDNAME:dragonette:dragonettes]
[CASTE:MALE]
[MALE]
[CHILDNAME:dragonling:dragonlings]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:SCALE]
[TL_COLOR_MODIFIER:BLACK:1:RED:1:WHITE:1:GRAY:1:HELIOTROPE:1:JADE:1:DARK_GREE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:1:IRIS_EYE_SPRING_GREEN:1:IRIS_EYE_TAN:1:IRIS_EYE_TAUPE_DARK:1:IRIS_EYE_TAUPE_GRAY:1:IRIS_EYE_TAUPE_MEDIUM:1:IRIS_EYE_TAUPE_PALE:1:IRIS_EYE_TAUPE_SANDY:1:IRIS_EYE_TEAL:1:IRIS_EYE_TURQUOISE:1]
[TLCM_NOUN:eyes:PLURAL]
[SELECT_MATERIAL:ALL]
[MULTIPLY_VALUE:2]
[COLDDAM_POINT:NONE]
[HEATDAM_POINT:NONE]
[IGNITE_POINT:NONE]
[IF_EXISTS_SET_MELTING_POINT:55000]
[IF_EXISTS_SET_BOILING_POINT:57000]
[SPEC_HEAT:30000]
Need to make sure blood and pus aren't solid at regular temperatures.
[SELECT_MATERIAL:BLOOD]
[PLUS_MATERIAL:PUS]
[MELTING_POINT:10000]
If you want to try it, this goes at the end of Creature_domestic.txt in the raws. Anyway, I don't know if the limbs are working right. I figured dragons would have dexterous paws and be able to pick up objects, so I gave them the humanoid limbs bit. I also copied the scratch attack from other entries, but I'm not 100% certain it works right. When I try using one in Arena mode, they'll grab with their paws (wrestling?) instead of scratching, but I almost never play Adventurer mode and don't really know how that works in the first place. I'm also not 100% their claws are assigning right, but oh well.
I was also going to give them flightless wings, but couldn't figure out the right tag category for it. That said, regular Dragons don't have them either, so... I guess I can tolerate them having implied wings.
I'm also thinking about switching them to a firey-glob style breath instead of the current fan-shaped gas(?)-like fire breath, but haven't really read up on it.
Anyway, with their current setup, they wander around your fort endlessly, often annoyingly going outside and hunting for tiny things to eat. If they happen to run into a goblin, they will barbecue it, and usually set the entire world on fire in the process. You can chain them up, of course, and buy war- or hunting-trained ones at embark. They're like cats, so they'll pick their own owners, usually only a dwarf that likes them. If you let them be, they'll eventually develop lots of conversation skills. I've seen them emigrate as migrants' pets, and they'll start with other skills that they can't usually get - I have one in my current fort that's an adequate Appraiser, Shield User and Lasher. I have no idea if they count towards or against immigrant counts.
Amusingly, you can assign them to positions on the Noble screen, but they drop out immediately after you exit the screen. However, if you hit 'v' from that screen, you can view their relationships and hidden stats, which seem to be more or less irrelevant. Oh, and one more thing: since they count as Intelligent, the children can be kidnapped by goblin snatchers; with their map wandering habits, this happens more frequently than it might otherwise.