.. _structures.jobs: #### jobs #### .. _structures.jobs.job_material_category: jobs.job_material_category ========================== .. code-block:: xml wood log wood material .. _structures.jobs.dfhack_material_category: jobs.dfhack_material_category ============================= .. code-block:: xml An extended version of job_material_category, for use in some plugins, like workflow. The start must be identical to job_material_category DFHack-specific fields .. _structures.jobs.job_list_link: jobs.job_list_link ================== .. code-block:: xml .. _structures.jobs.job_flags: jobs.job_flags ============== .. code-block:: xml not for food, or store in sp Actually going out to bring; corresponds to items->is_fetching Sleep/Drink/Eat/Clean; cannot be aborted via the ui When actually carrying non-last item to the workshop. If last, 'working' is used instead. set when a Hauled item is removed; causes cancel on the sleep job causes thoughts set by improvement code for some jobs, blocks auto-restockpiling of the hauled item job displayed as On Break .. _structures.jobs.job_subtype_surgery: jobs.job_subtype_surgery ======================== .. code-block:: xml .. _structures.jobs.job: jobs.job ======== .. code-block:: xml index into world.job_postings -1 every time unit.counters.job_counter is below 0 garbage, but serialized for Bait Trap jobs for StoreInStockpile: hauler_type for stockpiling, +1 per 50 ticks if no worker; del when 20 for process_jobs for units to leave build sites; to recheck stockpiles .. _structures.jobs.job_item_ref: jobs.job_item_ref ================= .. code-block:: xml 0 immediately once taken to be brought .. _structures.jobs.job_item_flags1: jobs.job_item_flags1 ==================== .. code-block:: xml vtable[155]:eax,-1,-1 (call 0074c6d0) vtable[79] ALLOW items with flag "dead_dwarf" check for item flag "rotten" check for item flag "spider_web" check for item flag "spider_web" vtable[25] check for item flag vtable[105],1 (call 00753a40) vtable[80] vtable[131] (call 00753fe0) vtable[164] vtable[181] vtable[182] vtable[81] vtable[82] vtable[83] vtable[74] vtable[104] vtable[108] check for material flag IS_GLASS (call 00753d30 - check if material has CHEESE_MAT?) vtable[107],1,1 .. _structures.jobs.job_item_flags2: jobs.job_item_flags2 ==================== .. code-block:: xml vtable[106] vtable[159] vtable[161] vtable[162] vtable[26] vtable[46] vtable[47] vtable[48],1 vtable[48],2 check for inorganic material flag DEEP check for item flag "melt" (call 0076be60) item can be designated for melting or dumping item can be artifact check if material is a PLANT_MAT check for material flag SILK check for material flag LEATHER check for material flag BONE check for material flag SHELL vtable[158] check for material flag HORN check for material flag PEARL vtable[17] check for material flag SOAP itemtype CORPSE or CORPSEPIECE check for material flag TOOTH (call 00759110) vtable[157] vtable[214] ??? (pretty sure this is [ANY_STRAND_TISSUE]) check for material flag YARN .. _structures.jobs.job_item_flags3: jobs.job_item_flags3 ==================== .. code-block:: xml vtable[176] itemtype BAR, BOULDER, POWDER_MISC, or GLOB vtable[215] vtable[91] FIGURINE, AMULET, SCEPTER, CROWN, RING, EARRING, BRACLET check for material flag ITEMS_HARD vtable[15] .. _structures.jobs.job_item: jobs.job_item ============= .. code-block:: xml pure guess by context used with custom reactions .. _structures.jobs.job_item_filter: jobs.job_item_filter ==================== .. code-block:: xml noticed in v0.40.24 .. _structures.jobs.manager_order_status: jobs.manager_order_status ========================= .. code-block:: xml .. _structures.jobs.job_art_specification: jobs.job_art_specification ========================== .. code-block:: xml .. _structures.jobs.manager_order: jobs.manager_order ================== .. code-block:: xml 0 is unlimited .. _structures.jobs.manager_order_condition_item: jobs.manager_order_condition_item ================================= .. code-block:: xml .. _structures.jobs.manager_order_condition_order: jobs.manager_order_condition_order ================================== .. code-block:: xml .. _structures.jobs.manager_order_template: jobs.manager_order_template =========================== .. code-block:: xml .. _structures.jobs.guild_id: jobs.guild_id ============= .. code-block:: xml .. _structures.jobs.mandate: jobs.mandate ============ .. code-block:: xml 0 export, 1 make, 2 guild jobs counts once per 10 frames once counter passes limit, mandate ends .. _structures.jobs.training_assignment: jobs.training_assignment ======================== .. code-block:: xml .. _structures.jobs.unit_demand: jobs.unit_demand ================ .. code-block:: xml counts once per 10 frames once counter passes limit, mandate ends