Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0009978Dwarf FortressDwarf Mode -- Jobs, Farming/Farmer's Workshoppublic2016-08-26 10:522017-09-20 19:43
milo christiansen 
Loci 
normalminoralways
resolvedunable to reproduce 
0.43.03 
 
0009978: Plants without certain properties are not harvestable
Any farmable plant that is missing ALL of the following cannot be harvested. Your dwarves harvest the plant, but you don't get anything.

* An edible main material
* A mill result material
* An extract material (vial or barrel)
* A thread material
* Possibly something to do with growths (my test plants had no growths)
* I may be forgetting/missing one

A drink material (and DRINK tag) are not enough to make a plant work properly.
Create a plant with all of the listed things missing, try to harvest.
This used to work in 34.11, but was broken by the plant updates.

The problem probably lies in the code to determine what to harvest (the plant itself or it's growths). I assume that if the game can't tell if the plant itself is used it simply produces nothing, what it should do is default to producing the plant if it cannot tell what to do.
No tags attached.
Issue History
2016-08-26 10:52milo christiansenNew Issue
2017-09-16 12:28TheCrazyHamsteRNote Added: 0036744
2017-09-16 12:28TheCrazyHamsteRIssue Monitored: TheCrazyHamsteR
2017-09-20 19:43LociNote Added: 0036752
2017-09-20 19:43LociStatusnew => resolved
2017-09-20 19:43LociResolutionopen => unable to reproduce
2017-09-20 19:43LociAssigned To => Loci

Notes
(0036744)
TheCrazyHamsteR   
2017-09-16 12:28   
Didn't you forget to add [MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK] at the plant's structural material? If you forgot it, then your plant cannot be brewed either, and thus your dwarves can't use it for anything and won't gather it.
(0036752)
Loci   
2017-09-20 19:43   
Tested in 0.43.05x32 with a modified pig tail (raws below); the modified brewable-only plants were harvested and stockpiled successfully.


[PLANT:MOSS_CREEPING]
    [NAME:creeping moss][NAME_PLURAL:creeping moss][ADJ:creeping moss]
    [USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_PLANT_TEMPLATE]
        [MATERIAL_VALUE:2]
        [MATERIAL_REACTION_PRODUCT:DRINK_MAT:LOCAL_PLANT_MAT:DRINK]
        [MATERIAL_REACTION_PRODUCT:SEED_MAT:LOCAL_PLANT_MAT:SEED]
    [BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
    [PICKED_TILE:231][PICKED_COLOR:7:0:0]
    [GROWDUR:300][VALUE:2]
    [USE_MATERIAL_TEMPLATE:DRINK:PLANT_ALCOHOL_TEMPLATE]
        [STATE_NAME_ADJ:ALL_SOLID:frozen moss malt]
        [STATE_NAME_ADJ:LIQUID:moss malt]
        [STATE_NAME_ADJ:GAS:boiling moss malt]
        [MATERIAL_VALUE:2]
        [DISPLAY_COLOR:7:0:0]
        [EDIBLE_RAW]
        [EDIBLE_COOKED]
        [PREFIX:NONE]
    [DRINK:LOCAL_PLANT_MAT:DRINK]
    [USE_MATERIAL_TEMPLATE:SEED:SEED_TEMPLATE]
        [MATERIAL_VALUE:1]
    [SEED:creeping spore:creeping spores:0:0:1:LOCAL_PLANT_MAT:SEED]
    [SPRING][SUMMER][AUTUMN][WINTER]
    [FREQUENCY:100]
    [CLUSTERSIZE:5]
    [PREFSTRING:languid motion]
    [WET][DRY]
    [BIOME:SUBTERRANEAN_WATER]
    [UNDERGROUND_DEPTH:1:3]
    [SHRUB_TILE:58]
    [DEAD_SHRUB_TILE:58]
    [SHRUB_COLOR:7:0:0]
    [DEAD_SHRUB_COLOR:0:0:1]