def gen_res(args, resource, inflow, outflow):
    """
    Returns a line of text to add to an environment file, initializing a
    standard resource with the specified name (string), inflow(int), and
    outflow(int)
    """
    return "".join(["RESOURCE ", resource, ":inflow=", str(inflow),
                    ":outflow=", str(outflow), "\n"])