CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.52k stars 4.16k forks source link

Is there no error in the Geiger counter readings? #77189

Open IdleSol opened 2 days ago

IdleSol commented 2 days ago

Describe the bug

If you use the counter and scan yourself, the counter shows two radiation values:

1

I spent about 12 hours in the reactor. The RAD_DETECT badge turned black, indicating at least 240 units of something. https://github.com/CleverRaven/Cataclysm-DDA/blob/74e77cc63d8f06f94a51d72fe956f8da078c3092/data/mods/TEST_DATA/widgets.json#L215-L220 So the items are definitely irradiated. But the counter says there's no radiation from the stuff.

What does the counter show?

Attach save file

n/a

Steps to reproduce

n/a

Expected behavior

n/a

Screenshots

No response

Versions and configuration

Not that it matters, but I've been checking on the: cdda-windows-tiles-x64-2024-08-01-0043

Additional context

What radiation level do things have to have for them to start irradiating a character. Is that possible?

If it can't be, it might be worth removing that part from the meter readings. Just so as not to mislead the players.

IdleSol commented 2 days ago

I realized what the second part depends on. It reacts to items with the RADIOACTIVE flag in combination with the LEAK_ALWAYS and LEAK_DAM flags. There are 20 items and 4 car parts in the game.

They must be worn on the character or in pockets/bags. They are not detected on the ground (testing on a damaged atomic headlamp).

UPD. Damage repair, has no effect and leaves the item radioactive.