Cataclysm-dda: Intravenous Needletip bionic should allow to inject mutagen serums.

Created on 28 Oct 2018  路  9Comments  路  Source: CleverRaven/Cataclysm-DDA

So the Intravenous Needletip replaces the syringe for drugs like morphine and other injectable drug, but i can't inject serums.

image

image

Can someone correct this?

(S2 - Confirmed) <Bug> Bionics

All 9 comments

@Xhuis just a heads up.

When did you last update? This was patched last month in #25577.

I've confirmed it just now on most recent master available. Code looks good at first glance, so I couldn't pinpoint the problem.

What I've spotted:
I've noticed that if you examine the serum and then activate it it will work.
Eat menu shows message as above. [A]ctivate doesnt show serum on the list. Even in [e]xamine it looked like it wouldn't work, but it worked.

Forgot to post the build
image

@nexusmrsep I have noticed this before with disinfectant. i have a 'small bottle of disinfectant (5)' when i press 'a' its not in the list. but if i go to it with 'i' and then 'a activate' it does activate and i can select a limb. maybe its related to beeing in a container?

@woutershep You can also "E" and select the disinfectant, but it just doesn't appear in the "a"ctive list

I need someone to confirm this.

To me it looks like line 38 in data\json\items\comestibles\mutagen.json should be "tools_needed": "syringe" and NOT _"tool": "syringe"_.
grafik

Why? Well, take a look at \src\iuse_actor.cpp line 544 f.
grafik

I've tested the change with my build and it worked fine:
mutagen - new.json (new file)
mutagen - old.json (original file)
mutagen.json.zip

Just change the name back to mutagen.json.
At least this should fix the mutagen bug.

@nexusmrsep I have noticed this before with disinfectant. i have a 'small bottle of disinfectant (5)' when i press 'a' its not in the list. but if i go to it with 'i' and then 'a activate' it does activate and i can select a limb. maybe its related to beeing in a container?

@Heaper327

Would you mind testing the disinfectant issue with the current build.
Seems to work fine (all of the above work fine / 'a', 'E' and inventory -> activation/use).

Was this page helpful?
0 / 5 - 0 ratings