Hey guys!
I have a friend who started playing DF a while ago. he decided to flood my fortress whilst i was not looking. i kind of want to prank him back by changing his dwarfs blood to dragonfire in the raws. i have never modded and wanted to know if anyone could help me with it?
Edit: I forgot to mention, this won't take effect until he makes a new world...
I don't think dragonfire is a material, I
think it's hardcoded. However you could do something like giving ravens the ability to shoot cones of fire. Or dogs. Or any other creature. Lemme walk you through this:
Go to the raws (Root -> Raw -> Objects), find 'creature_domestic.txt' open this in either Notepad or Notepad++ (Or any other text editing program, just not something like Word lol), press ctrl+F (Find), check the box 'match case' and in all lowercase, search 'cat' (Or whatever creature you want). Scroll down a bit until you see:
[CAN_DO_INTERACTION:CLEANING]
[CDI:ADV_NAME:Clean]
[CDI:USAGE_HINT:CLEAN_SELF]
[CDI:USAGE_HINT:CLEAN_FRIEND]
[CDI:BP_REQUIRED:BY_CATEGORY:TONGUE]
[CDI:VERB:lick:licks:lick each other]
[CDI:CAN_BE_MUTUAL]
[CDI:TARGET:A:SELF_ALLOWED:TOUCHABLE]
[CDI:TARGET_RANGE:A:1]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:10]
[CAN_DO_INTERACTION:BP_BUMP]
[CDI:ADV_NAME:Head bump]
[CDI:USAGE_HINT:GREETING]
[CDI:BP_REQUIRED:BY_CATEGORY:HEAD]
[CDI:VERB:head-bump:head-bumps:bump heads]
[CDI:CAN_BE_MUTUAL]
[CDI:TARGET:A:SELF_ONLY]
[CDI:TARGET:B:TOUCHABLE]
[CDI:TARGET_RANGE:B:1]
[CDI:MAX_TARGET_NUMBER:B:1]
[CDI:WAIT_PERIOD:20]
Right after the last [CDI:] tag - before the next creature - we're going to copy the dragonbreath from dragons to cats. For your convenience, I have it here:
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]
Copy/paste that after the last [CDI, as I mentioned above; your raws should now look like this:
For added !!FUN!!, let's make it so there is almost no wait time, so the whole fort get's burned to a crisp. Do you see the last [CDI:WAIT_PERIOD:] in the attack? Change the 50 to a 10, so you have this:
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:10]
I changed it to a 10 because I don't know how fast 1 is; I hypothesize that it's so fast that it can occur before the fire kills a creature, and thus the cat would shoot fire about 3 times at a swarm of flies. Now I'm being a bit of a sadist, but we're going to have even
more fun. Scroll up a bit in the cat's raws (But don't go past the [CREATURE:CAT] tag) change the [PET_VALUE:20] to [PET_VALUE:5], delete the tag [AT_PEACE_WITH_WILDLIFE], in it's place put:
[LIKES_FIGHTING]
[PRONE_TO_RAGE:5]
And lastly, if you really want to mess with him, find the tags:
[CASTE:FEMALE]
[FEMALE]
And change them to
[CASTE:FEMALE]
[FEMALE]
[LITTERSIZE:25]
Cat's will now give birth to ~25 kittens at once. My only advice is, be careful with the [PET_VALUE:5], as your friend might notice the difference.
Oh, and incase you didn't follow that, here are the completed raws:
[CREATURE:CAT]
[DESCRIPTION:A small mammalian carnivore. It is usually domestic and hunts vermin.]
[NAME:cat:cats:cat]
[CASTE_NAME:cat:cats:cat]
[CREATURE_TILE:'c'][COLOR:0:0:1]
[PETVALUE:5]
[LARGE_ROAMING]
[LIKES_FIGHTING]
[PRONE_TO_RAGE:5]
[HUNTS_VERMIN]
[RETURNS_VERMIN_KILLS_TO_OWNER]
[ADOPTS_OWNER]
[COMMON_DOMESTIC][BENIGN]
[CARNIVORE][NATURAL][PET]
[PREFSTRING:aloofness]
[BODY:QUADRUPED:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:5TOES_FQ_REG:4TOES_RQ_REG:MOUTH:TONGUE:GENERIC_TEETH_WITH_LARGE_EYE_TEETH:RIBCAGE]
[BODYGLOSS:PAW]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR]
[USE_MATERIAL_TEMPLATE:CLAW:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:CLAW:CLAW_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:TOE:CLAW:FRONT]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SKIN: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:500]
[BODY_SIZE:1:0:2000]
[BODY_SIZE:2:0:5000]
[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:10:20]
[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:STANCE:BY_CATEGORY:ALL:CLAW]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:scratch:scratches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:MAIN]
[CHILD:1]
[GENERAL_CHILD_NAME:kitten:kittens]
[DIURNAL]
[HOMEOTHERM:10070]
[SWIMS_INNATE][SWIM_SPEED:2500]
[MUNDANE]
[CASTE:FEMALE]
[FEMALE]
[LITTERSIZE:25]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:BODY_UPPER:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:BODY_LOWER:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:LEG_FRONT:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:LEG_REAR:HAIR]
[TL_COLOR_MODIFIER:BLACK:1:BROWN:1:WHITE:1:GRAY:1:LIGHT_BROWN:1:DARK_BROWN:1:TAN:1:AUBURN:1:CHESTNUT:1:SLATE_GRAY:1:CREAM:1:CINNAMON:1:BUFF:1:BEIGE:1:CHOCOLATE:1:CHARCOAL:1:ASH_GRAY:1:RUSSET:1:IVORY:1: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_EMERALD:1:IRIS_EYE_FERN_GREEN:1:IRIS_EYE_GRAY:1:IRIS_EYE_GREEN:1:IRIS_EYE_JADE:1:IRIS_EYE_LIGHT_BLUE:1:IRIS_EYE_LIGHT_BROWN:1:IRIS_EYE_MAHOGANY:1:IRIS_EYE_MIDNIGHT_BLUE:1:IRIS_EYE_OCHRE:1:IRIS_EYE_OLIVE:1:IRIS_EYE_PALE_BLUE:1:IRIS_EYE_PALE_BROWN:1:IRIS_EYE_PALE_CHESTNUT:1:IRIS_EYE_PERIWINKLE:1:IRIS_EYE_PINE_GREEN:1:IRIS_EYE_RAW_UMBER:1:IRIS_EYE_RUSSET:1:IRIS_EYE_SEA_GREEN:1:IRIS_EYE_SEPIA:1:IRIS_EYE_SKY_BLUE:1:IRIS_EYE_SLATE_GRAY: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]
[CAN_DO_INTERACTION:CLEANING]
[CDI:ADV_NAME:Clean]
[CDI:USAGE_HINT:CLEAN_SELF]
[CDI:USAGE_HINT:CLEAN_FRIEND]
[CDI:BP_REQUIRED:BY_CATEGORY:TONGUE]
[CDI:VERB:lick:licks:lick each other]
[CDI:CAN_BE_MUTUAL]
[CDI:TARGET:A:SELF_ALLOWED:TOUCHABLE]
[CDI:TARGET_RANGE:A:1]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:10]
[CAN_DO_INTERACTION:BP_BUMP]
[CDI:ADV_NAME:Head bump]
[CDI:USAGE_HINT:GREETING]
[CDI:BP_REQUIRED:BY_CATEGORY:HEAD]
[CDI:VERB:head-bump:head-bumps:bump heads]
[CDI:CAN_BE_MUTUAL]
[CDI:TARGET:A:SELF_ONLY]
[CDI:TARGET:B:TOUCHABLE]
[CDI:TARGET_RANGE:B:1]
[CDI:MAX_TARGET_NUMBER:B:1]
[CDI:WAIT_PERIOD:20]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]
Select every tag for cat's (From the top [CREATURE:CAT] to the bottom, where it say's [CDI:WAIT_PERIOD:20], just before [CREATURE:MULE]), and paste over them.
Do post results ^^;