CleverRaven / Cataclysm-DDA

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

Insect Wings mutation permanently active without associated cost #51359

Closed Lloydles closed 2 years ago

Lloydles commented 3 years ago

Describe the bug

Ever since my character mutated Insect Wings, my movement cost has been significantly lower without incurring the active cost of the mutation. Turning the mutation on through the mutation menu activates the drain, but does not make my character faster. Turning it back off again does not remove the movement cost reduction, meaning it is effectively permanently active without costing anything.

My regular movement cost on the character in question is 105 with Insect Wings (on or off), and when I remove the mutation through debug, it shoots up to 141.

Steps To Reproduce

  1. Make any player character

  2. Make a move and write down the cost (107 orthogonal on a default start)

  3. Mutate Insect Wings through any means

  4. Make a move, the cost should be significantly lower (80 orthogonal on a default start with debugged Insect Wings)

  5. Activate Insect Wings through the mutation menu. Moving will now drain resources, but the movement cost remains the same as in 4 (80 orthogonal).

  6. Deactivate Insect Wings through the mutation menu. Moving will now no longer drain resources, but the movement cost still remains the same as in 4 (80 orthogonal).

Expected behavior

I expect that the Insect Wings mutation would only reduce my movement cost while activated and draining resources.

Screenshots

No response

Versions and configuration

Additional context

No response

hexagonrecursion commented 2 years ago

Confirmed

  1. I have created a char with 100 base move cost.
  2. I mutated insect wings. This caused the base move cost to drop to 75.
  3. Activating the wings caused rapid thirst, an increase in wearines and tiredness, but the base move cost remained at 75
LeahLuong commented 2 years ago

I recently gained this mutation & thought something was up but hadn't gotten around to more testing yet. I'd noticed activating the mutation didn't seem to be affecting my char's speed or move cost. What I have noticed is that my thirst & tiredness seem greater since acquiring the mutation. I also have Bulging Eyes & Reflex Photophore so it's possible these are additional sources of drain. The mutagen use tax is another possibility. But I can't shake the feeling that Insect Wings is just permanently stuck on activated after seeing this issue.

As an aside, what the heck are RU's?? They're the currency mutations use but I don't have a clue as to what pool they're drawing from or how that pool is determined.

LeahLuong commented 2 years ago

Looks like this is a dupe of #42596. The other thread posits this issue applies to all movement-related mutations.

Night-Pryanik commented 2 years ago

Yeah, closing as duplicate.