CleverRaven / CleverRaven/Cataclysm-DDA

NPC doesn't work properly, acts really weird, hundreds of item interactions at single turn

Open
#45,865 2 comments 0 reactions 0 assignees View on GitHub
<Bug> NPC / Factions
Dominant language
C++
Stars
13.2k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
205

Description

# Describe the bug

For some time already my NPC used to occasionally reset her orders, drop her weapon, and wield her army helmet.
Now it went further, she acts erratically
![image](https://user-images.githubusercontent.com/26396019/101278202-39e9cb00-37ba-11eb-907c-99c32a965adf.png)
She's awake but I can't push her or switch positions
![image](https://user-images.githubusercontent.com/26396019/101278224-584fc680-37ba-11eb-96b2-bdfd5258ebcc.png)
I told her many times to follow me, but she's still "on guard" and every time I talk to her I see the same dialog
![image](https://user-images.githubusercontent.com/26396019/101278268-8a612880-37ba-11eb-8f84-be7523532023.png)
Whenever she moves, she wields and then drops items on the ground
![image](https://user-images.githubusercontent.com/26396019/101278287-a9f85100-37ba-11eb-96fe-b2ccf5052e93.png)

**EDIT**. Seems like she drops her melee weapon in order to use a ranged one. In `#` I caught her "welding" Finger Laser CBM.
She uses a fire axe and wears axe ring holster. For some reasons, she dropped her MOLLE pack and weapon.

# Steps To Reproduce

Load the save

# Expected behavior

Just normal acting

# Screenshots

# Versions and configuration

- OS: Windows
- OS Version: 10.0 2004
- Game Version: 0.E-8013-g170da18 [64-bit]
- Graphics Version: Tiles
- Game Language: English [en]
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Aftershock [aftershock],
Blaze Industries [blazeindustries],
Magiclysm [magiclysm],
Graphical Overmap [Graphical_Overmap],
Graphical Overmap Magiclysm [Graphical_Overmap_Magiclysm],
Mythical Martial Arts [MMA],
C.R.I.T Expansion Mod [crt_expansion],
No Fungal Monsters [No_Fungi],
Stats Through Kills [stats_through_kills],
SpeedyDex [speedydex],
Bionic Professions [package_bionic_professions],
Aftershock - UndeadPeople Tileset [AftershockUDP],
Blaze Industries - UndeadPeople Tileset [BlazeIndustriesUDP],
C.R.I.T Expansion Mod - UndeadPeople Tileset [crt_expansionUDP],
Magiclysm - UndeadPeople Tileset [MagiclysmUDP],
Mythical Martial Arts - UndeadPeople Tileset [MMAUDP]
]

# Additional context
[auto_before_launch142.zip](https://github.com/CleverRaven/Cataclysm-DDA/files/5648652/auto_before_launch142.zip)

Contributor guide

Open the contributing guide

Research direction

Start by loading the attached auto_before_launch142.zip save in the reported game version and observe the NPC's movement, dialogue, equipment, and item interactions. Reproduce the repeated order resets, weapon drops, position issues, and excessive item interactions described in the screenshots. Done means the NPC acts normally without repeating the dialogue or dropping and re-equipping items unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.