-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Player is prompted to turn off/extinguish their wet towel (active) #59809
Comments
Fun bug. Only thing I could think of why the game would warn you is that having soaking wet stuff around you could cause a cold but there is no way this is handled like this. |
As an absolute noob whose last major experience programming anything was in secondary school/high school and can scarcely comprehend some of the code here, I'm going to hazard a guess and say its because the item towel_wet is located the tool_armor type. A lot of other stuff that can be turnt on or off is in there. |
The 5-point anchor is also something that produces this pop-up. I'm not sure how it's programmed, but it really should be only things that will keep the player awake that should prompt the pop-up. |
I suspect it's connected to having an "active" state vs. a passive one. |
I've looked at the sleep code and the message is triggered to pop if an item: Or at least I think I've read it right.
|
Ah, so it sounds like fixing this issue would just be a matter of adding the flag_sleep_ignore flag to a wet towel. I think Patrik is right that things that would drain resources should also produce the flag, so even if keeping a 5-point-anchor on all night is probably wise for the characters it's relevant for, it should still produce a pop-up. Can anyone think of any other items that have produced the pop-up that shouldn't? Or conversely, any items that should produce the pop-up but that do not? |
I think the bigger question is WHY does it even cause the message to pop? If I'm interpreting the conditions correctly, and if I'm honest I can't with 100% certainty say I am, it shouldn't appear because it has no ammo. |
Either somehow it's being thought by the game to have ammo, or the only flag that wet towels have ("WET" oddly enough) is being treated as litcig as well? |
My interpretation is that the wet towel is presumably "active" when wet, and it has sufficient ammo as it doesn't need any. "Active" "tools" that have two states, such as a folding knife might fall into this category as well? |
'AMMO' isn't always ammo, it's a very useful mechanism for several hacky things. See, pens, acetylene torches, metal d20's, etc. |
Describe the bug
Screenshot says everything
I tried to sleep with this in my inventory and that showed up as if I had a flashlight or something on (I have no such thing in my inventory)
Steps to reproduce
Expected behavior
Instructions unclear. How do I turn off my towel?...
Oh wait that's impossible... or is it >_>
Screenshots
Versions and configuration
Dark Days Ahead [dda],
Vampiric Stuff [vamp_stuff],
Arcana and Magic Items [Arcana],
Magiclysm [magiclysm],
Arcana/Magiclysm Patchmod [Arcana_Magiclysm_Patch],
Vampiric Stuff + Arcana Mod Extension [vamp_stuff+arcana],
Disable NPC Needs [no_npc_food],
No Fungal Growth [no_fungal_growth],
SpeedyDex [speedydex],
Stats Through Kills [stats_through_kills],
Stats Through Skills [StatsThroughSkills],
Tamable Wildlife [Tamable_Wildlife],
Bionic Slots [cbm_slots],
No Rail Stations [No_Rail_Stations]
]
Additional context
No response
The text was updated successfully, but these errors were encountered: