module Base
{
    /* Overrides vanilla Base.LighterFluid: 320 uses instead of 20 (ten
       empty-to-full refills of a 32-use Zippo), and an OnCreate that marks
       new cans (SmokersChoice_Refill.lua). Otherwise identical; if a game
       update changes it, re-copy it from scripts/generated/items/drainable.txt.

       Vanilla Base.RefillLighter gets the mod's OnCreate in place of the
       Java one (which sets the Zippo to the can's level plus 30%). Only the
       OnCreate line goes here: inputs in a second body are added on top of
       vanilla's, not swapped. The small can has its own recipe
       (smokerschoice_refill.txt) and no lighterfluid tag, so this one only
       takes the big can. */

    item LighterFluid
    {
        OnCreate = SmokersChoiceRefill.onCreateFluid,
        DisplayCategory = Household,
        ItemType = base:drainable,
        Weight = 0.2,
        Icon = LighterFluid,
        UseDelta = 0.003125,
        UseWhileEquipped = false,
        WorldStaticModel = LighterFluid,
        Tags = base:hasmetal;base:lighterfluid,
    }

    craftRecipe RefillLighter
    {
        OnCreate = SmokersChoiceRefill.refillLighter,
    }
}
