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 inside items carried by player are processed multiple times per turn #40868

Closed
Hirmuolio opened this issue May 26, 2020 · 0 comments · Fixed by #40875
Closed

Items inside items carried by player are processed multiple times per turn #40868

Hirmuolio opened this issue May 26, 2020 · 0 comments · Fixed by #40875

Comments

@Hirmuolio
Copy link
Contributor

Hirmuolio commented May 26, 2020

Describe the bug

Items that are inside another item are processed multiple times per turn.

They should be processed only once.

Steps To Reproduce

Wear pants.
Put item that is processed inside pants.
Use some code debugging powers to see when it is processed.
See that it is processed three times each turn.

Alternatively put active grenade in you pocket. It will blow up in single turn even if it has 3 seconds of fuse left.

Expected behavior

All items should be processed only once per turn.

Screenshots

Versions and configuration

  • OS: Windows
    • OS Version: 10.0 1909
  • Game Version: 0.E-2476-g1b2af09 [64-bit]
  • Graphics Version: Tiles
  • Game Language: Deutsch [de]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Dark Days of the Dead [classic_zombies],
    No Monsters [Only_Wildlife]
    ]

Additional context

Additionally on the first time the item is processed inside another item in player inventory during the turn it does not have insulation from its container.

After #40869 is merged and this bug is fixed #40193 will also be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant