Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items don't get auto sorted when an NPC produces an item through mining and chopping trees. #80106

Open
Azlyp opened this issue Mar 10, 2025 · 1 comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@Azlyp
Copy link

Azlyp commented Mar 10, 2025

Describe the bug

When you assign mining or chopping wood work to your NPC and then try to auto sort them it the rocks or logs doesn't get auto sorted. If you switch to debug mode and (e) the items most of them have an item var. attached to them, "activity_var, [NPC name]". Removing the item var. with map editor -> item -> savetest then the item gets auto sorted properly.

Attach save file

N/A

Steps to reproduce

  1. Make a new world.
  2. Change to debug mode.
  3. Start in a cave to make it easier or map edit stairs to a rock layer.
  4. Spawn in an NPC follower.
  5. Give them a pickaxe and a light source (automic headlamp is easiest since no need for energy source).
  6. Add a mine zone.
  7. Tell your NPC to mine.
  8. Wait till they finish.
  9. Make an unsorted zone with all the rocks and other items in it. Make a custome zone for rocks.
  10. Tell your NPC to auto sort.
  11. Watch them sort a few items and then call it done even though there's still items to sort.
  12. Examine an item they didn't sort and it will show item var: activity_var, [NPC name]
  13. Examine an item they sorted and it won't have that.

Bug also happens when asking them to chop trees.

  1. Give them an axe.
  2. Assign tree chopping zone.
  3. Tell them to chop trees.
  4. Wait till they finish.
  5. Try to auto sort the items.

Expected behavior

If they are my follower and they make an item because I tell them to then that item should be auto-sortable.

Screenshots

Picture showing that items don't get sorted even though my zone still has empty tiles in them.
Image

Picture showing the item var: activity_var [NPC name]
Image

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19045.5011 (22H2)
  • Game Version: 54cd467 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Portal Storms Ignore NPCs [personal_portal_storms],
    Slowdown Fungal Growth [no_fungal_growth],
    DinoMod [DinoMod],
    Bombastic Perks [bombastic_perks],
    Mythical Martial Arts [MMA],
    SpeedyDex [speedydex],
    Stats Through Kills [stats_through_kills],
    Stats Through Skills [StatsThroughSkills],
    Tamable Wildlife [Tamable_Wildlife]
    ]

Additional context

No response

@Azlyp Azlyp added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Mar 10, 2025
@Azlyp
Copy link
Author

Azlyp commented Mar 10, 2025

Seems like I made a mistake and didn't test it thoroughly. If you or an NPC do any chopping wood or mining jobs using zones (Y) and orders (O) the items will have the item var in them.
So it's not just NPCs, it also happens to the player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

1 participant