df-structures icon indicating copy to clipboard operation
df-structures copied to clipboard

`job_item_flags3` bits 13 to 20 indicate some hidden adjectives including `gem` and `stone` items

Open Cubittus opened this issue 2 years ago • 0 comments

I noticed job_item_flags3 bit 20 of a cut gems job item was set, which led me to check the other unknown bits. I found a number of adjectives that don't appear in the list on the work order window:

bit adjective where found to be used
13 on-ground
14 divine
15 artifact
16 wooden
17 stone job items for polish stones jobs and encrusting with polished stones
18 non-artifact
19 woven
20 gem job items for cut gems jobs and encrusting with cut gems

These were found by toggling the bits of job_item_flags3 in a manager_order_condition_item of an open work order.

The stone and gem flags are used for job items in jobs created in a Jewelers workshop. The suggested conditions for cut gems and polish stones work orders also use these bits. Creating gem cut gems and stone cut gems conditions manually is impossible as the adjectives are not listed.

Cubittus avatar Apr 16 '23 18:04 Cubittus