View Issue Details

IDProjectCategoryView StatusLast Update
0006355Dwarf FortressCreaturespublic2013-07-09 15:02
Reporteruser1294Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version0.34.11 
Summary0006355: ANY_HARD_STONE in extra butchery object tags work badly when defined after castes are defined
DescriptionOver the course of working on my random creature scripts, I noticed that my alligator/crocodile creatures only seemed to yield material-less gizzard stones. Further testing revealed that the female ones worked correctly - only the males were bugged. I've checked that the select_caste tags are in order, which they are.

A test with a specific material, INORGANIC:STEEL rather than ANY_HARD_STONE, did work correctly - both castes properly dropped steel gizzard stones.
Steps To ReproduceAdd the creature below to your raws, put a male and a female into the arena against a bronze colossus. Butcher the corpses, and check the yields.
Additional InformationThe following creature exhibits the problem:

[CREATURE:CROCODILE_FUNGUS]
    [DESCRIPTION:A large reptilian animal. It can be trained for battle or for hunting. It is equally at home in the water as it is on the land. It can live up to 90 years.]
    [NAME:fungus crocodile:fungus crocodiles:fungus crocodile]
    [CASTE_NAME:fungus crocodile:fungus crocodiles:fungus crocodile]
    [CREATURE_TILE:67]
    [COLOR:7:0:0]
    [NATURAL]
    [PET_EXOTIC]
    [TRAINABLE]
    [LARGE_PREDATOR]
    [NO_EAT]
    [NO_DRINK]
    [CASTE:FEMALE]
    [FEMALE]
    [CASTE:MALE]
    [MALE]
    [SELECT_CASTE:ALL]
    [LARGE_ROAMING]
    [FREQUENCY:2]
    [BIOME:ANY_LAKE]
    [BIOME:ANY_RIVER]
    [BIOME:ANY_WETLAND]
    [POPULATION_NUMBER:1:3]
    [CLUSTER_NUMBER:1:1]
    [AMPHIBIOUS]
    [UNDERSWIM]
    [SWIMS_INNATE]
    [SWIM_SPEED:900]
    [SPEED:900]
    [PETVALUE:522]
    [SOUND:ALERT:72:1000:VOCALIZATION:hiss:hisses:hissing]
    [MEANDERER]
    [MAXAGE:80:90]
    [CHILD:1]
    [GENERAL_CHILD_NAME:fungus crocodile hatchling:fungus crocodile hatchlings]
    [HOMEOTHERM:10068]
    [DIURNAL]
    [PREFSTRING:fungi]
    [PREFSTRING:naturalness]
    [PREFSTRING:negativeness]
    [BODY:QUADRUPED:5TOES_FQ_REG:4TOES_RQ_REG:MOUTH:GENERIC_TEETH_WITH_LARGE_EYE_TEETH:TAIL:NOSE:2EYES:2EARS:2LUNGS:HEART:GUTS:TONGUE:ORGANS:GIZZARD:THROAT:NECK:SPINE:BRAIN:SKULL:RIBCAGE]
    [BODY_SIZE:0:0:760]
    [BODY_SIZE:1:0:304000]
    [BODY_SIZE:2:0:760000]
    [BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
    [BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
    [BODY_DETAIL_PLAN:STANDARD_MATERIALS]
    [REMOVE_MATERIAL:SKIN]
    [REMOVE_MATERIAL:LEATHER]
    [USE_MATERIAL_TEMPLATE:SCALE:SCALE_TEMPLATE]
    [SELECT_MATERIAL:SCALE]
    [STATE_COLOR:ALL:PEACH]
    [DISPLAY_COLOR:7:0:0]
    [USE_MATERIAL_TEMPLATE:CLAW:NAIL_TEMPLATE]
    [BODY_DETAIL_PLAN:STANDARD_TISSUES]
    [REMOVE_TISSUE:SKIN]
    [USE_TISSUE_TEMPLATE:SCALE:SCALE_TEMPLATE]
    [USE_TISSUE_TEMPLATE:CLAW:CLAW_TEMPLATE]
    [TISSUE_LAYER:BY_CATEGORY:TOE:CLAW:FRONT]
    [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SCALE:FAT:MUSCLE:BONE:CARTILAGE]
    [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]
    [EXTRA_BUTCHER_OBJECT:BY_CATEGORY:GIZZARD]
        [EBO_ITEM:SMALLGEM:NONE:ANY_HARD_STONE]
        [EBO_SHAPE:GIZZARD_STONE]
    [USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
    [PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
    [SET_TL_GROUP:BY_CATEGORY:ALL:SCALE]
    [TL_COLOR_MODIFIER:PEACH:1]
    [TLCM_NOUN:scales:PLURAL]
    [SET_TL_GROUP:BY_CATEGORY:ALL:EYE]
    [TL_COLOR_MODIFIER:BLACK:1]
    [TLCM_NOUN:eyes:PLURAL]
    [BODY_DETAIL_PLAN:EGG_MATERIALS]
    [SELECT_CASTE:FEMALE]
        [LAYS_EGGS]
        [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID]
        [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID]
        [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID]
        [EGG_SIZE:761]
        [CLUTCH_SIZE:1:1]
    [SELECT_CASTE:ALL]
    [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_PRIORITY:MAIN]
        [ATTACK_FLAG_EDGE]
        [ATTACK_FLAG_CANLATCH]
    [ATTACK:FOOT_SLASH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:CLAW]
        [ATTACK_SKILL:STANCE_STRIKE]
        [ATTACK_VERB:slash:slashes]
        [ATTACK_CONTACT_PERC:100]
        [ATTACK_PENETRATION_PERC:100]
        [ATTACK_PRIORITY:MAIN]
        [ATTACK_FLAG_EDGE]
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Add Note

Note

Issue History

Date Modified Username Field Change
2013-07-09 15:02 user1294 New Issue