module Bicycle
{
    imports {
	    Base
	}
    item Bicycle
    {
        Weight                      = 0,
        Type                        = Weapon,
        WeaponSprite                = Bicycle_Frame,
        DisplayName                 = BicycleBike,
        Icon                        = Bicycle2Icon,
		DisplayCategory	            = SportsWeapon,
        RequiresEquippedBothHands   = true,
        TwoHandWeapon               = TRUE,
        OnCreate                    = BicycleMenu.onCreateBicycle,
        ModelWeaponPart = Bicycle_StreetWheelFrontItem Bicycle_StreetWheel FrontWheel FrontWheel,
        ModelWeaponPart = Bicycle_StreetWheelRearItem Bicycle_StreetWheel RearWheel RearWheel,
        ModelWeaponPart = Bicycle_OffroadWheelFrontItem Bicycle_OffroadWheel FrontWheel FrontWheel,
        ModelWeaponPart = Bicycle_OffroadWheelRearItem Bicycle_OffroadWheel RearWheel RearWheel,
        ModelWeaponPart = Bicycle_Saddlebag Bicycle_SaddlebagModel1 Saddlebag Saddlebag,
        ModelWeaponPart = Bicycle_Basket Bicycle_BasketModel1 Basket Basket,
        ModelWeaponPart = Bicycle_Crate Bicycle_CrateModel1 Crate Crate,
        ModelWeaponPart = Bicycle_Toolbox Bicycle_Toolbox Toolbox Toolbox,
        ModelWeaponPart = Bicycle_PlasticBagLeft PlasticBag PlasticBagLeft PlasticBagLeft,
        ModelWeaponPart = Bicycle_PlasticBagRight PlasticBag PlasticBagRight PlasticBagRight,
        ModelWeaponPart = Bicycle_Pedals Bicycle_PedalsModel1 Pedals Pedals,
        ModelWeaponPart = Bicycle_Lamp Bicycle_LampModel1 Lamp Lamp,
        ModelWeaponPart = Bicycle_Bell Bicycle_Bell Bell Bell,
        ModelWeaponPart = Bicycle_KickstandUp Bicycle_KickstandUp KickstandUp KickstandUp,
        ModelWeaponPart = Bicycle_KickstandDown Bicycle_KickstandDown KickstandDown KickstandDown,
        ModelWeaponPart = Bicycle_TapedFlashlight Bicycle_TapedFlashlight TapedFlashlight TapedFlashlight,
        ModelWeaponPart = Bicycle_TapedImprovisedFlashlight Bicycle_TapedImprovisedFlashlight TapedFlashlight TapedFlashlight,
        ModelWeaponPart = Bicycle_BottleHolder Bicycle_BottleHolder BottleHolder BottleHolder,
        ModelWeaponPart = Bicycle_Sportsbottle Bicycle_Sportsbottle Sportsbottle Sportsbottle,
        ModelWeaponPart = Bicycle_Chain Bicycle_Chain Chain Chain,
    }
    item Bicycle_StreetWheelFrontItem
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleFrontWheel,
        Icon = Bicycle2WheelIcon,
        Weight = 0.2,
        UseDelta = 0.001,
        ConditionMax = 127,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_StreetWheel,
        PartType = FrontWheel,
    }
    item Bicycle_StreetWheelRearItem
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleRearWheel,
        Icon = Bicycle2WheelIcon,
        Weight = 0.2,
        UseDelta = 0.001,
        ConditionMax = 127,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_StreetWheel,
        PartType = RearWheel,
    }
    item Bicycle_OffroadWheelFrontItem
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleFrontWheel,
        Icon = Bicycle2WheelIcon,
        Weight = 0.2,
        UseDelta = 0.001,
        ConditionMax = 127,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_OffroadWheel,
        PartType = FrontWheel,
    }
    item Bicycle_OffroadWheelRearItem
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleRearWheel,
        Icon = Bicycle2WheelIcon,
        Weight = 0.2,
        UseDelta = 0.001,
        ConditionMax = 127,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_OffroadWheel,
        PartType = RearWheel,
    }
    item Bicycle_Saddlebag
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleSaddlebags,
        Icon = Bicycle2BagsIcon,
        Weight = 0.2,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_SaddlebagModel1,
        PartType = Saddlebag,
    }
    item Bicycle_Pedals
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicyclePedals,
        Icon = Pedals,
        Weight = 0.2,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_PedalsModel1,
        PartType = Pedals,
    }
    item Bicycle_Chain
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleChain,
        Icon = BicycleChainIcon,
        Weight = 0.1,
        UseDelta = 0.001,
        ConditionMax = 127,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_Chain,
        PartType = Chain,
    }
    item Bicycle_KickstandUp
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleKickstand,
        Icon = BicycleKickstandIcon,
        Weight = 0.1,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_KickstandUp,
        PartType = KickstandUp,
    }
    item Bicycle_KickstandDown
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleKickstand,
        Icon = BicycleKickstandIcon,
        Weight = 0.1,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_KickstandDown,
        PartType = KickstandDown,
    }
    item Bicycle_Bell
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleBell,
        Icon = BicycleBellIcon,
        Weight = 0.1,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_Bell,
        PartType = Bell,
    }
    item Bicycle_Lamp
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleLamp,
        Icon = Bicycle2LampIcon,
        Weight = 0.2,
        MountOn = Bicycle;Bicycle_RedStreet,
        PartType = Lamp,
        ActivatedItem = TRUE,
		LightDistance = 20,
		LightStrength = 1.3,
        TorchCone = TRUE,
		TorchDot = 0.16,
		SoundMap = Activate FlashlightOn,
		SoundMap = Deactivate FlashlightOff,
        DisappearOnUse = False,
        UseDelta = 0.001,
        WorldStaticModel = Bicycle_LampModel1,
        Tags = Flashlight;UsesBattery,
    }
    item Bicycle_TapedFlashlight
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleTapedFlashlight,
        Icon = Bicycle2LampIcon,
        Weight = 0.2,
        MountOn = Bicycle;Bicycle_RedStreet,
        PartType = TapedFlashlight,
        ActivatedItem = TRUE,
		LightDistance = 14,
		LightStrength = 1.1,
        TorchCone = TRUE,
		TorchDot = 0.12,
		SoundMap = Activate FlashlightOn,
		SoundMap = Deactivate FlashlightOff,
        DisappearOnUse = False,
        UseDelta = 0.001,
        WorldStaticModel = Bicycle_TapedFlashlight,
        Tags = Flashlight;UsesBattery,
    }
    item Bicycle_TapedImprovisedFlashlight
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleImprovisedTapedFlashlight,
        Icon = Bicycle2LampIcon,
        Weight = 0.2,
        MountOn = Bicycle;Bicycle_RedStreet,
        PartType = TapedFlashlight,
        ActivatedItem = TRUE,
		LightDistance = 10,
		LightStrength = 0.9,
        TorchCone = TRUE,
		TorchDot = 0.08,
		SoundMap = Activate FlashlightOn,
		SoundMap = Deactivate FlashlightOff,
        DisappearOnUse = False,
        UseDelta = 0.002,
        WorldStaticModel = Bicycle_TapedImprovisedFlashlight,
        Tags = Flashlight;UsesBattery,
    }
    item Bicycle_Basket
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleBasket,
        Icon = Bicycle2FrontBasketIcon,
        Weight = 0.2,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_BasketModel1,
        PartType = Basket,
    }
    item Bicycle_Crate
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleCrate,
        Icon = Bicycle2WoodenCrateIcon,
        Weight = 0.2,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_CrateModel1,
        PartType = Crate,
    }
    item Bicycle_Toolbox
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleToolbox,
        Icon = Toolbox,
        Weight = 0.2,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_Toolbox,
        PartType = Toolbox,
    }
    item Bicycle_PlasticBagLeft
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicyclePlasticBag,
        Icon = Plasticbag,
        Weight = 0.1,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Plasticbag,
        PartType = PlasticBagLeft,
    }
    item Bicycle_PlasticBagRight
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicyclePlasticBag,
        Icon = Plasticbag,
        Weight = 0.1,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Plasticbag,
        PartType = PlasticBagRight,
    }
    item Bicycle_BottleHolder
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleBottleHolder,
        Icon = BottleHolderIcon,
        Weight = 0.1,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_BottleHolder,
        PartType = BottleHolder,
    }
    item Bicycle_Sportsbottle
    {
        DisplayCategory = WeaponPart,
        Type = WeaponPart,
        DisplayName = BicycleSportsbottle,
        Icon = Sportsbottle,
        Weight = 0.1,
        MountOn = Bicycle;Bicycle_RedStreet,
        WorldStaticModel = Bicycle_Sportsbottle,
        PartType = Sportsbottle,
    }
    sound Bicycle_Riding
    {
        category = Ambient, loop = true, is3D = true,
        clip { file = media/sound/Bicycle/Bicycle_Riding.ogg, distanceMin = 7, distanceMax = 7, volume = 0.4, }
    }

    sound Bicycle_Stop
    {
        category = Ambient, loop = true, is3D = true,
        clip { file = media/sound/Bicycle/Bicycle_Stop.ogg, distanceMin = 7, distanceMax = 7, volume = 0.3, }
    }

    sound Bicycle_Bell
    {
        category = Ambient, loop = false, is3D = true,
        clip { file = media/sound/Bicycle/Bicycle_Bell.ogg, distanceMin = 7, distanceMax = 7, volume = 0.4, }
    }
    sound Bicycle_FlatTire
    {
        category = Ambient, loop = false, is3D = true,
        clip { file = media/sound/Bicycle/flat-tire.ogg, distanceMin = 7, distanceMax = 7, volume = 0.4, }
    }
}
