Skip to content

Identifying Cations and Anions with solubility data #387

@bibbca

Description

@bibbca

I'm mostly leaving this issue here so I don't forget to write some future code.

Currently, in chemistry.php there is no way to select a random cation or anion with solubility information using the functions chem_randcation() or chem_randanion().

My proposed solution is to include an attribute to cations and anions in the global cation and anion arrays, or in the chem_compounds array. such as
array('F',1,'fluoride','','s','solubility'),
Then, modifying chem_randcation() and chem_randanion() to look for the solubility attribute.

But if someone has a better approach, I'm all for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions