Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: I have sheared these Durwarfs (and used their hair for cloth) thanks to Kweri.  (Read 938 times)

Amikron

  • Bay Watcher
    • View Profile

I have been fiddling around with a race of domesticated dwarfs called durwarfs, that can be milked, sheared, killed for their meat, bones, and leather, and graze like cattle.

In the past I had them working for the purposes of using their hair for clothing/rope/bags/etc. I lost the files though, and upon trying to re-create them have been driven nuts trying to get the hair working again. They can be sheared no problem, and the durwarfs are sheared bald descriptionwise, but the hair is treated as refuse, and they will not spin it into yarn or cloth.

I have edited this many times but at this point I am at a loss, if anyone could test this and help me out I'd really appreciate it.

Code: [Select]
[CREATURE:DURWARF]
[DESCRIPTION: A "slow" dwarf used by dwarven society to survive.

It's beards are prized for making into cloth, and its milk is rich.]
[NAME:durwarf:durwarves:durwarf]
[CREATURE_TILE:1][COLOR:3:0:0]
[PETVALUE:30][NATURAL]
[LARGE_ROAMING]
[COMMON_DOMESTIC][TRAINABLE][PET]
[BONECARN]
[GRAZER:1200]
[PREFSTRING:stupidity]

[BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:T

HROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RI

BCAGE]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:HEAD_HAIR_TISSUE_LAYERS]
[USE_TISSUE_TEMPLATE:EYEBROW:EYEBROW_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW:ABOVE:BY_CATEGORY:EYE]
[USE_TISSUE_TEMPLATE:EYELASH:EYELASH_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:EYELID:EYELASH:FRONT]
[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:NAIL:FRONT]
[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
[RELSIZE:BY_CATEGORY:LIVER:300]
[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]
[PHYS_ATT_RANGE:STRENGTH:450:950:1150:1250:1350:1550:2250]         

     +
[PHYS_ATT_RANGE:AGILITY:150:600:800:900:1000:1100:1500]           

     -
[PHYS_ATT_RANGE:TOUGHNESS:450:950:1150:1250:1350:1550:2250]       

     +


[MENT_ATT_RANGE:ANALYTICAL_ABILITY:450:950:1150:1250:1350:1550:2250]    +
[MENT_ATT_RANGE:FOCUS:700:1200:1400:1500:1600:1800:2500]           

     ++
[MENT_ATT_RANGE:CREATIVITY:450:950:1150:1250:1350:1550:2250]       

     +
[MENT_ATT_RANGE:PATIENCE:450:950:1150:1250:1350:1550:2250]         

     +
[MENT_ATT_RANGE:MEMORY:450:950:1150:1250:1350:1550:2250]           

     +
[MENT_ATT_RANGE:SPATIAL_SENSE:700:1200:1400:1500:1600:1800:2500]   

     ++
[BODY_SIZE:0:0:5000]
[BODY_SIZE:1:168:20000]
[BODY_SIZE:12:0:70000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:75:95:98:100:102:105:125]
[APP_MOD_IMPORTANCE:500]
[BODY_APPEARANCE_MODIFIER:BROADNESS:75:95:98:100:102:105:125]
[APP_MOD_IMPORTANCE:500]
[SET_BP_GROUP:BY_CATEGORY:EYE]
[BP_APPEARANCE_MODIFIER:CLOSE_SET:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:DEEP_SET:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]


[BP_APPEARANCE_MODIFIER:ROUND_VS_NARROW:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]


[BP_APPEARANCE_MODIFIER:LARGE_IRIS:25:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]

[SET_BP_GROUP:BY_CATEGORY:LIP]


[BP_APPEARANCE_MODIFIER:THICKNESS:50:70:90:100:110:130:200]
[APP_MOD_NOUN:lips:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:150:190]

[SET_BP_GROUP:BY_CATEGORY:NOSE]


[BP_APPEARANCE_MODIFIER:BROADNESS:25:70:90:100:110:130:200]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]
[BP_APPEARANCE_MODIFIER:LENGTH:25:70:90:100:110:130:200]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]
[BP_APPEARANCE_MODIFIER:UPTURNED:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:CONVEX:0:70:90:100:110:130:200]
[APP_MOD_NOUN:nose bridge:SINGULAR]

[SET_BP_GROUP:BY_CATEGORY:EAR]


[BP_APPEARANCE_MODIFIER:SPLAYED_OUT:0:70:90:100:110:130:200]
[APP_MOD_NOUN:ears:PLURAL]


[BP_APPEARANCE_MODIFIER:HANGING_LOBES:0:70:90:100:110:130:200]
[APP_MOD_NOUN:ears:PLURAL]


[BP_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_NOUN:ears:PLURAL]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]
[BP_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_NOUN:ears:PLURAL]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]

[SET_BP_GROUP:BY_CATEGORY:TOOTH]
[BP_APPEARANCE_MODIFIER:GAPS:0:70:90:100:110:130:200]
[APP_MOD_NOUN:teeth:PLURAL]

[SET_BP_GROUP:BY_CATEGORY:SKULL]


[BP_APPEARANCE_MODIFIER:HIGH_CHEEKBONES:0:70:90:100:110:130:200]


[BP_APPEARANCE_MODIFIER:BROAD_CHIN:0:70:90:100:110:130:200]


[BP_APPEARANCE_MODIFIER:JUTTING_CHIN:0:70:90:100:110:130:200]


[BP_APPEARANCE_MODIFIER:SQUARE_CHIN:0:70:90:100:110:130:200]

[SET_BP_GROUP:BY_CATEGORY:THROAT]


[BP_APPEARANCE_MODIFIER:DEEP_VOICE:0:70:90:100:110:130:200]


[BP_APPEARANCE_MODIFIER:RASPY_VOICE:0:70:90:100:110:130:200]

[SET_BP_GROUP:BY_CATEGORY:HEAD]


[BP_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]
[BP_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]

[MAXAGE:200:300]

[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]

[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[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]
[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:SECOND]
[ATTACK_FLAG_CANLATCH]
[BABY:1]
[GENERAL_BABY_NAME:durwarven baby:durwarven babies]
[BABYNAME:durwarven baby:durwarven babies]
[CHILD:2]
[GENERAL_CHILD_NAME:durwarven child:durwarven children]
[CHILDNAME:durwarven child:durwarven children]
[EQUIPS]
[CAVE_ADAPT]
[DIURNAL]

[CASTE:DURWARF_FEMALE]
[FEMALE]
[CASTE_NAME:durwarf female:durwarfs:durwarf female]
[USE_MATERIAL_TEMPLATE:MILK:MILK_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen durwarf's milk]
[STATE_ADJ:ALL_SOLID:frozen durwarf's milk]
[STATE_NAME:LIQUID:durwarf's milk]
[STATE_ADJ:LIQUID:durwarf's milk]
[STATE_NAME:GAS:boiling durwarf's milk]
[STATE_ADJ:GAS:boiling durwarf's milk]
[PREFIX:NONE]
[MILKABLE:LOCAL_CREATURE_MAT:MILK:20000]
[USE_MATERIAL_TEMPLATE:CHEESE:CREATURE_CHEESE_TEMPLATE]
[STATE_NAME:SOLID:durwarf cheese]
[STATE_ADJ:SOLID:durwarf cheese]
[STATE_NAME:SOLID_POWDER:durwarf cheese powder]
[STATE_ADJ:SOLID_POWDER:durwarf cheese powder]
[STATE_NAME:LIQUID:melted durwarf cheese]
[STATE_ADJ:LIQUID:melted durwarf cheese]
[STATE_NAME:GAS:boiling durwarf cheese]
[STATE_ADJ:GAS:boiling durwarf cheese]
[PREFIX:NONE]
[CASTE:DURWARF_MALE]
[MALE]
[CASTE_NAME:durwarf male:durwarfs:durwarf male]

[SELECT_CASTE:ALL]
[NATURAL]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[SELECT_MATERIAL:HAIR]
[STATE_NAME:ALL_SOLID:hair]
[STATE_ADJ:ALL_SOLID:hair]
[YARN]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[SELECT_TISSUE:HAIR]
[TISSUE_NAME:hair:NP]

[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]



[TL_COLOR_MODIFIER:AMBER:1:AUBURN:1:BLACK:1:BROWN:1:BUFF:1:BURNT_SIENNA:1:

BURNT_UMBER:1:CHARCOAL:1:CHESTNUT:1:CHOCOLATE:1:CINNAMON:1:COPPER:1:DARK_B

ROWN:1:DARK_CHESTNUT:1:DARK_TAN:1:ECRU:1:FLAX:1:GOLD:1:GOLDEN_YELLOW:1:GOL

DENROD:1:LIGHT_BROWN:1:MAHOGANY:1:OCHRE:1:PALE_BROWN:1:PALE_CHESTNUT:1:PUM

PKIN:1:RAW_UMBER:1:RUSSET:1:SAFFRON:1:SEPIA:1:TAN:1:TAUPE_DARK:1:TAUPE_GRA

Y:1:TAUPE_MEDIUM:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:hair:SINGULAR]
[TL_COLOR_MODIFIER:GRAY:1]

[TLCM_NOUN:hair:SINGULAR]
[TLCM_TIMING:ROOT:80:0:130:0]
[TL_COLOR_MODIFIER:WHITE:1]
[TLCM_NOUN:hair:SINGULAR]
[TLCM_TIMING:ROOT:130:0:150:0]

[SET_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]


[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:50:80:90:100:110:120:150]
[APP_MOD_NOUN:eyebrows:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:130:145]


[TISSUE_LAYER_APPEARANCE_MODIFIER:DENSE:50:80:90:100:110:120:150]
[APP_MOD_NOUN:eyebrows:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:130:145]


[TISSUE_LAYER_APPEARANCE_MODIFIER:HIGH_POSITION:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyebrows:PLURAL]

[SET_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]


[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:50:80:90:100:110:120:150]
[APP_MOD_NOUN:eyelashes:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:130:145]

[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]


[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:0:0:0:0:0:0:0]
[APP_MOD_NOUN:hair:SINGULAR]
[APP_MOD_RATE:1:DAILY:0:1000:0:0:NO_END]
[APP_MOD_DESC_RANGE:10:25:75:125:200:300]
[SHEARABLE_TISSUE_LAYER:LENGTH:1]


[TISSUE_LAYER_APPEARANCE_MODIFIER:CURLY:0:70:90:100:110:130:200]
[APP_MOD_NOUN:hair:SINGULAR]
[SHEARABLE_TISSUE_LAYER:LENGTH:1]

[TISSUE_LAYER_APPEARANCE_MODIFIER:GREASY:0:70:90:100:110:130:200]
[APP_MOD_NOUN:hair:SINGULAR]
[SHEARABLE_TISSUE_LAYER:LENGTH:1]

[TISSUE_LAYER_APPEARANCE_MODIFIER:DENSE:50:80:90:100:110:120:150]
[APP_MOD_NOUN:hair:SINGULAR]
[APP_MOD_DESC_RANGE:55:70:90:110:130:145]
[SHEARABLE_TISSUE_LAYER:LENGTH:1]

[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[TISSUE_STYLE_UNIT:HAIR:STANDARD_HAIR_SHAPINGS]
[TSU_NOUN:hair:SINGULAR]

[SET_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
[TISSUE_STYLE_UNIT:BEARD:STANDARD_BEARD_SHAPINGS]
[TSU_NOUN:beard:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]


[TISSUE_STYLE_UNIT:MOUSTACHE:STANDARD_MOUSTACHE_SHAPINGS]
[TSU_NOUN:moustache:SINGULAR]

[SET_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]


[TISSUE_STYLE_UNIT:SIDEBURNS:STANDARD_SIDEBURNS_SHAPINGS]
[TSU_NOUN:sideburns:PLURAL]

SET_TL_GROUP:BY_CATEGORY:FINGER:NAIL]
PLUS_TL_GROUP:BY_CATEGORY:TOE:NAIL]


TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:100:100:100:100:100:100:100]
APP_MOD_RATE:1:DAILY:0:1000:0:0:NO_END]
APP_MOD_NOUN:nails:PLURAL]

Here all of the skin is selected and various colors are

listed.

[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]


[TL_COLOR_MODIFIER:BROWN:1:BURNT_UMBER:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:

DARK_PEACH:1:DARK_TAN:1:ECRU:1:PALE_BROWN:1:PALE_CHESTNUT:1:PALE_PINK:1:PE

ACH:1:PINK:1:RAW_UMBER:1:SEPIA:1:TAN:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:skin:SINGULAR]

[TISSUE_LAYER_APPEARANCE_MODIFIER:WRINKLY:0:0:0:0:0:0:0]
[APP_MOD_RATE:1:YEARLY:0:100:60:0:NO_END]
[APP_MOD_NOUN:skin:SINGULAR]
[APP_MOD_DESC_RANGE:0:0:0:1:25:50]

[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]


[TL_COLOR_MODIFIER:IRIS_EYE_AMETHYST:1:IRIS_EYE_AQUAMARINE:1:IRIS_EYE_BRAS

S:1:IRIS_EYE_BRONZE:1:IRIS_EYE_COBALT:1:IRIS_EYE_COPPER:1:IRIS_EYE_EMERALD

:1:IRIS_EYE_GOLD:1:IRIS_EYE_HELIOTROPE:1:IRIS_EYE_JADE:1:IRIS_EYE_OCHRE:1:

IRIS_EYE_RAW_UMBER:1:IRIS_EYE_RUST:1:IRIS_EYE_SILVER:1:IRIS_EYE_SLATE_GRAY

:1:IRIS_EYE_TURQUOISE:1]
[TLCM_NOUN:eyes:PLURAL]

I'm sure the current way I have the hair setup is totally wrong but I have been trying it so many different ways that I don't know what to do anymore.
« Last Edit: May 11, 2011, 02:00:12 pm by Amikron »
Logged

darkflagrance

  • Bay Watcher
  • Carry on, carry on
    • View Profile

I think I know what the problem is.

Parts harvested from dwarves, like dwarf eggs if you mod those in as well, are treated as taboo by the game. This behavior is almost certainly hard-coded, unless someone else other than me has come up with a solution.

So you should just add a new domestic Duwarf instead of trying to make the player race into livestock.
Logged
...as if nothing really matters...
   
The Legend of Tholtig Cryptbrain: 8000 dead elves and a cyclops

Tired of going decades without goblin sieges? Try The Fortress Defense Mod

Amikron

  • Bay Watcher
    • View Profile

They are from my creature_domestic.txt and carry a different name, the bones, leather, etc can be used.

Hell I can *BUY* durwarf cloth and yarn from the embark screen.

It really is driving me nuts.
Logged

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile

Well, your using the material and tissue body plans twice, which could cause the game some confusion.

Or perhaps the item is ignored because its too small? Like when a dwarf cuts off a ducks leg and wont butcher it because its too tiny.
« Last Edit: May 11, 2011, 10:23:42 am by Grimlocke »
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

Amikron

  • Bay Watcher
    • View Profile

I tried changing the size of the hair using [RELSIZE:BY_CATEGORY:HAIR:500], also tried using BY_TYPE, also tried changing the actual size of the durwarf, with no luck.

edit: I have modified the body and tissue plans quite a few times, and have always had the exact same results, thats what finally lead me to posting a thread on this. Originally I did not have the first set after the all tag, but I'm at such a loss I've resorted to trying just about anything.  :D
« Last Edit: May 11, 2011, 10:48:36 am by Amikron »
Logged

Kweri

  • Bay Watcher
    • View Profile

I've gotten this working. I'm pretty sure your issue was that there wasn't enough hair to form thread. I've fixed this by taking some things from the sheep file - making them wait until length 300 to shear and giving hair a relative thickness of 10.

In your original raws, you had them able to be sheared at length 1. Length 100 is "average" length - anything less than that is only a fraction of the average material amount which could cause problems after the initial shearing.

If you want them to be able to be sheared more frequently, change the first number in [APP_MOD_RATE:1:DAILY:0:300:0:0:NO_END]. That says to add 1 to the length of their hair each day (until reaching a max of 300)... changing it to 10 would mean add 10 each day, which means you could shear them every 30 days if you wanted.

You also had some weird duplicate lines like calling for b_detail_plan files more than once. I took out all the extra shearable lines where they weren't called for. I also fixed up some strange line breaks though that could have been due to the forum code.

If you save this file in its entirety as creature_durwarf.txt and put it in your raws folder, it should work after making a new world. I find it easier to use separate files for things I mod in so I don't accidentally change any of the default files. I tested shearing/spinning/weaving and milking/cheesemaking with no issues.

EDIT: One more thing I noticed in testing - you changed the max age from dwarves (200-300) but you didn't change when they get grey/white hair. Pretty much every one of my starting durwarves had signs of grey (starts at 80) or white (starts at 130) hair. You may want to change those or take them out entirely.
Code: [Select]
creature_durwarf

[OBJECT:CREATURE]

[CREATURE:DURWARF]
[DESCRIPTION: A "slow" dwarf used by dwarven society to survive. Its beards are prized for making into cloth, and its milk is rich.]
[NAME:durwarf:durwarves:durwarf]
[CREATURE_TILE:1][COLOR:3:0:0]
[PETVALUE:30][NATURAL]
[LARGE_ROAMING]
[COMMON_DOMESTIC][TRAINABLE][PET]
[BONECARN]
[GRAZER:1200]
[PREFSTRING:stupidity]

[BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:FACIAL_FEATURES:TEETH:RIBCAGE]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:HEAD_HAIR_TISSUE_LAYERS]
[USE_TISSUE_TEMPLATE:EYEBROW:EYEBROW_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:HEAD:EYEBROW:ABOVE:BY_CATEGORY:EYE]
[USE_TISSUE_TEMPLATE:EYELASH:EYELASH_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:EYELID:EYELASH:FRONT]
[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:NAIL:FRONT]
[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
  [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
[RELSIZE:BY_CATEGORY:LIVER:300]
[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]

[PHYS_ATT_RANGE:STRENGTH:450:950:1150:1250:1350:1550:2250]     +
[PHYS_ATT_RANGE:AGILITY:150:600:800:900:1000:1100:1500]     -
[PHYS_ATT_RANGE:TOUGHNESS:450:950:1150:1250:1350:1550:2250]     +
[MENT_ATT_RANGE:ANALYTICAL_ABILITY:450:950:1150:1250:1350:1550:2250]    +
[MENT_ATT_RANGE:FOCUS:700:1200:1400:1500:1600:1800:2500]     ++
[MENT_ATT_RANGE:CREATIVITY:450:950:1150:1250:1350:1550:2250]     +
[MENT_ATT_RANGE:PATIENCE:450:950:1150:1250:1350:1550:2250]    +
[MENT_ATT_RANGE:MEMORY:450:950:1150:1250:1350:1550:2250]     +
[MENT_ATT_RANGE:SPATIAL_SENSE:700:1200:1400:1500:1600:1800:2500]    ++

[BODY_SIZE:0:0:5000]
[BODY_SIZE:1:168:20000]
[BODY_SIZE:12:0:70000]

[BODY_APPEARANCE_MODIFIER:HEIGHT:75:95:98:100:102:105:125]
[APP_MOD_IMPORTANCE:500]
[BODY_APPEARANCE_MODIFIER:BROADNESS:75:95:98:100:102:105:125]
[APP_MOD_IMPORTANCE:500]

[SET_BP_GROUP:BY_CATEGORY:EYE]
[BP_APPEARANCE_MODIFIER:CLOSE_SET:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:DEEP_SET:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:ROUND_VS_NARROW:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[BP_APPEARANCE_MODIFIER:LARGE_IRIS:25:70:90:100:110:130:200]
[APP_MOD_NOUN:eyes:PLURAL]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]

[SET_BP_GROUP:BY_CATEGORY:LIP]
[BP_APPEARANCE_MODIFIER:THICKNESS:50:70:90:100:110:130:200]
[APP_MOD_NOUN:lips:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:150:190]

[SET_BP_GROUP:BY_CATEGORY:NOSE]
[BP_APPEARANCE_MODIFIER:BROADNESS:25:70:90:100:110:130:200]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]
[BP_APPEARANCE_MODIFIER:LENGTH:25:70:90:100:110:130:200]
[APP_MOD_DESC_RANGE:30:60:90:110:150:190]
[BP_APPEARANCE_MODIFIER:UPTURNED:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:CONVEX:0:70:90:100:110:130:200]
[APP_MOD_NOUN:nose bridge:SINGULAR]

[SET_BP_GROUP:BY_CATEGORY:EAR]
[BP_APPEARANCE_MODIFIER:SPLAYED_OUT:0:70:90:100:110:130:200]
[APP_MOD_NOUN:ears:PLURAL]
[BP_APPEARANCE_MODIFIER:HANGING_LOBES:0:70:90:100:110:130:200]
[APP_MOD_NOUN:ears:PLURAL]
[BP_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_NOUN:ears:PLURAL]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]
[BP_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_NOUN:ears:PLURAL]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]

[SET_BP_GROUP:BY_CATEGORY:TOOTH]
[BP_APPEARANCE_MODIFIER:GAPS:0:70:90:100:110:130:200]
[APP_MOD_NOUN:teeth:PLURAL]

[SET_BP_GROUP:BY_CATEGORY:SKULL]
[BP_APPEARANCE_MODIFIER:HIGH_CHEEKBONES:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:BROAD_CHIN:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:JUTTING_CHIN:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:SQUARE_CHIN:0:70:90:100:110:130:200]

[SET_BP_GROUP:BY_CATEGORY:THROAT]
[BP_APPEARANCE_MODIFIER:DEEP_VOICE:0:70:90:100:110:130:200]
[BP_APPEARANCE_MODIFIER:RASPY_VOICE:0:70:90:100:110:130:200]

[SET_BP_GROUP:BY_CATEGORY:HEAD]
[BP_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]
[BP_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[APP_MOD_IMPORTANCE:700]
[APP_MOD_DESC_RANGE:91:94:98:102:106:109]

[MAXAGE:200:300]

[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]

[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]

[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]

[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:SECOND]
[ATTACK_FLAG_CANLATCH]

[BABY:1]
[GENERAL_BABY_NAME:durwarven baby:durwarven babies]
[BABYNAME:durwarven baby:durwarven babies]
[CHILD:2]
[GENERAL_CHILD_NAME:durwarven child:durwarven children]
[CHILDNAME:durwarven child:durwarven children]
[EQUIPS]
[CAVE_ADAPT]
[DIURNAL]

[CASTE:DURWARF_FEMALE]
[FEMALE]
[CASTE_NAME:durwarf female:durwarfs:durwarf female]
[USE_MATERIAL_TEMPLATE:MILK:MILK_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen durwarf's milk]
[STATE_ADJ:ALL_SOLID:frozen durwarf's milk]
[STATE_NAME:LIQUID:durwarf's milk]
[STATE_ADJ:LIQUID:durwarf's milk]
[STATE_NAME:GAS:boiling durwarf's milk]
[STATE_ADJ:GAS:boiling durwarf's milk]
[PREFIX:NONE]
[MILKABLE:LOCAL_CREATURE_MAT:MILK:20000]
[USE_MATERIAL_TEMPLATE:CHEESE:CREATURE_CHEESE_TEMPLATE]
[STATE_NAME:SOLID:durwarf cheese]
[STATE_ADJ:SOLID:durwarf cheese]
[STATE_NAME:SOLID_POWDER:durwarf cheese powder]
[STATE_ADJ:SOLID_POWDER:durwarf cheese powder]
[STATE_NAME:LIQUID:melted durwarf cheese]
[STATE_ADJ:LIQUID:melted durwarf cheese]
[STATE_NAME:GAS:boiling durwarf cheese]
[STATE_ADJ:GAS:boiling durwarf cheese]
[PREFIX:NONE]
[CASTE:DURWARF_MALE]
[MALE]
[CASTE_NAME:durwarf male:durwarfs:durwarf male]

[SELECT_CASTE:ALL]
[SELECT_MATERIAL:HAIR]
[YARN]
[SELECT_TISSUE_LAYER:HAIR:BY_CATEGORY:ALL]
[TL_RELATIVE_THICKNESS:10]
[SET_TL_GROUP:BY_CATEGORY:ALL:HAIR]
[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:0:0:0:0:0:0:0]
[APP_MOD_NOUN:hair:SINGULAR]
[APP_MOD_RATE:1:DAILY:0:300:0:0:NO_END]
[APP_MOD_DESC_RANGE:10:50:100:150:200:300]
[SHEARABLE_TISSUE_LAYER:LENGTH:300]
[TISSUE_LAYER_APPEARANCE_MODIFIER:CURLY:0:70:90:100:110:130:200]
[APP_MOD_NOUN:hair:SINGULAR]
[TISSUE_LAYER_APPEARANCE_MODIFIER:GREASY:0:70:90:100:110:130:200]
[APP_MOD_NOUN:hair:SINGULAR]
[TISSUE_LAYER_APPEARANCE_MODIFIER:DENSE:50:80:90:100:110:120:150]
[APP_MOD_NOUN:hair:SINGULAR]
[APP_MOD_DESC_RANGE:55:70:90:110:130:145]

[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
[TL_COLOR_MODIFIER:AMBER:1:AUBURN:1:BLACK:1:BROWN:1:BUFF:1:BURNT_SIENNA:1:BURNT_UMBER:1:CHARCOAL:1:CHESTNUT:1:CHOCOLATE:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_CHESTNUT:1:DARK_TAN:1:ECRU:1:FLAX:1:GOLD:1:GOLDEN_YELLOW:1:GOLDENROD:1:LIGHT_BROWN:1:MAHOGANY:1:OCHRE:1:PALE_BROWN:1:PALE_CHESTNUT:1:PUMPKIN:1:RAW_UMBER:1:RUSSET:1:SAFFRON:1:SEPIA:1:TAN:1:TAUPE_DARK:1:TAUPE_GRAY:1:TAUPE_MEDIUM:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:hair:SINGULAR]
[TL_COLOR_MODIFIER:GRAY:1]
[TLCM_NOUN:hair:SINGULAR]
[TLCM_TIMING:ROOT:80:0:130:0]
[TL_COLOR_MODIFIER:WHITE:1]
[TLCM_NOUN:hair:SINGULAR]
[TLCM_TIMING:ROOT:130:0:150:0]

[SET_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:50:80:90:100:110:120:150]
[APP_MOD_NOUN:eyebrows:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:130:145]
[TISSUE_LAYER_APPEARANCE_MODIFIER:DENSE:50:80:90:100:110:120:150]
[APP_MOD_NOUN:eyebrows:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:130:145]
[TISSUE_LAYER_APPEARANCE_MODIFIER:HIGH_POSITION:0:70:90:100:110:130:200]
[APP_MOD_NOUN:eyebrows:PLURAL]

[SET_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:50:80:90:100:110:120:150]
[APP_MOD_NOUN:eyelashes:PLURAL]
[APP_MOD_DESC_RANGE:55:70:90:110:130:145]

[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[TISSUE_STYLE_UNIT:HAIR:STANDARD_HAIR_SHAPINGS]
[TSU_NOUN:hair:SINGULAR]

[SET_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
[TISSUE_STYLE_UNIT:BEARD:STANDARD_BEARD_SHAPINGS]
[TSU_NOUN:beard:SINGULAR]

[SET_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
[TISSUE_STYLE_UNIT:MOUSTACHE:STANDARD_MOUSTACHE_SHAPINGS]
[TSU_NOUN:moustache:SINGULAR]

[SET_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
[TISSUE_STYLE_UNIT:SIDEBURNS:STANDARD_SIDEBURNS_SHAPINGS]
[TSU_NOUN:sideburns:PLURAL]

[SET_TL_GROUP:BY_CATEGORY:FINGER:NAIL]
[PLUS_TL_GROUP:BY_CATEGORY:TOE:NAIL]
[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:100:100:100:100:100:100:100]
[APP_MOD_RATE:1:DAILY:0:1000:0:0:NO_END]
[APP_MOD_NOUN:nails:PLURAL]

[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:BROWN:1:BURNT_UMBER:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_PEACH:1:DARK_TAN:1:ECRU:1:PALE_BROWN:1:PALE_CHESTNUT:1:PALE_PINK:1:PEACH:1:PINK:1:RAW_UMBER:1:SEPIA:1:TAN:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:skin:SINGULAR]

[TISSUE_LAYER_APPEARANCE_MODIFIER:WRINKLY:0:0:0:0:0:0:0]
[APP_MOD_RATE:1:YEARLY:0:100:60:0:NO_END]
[APP_MOD_NOUN:skin:SINGULAR]
[APP_MOD_DESC_RANGE:0:0:0:1:25:50]

[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:IRIS_EYE_AMETHYST:1:IRIS_EYE_AQUAMARINE:1:IRIS_EYE_BRASS:1:IRIS_EYE_BRONZE:1:IRIS_EYE_COBALT:1:IRIS_EYE_COPPER:1:IRIS_EYE_EMERALD:1:IRIS_EYE_GOLD:1:IRIS_EYE_HELIOTROPE:1:IRIS_EYE_JADE:1:IRIS_EYE_OCHRE:1:IRIS_EYE_RAW_UMBER:1:IRIS_EYE_RUST:1:IRIS_EYE_SILVER:1:IRIS_EYE_SLATE_GRAY:1:IRIS_EYE_TURQUOISE:1]
[TLCM_NOUN:eyes:PLURAL]
« Last Edit: May 11, 2011, 01:31:24 pm by Kweri »
Logged

Amikron

  • Bay Watcher
    • View Profile

The length thing was actually just to test that they could be sheared, nice catch though. That change was one of many once I started going insane trying to get them working.

I have no idea what happened with the b_detail_plan but thanks for clearing it up. I think the breaks were due to forum code as it displayed fine in my .txt file for it.

The age was actually a request from who I was making this for, but I forgot to adjust the graying age. Nice catch as well.

A lot of the weird stuff in the listing there was just me getting sick of it not working and throwing whatever at the wall in the hopes that it stuck, for example copying most of the dwarf information instead of doing everything from scratch.

Thanks a lot for the help on this it is much appreciated.
Logged

Mister Always

  • Bay Watcher
  • SQUARE-GO LIKE
    • View Profile

So your dwarves drink retard milk.

...

*Scoots away from Amikron somewhat.*
Logged
"""The ability to quote is a serviceable substitute for wit." - W. Somerset Maugham" -Forumite" -Mister Always

Amikron

  • Bay Watcher
    • View Profile

ITS PASTEURIZED I SWEAR!

edit: And they are special! Don't make fun, they are each unique snowflakes!
« Last Edit: May 11, 2011, 04:14:53 pm by Amikron »
Logged

Mister Always

  • Bay Watcher
  • SQUARE-GO LIKE
    • View Profile

Your dorfs are drinking dorf milk.

I'll admit, I made a pit filled with war carp just to execute elven merchants once, but...that's wrong.
Logged
"""The ability to quote is a serviceable substitute for wit." - W. Somerset Maugham" -Forumite" -Mister Always

Amikron

  • Bay Watcher
    • View Profile

It's very eco-friendly, the dwarfs are just using the short bus kids for something other than wasting resources!  :D
Logged

Magnar

  • Bay Watcher
    • View Profile

Quirky idea, I like it!

I use my own hair as rope to this very day, 10 year old dreadlocks are good like that after a trim lol.  I think I'd feel a bit uncomfortable drinking my own milk though.... *shudder*

It's true what you say though, a self regulating population with nothing wasted is an efficient one  :D
Logged

Reelyanoob

  • Bay Watcher
    • View Profile

I had the non-usable hair problem getting shearable cats working for someone til I upped the hair's relative thickness a lot (I whacked 1000 in rather than 10, just for testing). After that, they spun, wove and crafted fine.

I tried the same as you with butcherable/tannable dwarves (minus the shearing/milking) , but made the "sub-dwarves" be separate castes rather than a separate race. It worked ok but I was getting a couple of wierd effects.
Logged

Amikron

  • Bay Watcher
    • View Profile

Problem with them being a caste is sometimes your starting 7 would get them, leaving you gimped till migrants started arriving which is why I just made them domestics and pets. Nothing like having your Mayor guarded by two War Duwarfs.
Logged

Reelyanoob

  • Bay Watcher
    • View Profile

I set the POP_RATIO on the slave caste to zero, avoiding the starting 7 problem. Being a caste allowed for my other dwarfs to marry the slaves, though the kids were always non-slaves. This made them like indentured servants, with non-hereditary status.

One issue is that the (tame) tag is inherited from the mother, even though the kids are non-slaves and otherwise normal citizens. Couldn't work out how to fix this and it was only cosmetic, though it could be viewed as a social "quirk" which indicated your parentage.

Also, they were PACK_ANIMALS/WAGON_PULLERS and i took the tags off everything else, so every race had dwarf-porters.
« Last Edit: May 12, 2011, 06:15:19 am by Reelyanoob »
Logged