Skip to content

job.item_category needs to be renamed and retyped #668

@ab9rf

Description

@ab9rf

this field is both mistyped and misnamed; it's not a stockpile_group_set and is called specflag in toady code

the field encodes multiple overlapping bits depending on job type:

  • bit0: ConstructBuildingSwitchedSpot, CleanPatientTriedSoap, CleanSelfTriedSoap, PlaceTrackVehicleClearedJobs, GatherFromZone, DrinkItemLookedForNearbyGoblet, InterrogationDidOfficeAttempt
  • bit1: GatherPickTrees
  • bit2: GatherPickShrubs
  • bit3: GatherGatherFallen
  • bit4: GatherNoLadderSearch
  • bit5: GatherLadderRestricted
  • bit6: GatherLadderGround

however there are multiple references in code to this field so renaming it requires coordination

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions