Skip to content
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

Test tube incorrectly claims to fill with various liquids it cannot hold. #48921

Open
Psiclops opened this issue May 18, 2021 · 6 comments
Open
Labels
<Bug> This needs to be fixed Info / User Interface Game - player communication, menus, etc. Items: Containers Things that hold other things

Comments

@Psiclops
Copy link

Psiclops commented May 18, 2021

When using (r)eload, the test tube will only fill up with certain liquids, although it claims success for all.

Successful reload liquid into test tube so far. (with message "You refill the test tube.")
Liquid mercury (10)
ethanol (10)
denatured alcohol (10)
nicotine liquid (2)
hot sauce (2)
dragon blood (10)
All of the mutagenic serums (1)

Fails (with message "You refill the test tube.")
lye
blood
antiseptic
animal cooking oil
vegetable cooking oil
rum
purifier
mutagen
hydrochloric acid
gin
whiskey
maple syrup
saline solution
cough syrup, regular and non-drowsy
hydrogen peroxide
heartburn medicine
lemonade
vinegar
water
clean water

It seems that some liquids have a different amount of space that (1) unit takes up than others. If the liquid cannot fit in a test tube, it should have a failure message instead of claiming to succeed.

Since a test tube holds 10ml, it looks like (1) dragon blood is 1ml, but (1) hot sauce is 5ml, and any (1) mutagenic serum is 10ml. It stands to reason that a test tube could hold any liquid you tried to pour into it, but in the terms of a minimally usable amount it will not hold most liquids in the game.

forgot to add game version info, editing in below

  • OS: Windows
    • OS Version: 10.0 2009
  • Game Version: 0.E-10361-gfa0b7d6 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Bionic Professions [package_bionic_professions],
    Magiclysm [magiclysm],
    Graphical Overmap [Graphical_Overmap],
    Graphical Overmap Magiclysm [Graphical_Overmap_Magiclysm]
    ]
@actual-nh actual-nh added (S1 - Need confirmation) Report waiting on confirmation of reproducibility Info / User Interface Game - player communication, menus, etc. labels May 18, 2021
@actual-nh
Copy link
Contributor

The problem would appear to be the "You refill the test tube" message when there isn't 10 ml of the liquid in question in said test tube.

@sharkfinsouperman
Copy link

sharkfinsouperman commented May 19, 2021

This is not a bug, because none of the items on your list of failed liquids can be stored in the test tube because the smallest individual units are greater than 10ml.

This issue can be closed.

@actual-nh
Copy link
Contributor

This is not a bug, because none of the items on your list of failed liquids can be stored in the test tube because the smallest individual units are greater than 10ml.

It's not a bug that you can't put a unit in something too small for it; it is a bug that you're told you've refilled the test tube when you haven't.

This issue can be closed.

Given that there's still a bug - just not the one the OP thought - I'm not sure why you're saying this.

@sharkfinsouperman
Copy link

@actual-nh Seems I've misunderstood the issue. Thanks for clearing that up.

@actual-nh actual-nh added <Bug> This needs to be fixed Items: Containers Things that hold other things and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels May 19, 2021
@actual-nh
Copy link
Contributor

actual-nh commented May 19, 2021

@actual-nh Seems I've misunderstood the issue. Thanks for clearing that up.

Quite welcome; you're perfectly correct that the issue as originally stated isn't a bug. @Psiclops, to reduce confusion could you change the title to something like "Test tube falsely stated to be refilled"? EDIT: Thanks!

@Psiclops Psiclops changed the title Test tube will not hold various liquids. Test tube incorrectly claims to fill with various liquids it cannot hold. May 19, 2021
@RenechCDDA
Copy link
Member

} else if( reloadable.is_watertight_container() ) {
add_msg( m_neutral, _( "You refill the %s." ), reloadable_name );

Needs to account for failures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed Info / User Interface Game - player communication, menus, etc. Items: Containers Things that hold other things
Projects
None yet
Development

No branches or pull requests

4 participants