/* GENERATED by tools/gen_mod.py - edit tools/brands.json instead */

module TrueCigs
{
    imports
    {
        Base
    }

    /* ----- Marlboro (1993 rank 1, share 23.52, premium) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Marlboro
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Marlboro] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Marlboro,
        }
    }

    craftRecipe TCAdd_Marlboro
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Marlboro] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Marlboro] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Marlboro
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Marlboro] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Marlboro,
        }
    }

    craftRecipe TCPack_Marlboro
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Marlboro] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Marlboro,
        }
    }

    craftRecipe TCUnpackCarton_Marlboro
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Marlboro] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Marlboro,
        }
    }

    craftRecipe TCPackCarton_Marlboro
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Marlboro] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Marlboro,
        }
    }

    /* ----- Winston (1993 rank 2, share 6.72, premium) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Winston
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Winston] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Winston,
        }
    }

    craftRecipe TCAdd_Winston
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Winston] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Winston] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Winston
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Winston] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Winston,
        }
    }

    craftRecipe TCPack_Winston
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Winston] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Winston,
        }
    }

    craftRecipe TCUnpackCarton_Winston
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Winston] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Winston,
        }
    }

    craftRecipe TCPackCarton_Winston
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Winston] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Winston,
        }
    }

    /* ----- Basic (1993 rank 3, share 5.29, deep discount) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Basic
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Basic] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Basic,
        }
    }

    craftRecipe TCAdd_Basic
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Basic] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Basic] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Basic
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Basic] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Basic,
        }
    }

    craftRecipe TCPack_Basic
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Basic] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Basic,
        }
    }

    craftRecipe TCUnpackCarton_Basic
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Basic] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Basic,
        }
    }

    craftRecipe TCPackCarton_Basic
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Basic] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Basic,
        }
    }

    /* ----- GPC (1993 rank 4, share 5.14, deep discount (branded discount from Q3 1993)) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_GPC
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_GPC] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_GPC,
        }
    }

    craftRecipe TCAdd_GPC
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_GPC] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_GPC] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_GPC
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_GPC] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_GPC,
        }
    }

    craftRecipe TCPack_GPC
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_GPC] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_GPC,
        }
    }

    craftRecipe TCUnpackCarton_GPC
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_GPC] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_GPC,
        }
    }

    craftRecipe TCPackCarton_GPC
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_GPC] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_GPC,
        }
    }

    /* ----- Newport (1993 rank 5, share 4.85, premium menthol) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Newport
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Newport] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Newport,
        }
    }

    craftRecipe TCAdd_Newport
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Newport] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Newport] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Newport
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Newport] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Newport,
        }
    }

    craftRecipe TCPack_Newport
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Newport] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Newport,
        }
    }

    craftRecipe TCUnpackCarton_Newport
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Newport] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Newport,
        }
    }

    craftRecipe TCPackCarton_Newport
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Newport] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Newport,
        }
    }

    /* ----- Doral (1993 rank 6, share 4.58, branded discount) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Doral
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Doral] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Doral,
        }
    }

    craftRecipe TCAdd_Doral
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Doral] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Doral] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Doral
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Doral] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Doral,
        }
    }

    craftRecipe TCPack_Doral
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Doral] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Doral,
        }
    }

    craftRecipe TCUnpackCarton_Doral
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Doral] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Doral,
        }
    }

    craftRecipe TCPackCarton_Doral
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Doral] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Doral,
        }
    }

    /* ----- Salem (1993 rank 7, share 3.92, premium menthol) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Salem
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Salem] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Salem,
        }
    }

    craftRecipe TCAdd_Salem
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Salem] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Salem] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Salem
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Salem] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Salem,
        }
    }

    craftRecipe TCPack_Salem
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Salem] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Salem,
        }
    }

    craftRecipe TCUnpackCarton_Salem
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Salem] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Salem,
        }
    }

    craftRecipe TCPackCarton_Salem
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Salem] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Salem,
        }
    }

    /* ----- Camel (1993 rank 8, share 3.89, premium) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Camel
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Camel] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Camel,
        }
    }

    craftRecipe TCAdd_Camel
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Camel] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Camel] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Camel
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Camel] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Camel,
        }
    }

    craftRecipe TCPack_Camel
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Camel] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Camel,
        }
    }

    craftRecipe TCUnpackCarton_Camel
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Camel] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Camel,
        }
    }

    craftRecipe TCPackCarton_Camel
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Camel] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Camel,
        }
    }

    /* ----- Kool (1993 rank 9, share 3.01, premium menthol) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Kool
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Kool] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Kool,
        }
    }

    craftRecipe TCAdd_Kool
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Kool] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Kool] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Kool
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Kool] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Kool,
        }
    }

    craftRecipe TCPack_Kool
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Kool] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Kool,
        }
    }

    craftRecipe TCUnpackCarton_Kool
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Kool] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Kool,
        }
    }

    craftRecipe TCPackCarton_Kool
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Kool] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Kool,
        }
    }

    /* ----- Monarch (1993 rank 10, share 2.55, deep discount (branded discount from Q3 1993)) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Monarch
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Monarch] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Monarch,
        }
    }

    craftRecipe TCAdd_Monarch
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Monarch] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Monarch] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Monarch
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Monarch] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Monarch,
        }
    }

    craftRecipe TCPack_Monarch
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Monarch] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Monarch,
        }
    }

    craftRecipe TCUnpackCarton_Monarch
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Monarch] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Monarch,
        }
    }

    craftRecipe TCPackCarton_Monarch
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Monarch] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Monarch,
        }
    }

    /* ----- Benson and Hedges (1993 rank 11, share 2.48, premium) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_BensonAndHedges
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_BensonAndHedges] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_BensonAndHedges,
        }
    }

    craftRecipe TCAdd_BensonAndHedges
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_BensonAndHedges] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_BensonAndHedges] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_BensonAndHedges
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_BensonAndHedges] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_BensonAndHedges,
        }
    }

    craftRecipe TCPack_BensonAndHedges
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_BensonAndHedges] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_BensonAndHedges,
        }
    }

    craftRecipe TCUnpackCarton_BensonAndHedges
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_BensonAndHedges] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_BensonAndHedges,
        }
    }

    craftRecipe TCPackCarton_BensonAndHedges
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_BensonAndHedges] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_BensonAndHedges,
        }
    }

    /* ----- Best Value (1993 rank 12, share 2.38, deep discount (branded discount from Q3 1993)) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_BestValue
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_BestValue] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_BestValue,
        }
    }

    craftRecipe TCAdd_BestValue
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_BestValue] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_BestValue] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_BestValue
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_BestValue] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_BestValue,
        }
    }

    craftRecipe TCPack_BestValue
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_BestValue] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_BestValue,
        }
    }

    craftRecipe TCUnpackCarton_BestValue
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_BestValue] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_BestValue,
        }
    }

    craftRecipe TCPackCarton_BestValue
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_BestValue] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_BestValue,
        }
    }

    /* ----- Merit (1993 rank 13, share 2.29, premium low-tar) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Merit
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Merit] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Merit,
        }
    }

    craftRecipe TCAdd_Merit
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Merit] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Merit] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Merit
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Merit] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Merit,
        }
    }

    craftRecipe TCPack_Merit
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Merit] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Merit,
        }
    }

    craftRecipe TCUnpackCarton_Merit
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Merit] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Merit,
        }
    }

    craftRecipe TCPackCarton_Merit
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Merit] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Merit,
        }
    }

    /* ----- Virginia Slims (1993 rank 14, share 2.26, premium) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_VirginiaSlims
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_VirginiaSlims] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_VirginiaSlims,
        }
    }

    craftRecipe TCAdd_VirginiaSlims
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_VirginiaSlims] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_VirginiaSlims] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_VirginiaSlims
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_VirginiaSlims] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_VirginiaSlims,
        }
    }

    craftRecipe TCPack_VirginiaSlims
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_VirginiaSlims] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_VirginiaSlims,
        }
    }

    craftRecipe TCUnpackCarton_VirginiaSlims
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_VirginiaSlims] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_VirginiaSlims,
        }
    }

    craftRecipe TCPackCarton_VirginiaSlims
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_VirginiaSlims] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_VirginiaSlims,
        }
    }

    /* ----- Cambridge (1993 rank 15, share 1.90, branded discount) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Cambridge
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Cambridge] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Cambridge,
        }
    }

    craftRecipe TCAdd_Cambridge
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Cambridge] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Cambridge] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Cambridge
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Cambridge] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Cambridge,
        }
    }

    craftRecipe TCPack_Cambridge
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Cambridge] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Cambridge,
        }
    }

    craftRecipe TCUnpackCarton_Cambridge
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Cambridge] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Cambridge,
        }
    }

    craftRecipe TCPackCarton_Cambridge
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Cambridge] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Cambridge,
        }
    }

    /* ----- Pall Mall (1993 rank 18, share 1.25, premium (heritage, mostly non-filter)) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_PallMall
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_PallMall] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_PallMall,
        }
    }

    craftRecipe TCAdd_PallMall
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_PallMall] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_PallMall] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_PallMall
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_PallMall] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_PallMall,
        }
    }

    craftRecipe TCPack_PallMall
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_PallMall] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_PallMall,
        }
    }

    craftRecipe TCUnpackCarton_PallMall
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_PallMall] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_PallMall,
        }
    }

    craftRecipe TCPackCarton_PallMall
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_PallMall] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_PallMall,
        }
    }

    /* ----- Viceroy (1993 rank 21, share 0.96, branded discount) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Viceroy
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Viceroy] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Viceroy,
        }
    }

    craftRecipe TCAdd_Viceroy
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Viceroy] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Viceroy] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Viceroy
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Viceroy] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Viceroy,
        }
    }

    craftRecipe TCPack_Viceroy
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Viceroy] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Viceroy,
        }
    }

    craftRecipe TCUnpackCarton_Viceroy
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Viceroy] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Viceroy,
        }
    }

    craftRecipe TCPackCarton_Viceroy
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Viceroy] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Viceroy,
        }
    }

    /* ----- Lucky Strike (1993 rank 34, share 0.32, premium (non-filter heritage)) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_LuckyStrike
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_LuckyStrike] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_LuckyStrike,
        }
    }

    craftRecipe TCAdd_LuckyStrike
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_LuckyStrike] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_LuckyStrike] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_LuckyStrike
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_LuckyStrike] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_LuckyStrike,
        }
    }

    craftRecipe TCPack_LuckyStrike
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_LuckyStrike] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_LuckyStrike,
        }
    }

    craftRecipe TCUnpackCarton_LuckyStrike
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_LuckyStrike] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_LuckyStrike,
        }
    }

    craftRecipe TCPackCarton_LuckyStrike
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_LuckyStrike] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_LuckyStrike,
        }
    }

    /* ----- Chesterfield (1993 rank 43, share 0.11, premium (heritage, non-filter)) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Chesterfield
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Chesterfield] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Chesterfield,
        }
    }

    craftRecipe TCAdd_Chesterfield
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Chesterfield] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Chesterfield] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Chesterfield
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Chesterfield] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Chesterfield,
        }
    }

    craftRecipe TCPack_Chesterfield
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Chesterfield] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Chesterfield,
        }
    }

    craftRecipe TCUnpackCarton_Chesterfield
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Chesterfield] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Chesterfield,
        }
    }

    craftRecipe TCPackCarton_Chesterfield
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Chesterfield] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Chesterfield,
        }
    }

    /* ----- Red Apple (fictional brand from films by Quentin Tarantino, invented share 0.90) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_RedApple
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_RedApple] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_RedApple,
        }
    }

    craftRecipe TCAdd_RedApple
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_RedApple] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_RedApple] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_RedApple
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_RedApple] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_RedApple,
        }
    }

    craftRecipe TCPack_RedApple
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_RedApple] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_RedApple,
        }
    }

    craftRecipe TCUnpackCarton_RedApple
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_RedApple] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_RedApple,
        }
    }

    craftRecipe TCPackCarton_RedApple
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_RedApple] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_RedApple,
        }
    }

    /* ----- Nails (fictional brand from films by Kevin Smith, invented share 0.90) ----- */

    /* "Take" in the NAME is load-bearing: TS's K hotkey runs the first recipe whose name matches 'Take' (TS client/Input.lua:149). */
    craftRecipe TCTake_Nails
    {
        timedAction = TakeCigarette,
        time = 15,
        OnCreate = TrueCigs.Recipes.takeFromPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Nails] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Single_Nails,
        }
    }

    craftRecipe TCAdd_Nails
    {
        timedAction = AddCigarette,
        time = 25,
        OnCreate = TrueCigs.Recipes.addToPack,
        OnTest = RecipeCodeOnTest.canAddToPack,
        Tags = InHandCraft;CanBeDoneInDark;CanBeDoneWhileWalking,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Single_Nails] flags[AllowFavorite;InheritFavorite],
            item 1 [TrueCigs.Pack_Nails] mode:keep flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
        }
    }

    craftRecipe TCUnpack_Nails
    {
        timedAction = UnpackCigarettes,
        time = 25,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.Pack_Nails] mode:destroy flags[IsFull;AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 20 TrueCigs.Single_Nails,
        }
    }

    craftRecipe TCPack_Nails
    {
        timedAction = PackCigarettes,
        time = 25,
        OnTest = TrueCigs.Recipes.wholeCigarettesOnly,
        Tags = InHandCraft;CanBeDoneInDark,
        category = Miscellaneous,
        inputs
        {
            item 20 [TrueCigs.Single_Nails] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 1 TrueCigs.Pack_Nails,
        }
    }

    craftRecipe TCUnpackCarton_Nails
    {
        timedAction = UnPackBox_Small,
        time = 5,
        Tags = InHandCraft;Packing;CanBeDoneInDark,
        category = Packing,
        inputs
        {
            item 1 [TrueCigs.Carton_Nails] flags[AllowFavorite;InheritFavorite],
        }
        outputs
        {
            item 10 TrueCigs.Pack_Nails,
        }
    }

    craftRecipe TCPackCarton_Nails
    {
        timedAction = PackingBox_Small,
        time = 5,
        OnTest = RecipeCodeOnTest.genericPacking,
        Tags = InHandCraft;Packing,
        category = Packing,
        inputs
        {
            item 10 [TrueCigs.Pack_Nails] flags[IsFull;AllowFavorite;InheritFavorite;ItemCount],
        }
        outputs
        {
            item 1 TrueCigs.Carton_Nails,
        }
    }

    /* ----- Black Tar: pack -> cook next to an open fire -> roll (see TAR in tools/gen_mod.py) ----- */

    /* the tin must be empty: B42 tin cans are fluid containers */
    craftRecipe TCPackTobaccoTin
    {
        timedAction = Making,
        time = 100,
        Tags = InHandCraft,
        category = Miscellaneous,
        inputs
        {
            item 1 [Base.TinCanEmpty] flags[IsEmpty],
            item 10 tags[base:tobacco],
        }
        outputs
        {
            item 1 TrueCigs.PackedTobaccoTin,
        }
    }

    /* RecipeCodeOnTest.openFire (Java): a lit IsoFireplace / IsoBarbecue / campfire within 2 tiles; same test and tooltip as vanilla FireHardenSpear */
    craftRecipe TCCookTobaccoTar
    {
        timedAction = Making,
        time = 300,
        OnTest = RecipeCodeOnTest.openFire,
        Tooltip = Tooltip_Recipe_OpenFire,
        Tags = InHandCraft,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.PackedTobaccoTin],
        }
        outputs
        {
            item 1 TrueCigs.TobaccoTarTin,
        }
    }

    /* one use of the drainable tar per cigarette, like vanilla Roll a Cigarette takes one use of loose tobacco */
    craftRecipe TCRollBlackTar
    {
        timedAction = Making,
        time = 60,
        Tags = InHandCraft,
        category = Miscellaneous,
        inputs
        {
            item 1 [TrueCigs.TobaccoTarTin],
            item 1 tags[base:rollingpaper],
            item 1 tags[base:tobacco],
        }
        outputs
        {
            item 1 TrueCigs.Single_BlackTar,
        }
    }
}
