Umffa
New Member
- Joined
- Feb 1, 2024
- Messages
- 8
- Reaction score
- 1
Hello,
I've encountered a specific issue that I'm unable to solve on my own. Specifically, I can't find the part of the code where I can adjust the decay time for corpses (e.g., rats). In the engine I'm using, corpses disappear after 10 seconds. I've gone through enums.h and found ITEM_ATTRIBUTE_DECAYSTATE = 1 << 18, but I'm not certain this is the correct place.
Another idea I had was to look into configmanager.cpp and the line integer[MONSTERS_BEHAVIOR] = getGlobalNumber(L, "MONSTERS_BEHAVIOR", -1);
Could anyone offer some guidance?
I've encountered a specific issue that I'm unable to solve on my own. Specifically, I can't find the part of the code where I can adjust the decay time for corpses (e.g., rats). In the engine I'm using, corpses disappear after 10 seconds. I've gone through enums.h and found ITEM_ATTRIBUTE_DECAYSTATE = 1 << 18, but I'm not certain this is the correct place.
Another idea I had was to look into configmanager.cpp and the line integer[MONSTERS_BEHAVIOR] = getGlobalNumber(L, "MONSTERS_BEHAVIOR", -1);
Could anyone offer some guidance?