module Autotsar
{
    imports
    {
        Base
    }

    item AtTuningMagJeep
    {
        Weight    =    0.1,
        DisplayCategory = Tuning,
        ItemType = base:literature,
        Icon    =    ATATuningMagUniverseIcon,
        LearnedRecipes  =   Basic Tuning;ATAJeepRecipes,
        ReplaceOnUse    =   AtTuningMagJeep,
        Tooltip = Tooltip_item_AtTuningMagJeep,
        StaticModel = Autotsar.ATATuningMagUniverse_Reading,
        WorldStaticModel = Autotsar.ATATuningMagUniverse_Ground,
    }



    model ATAJeepBumper1World
    {
        mesh = WorldItems/ATA_Bumper1,
        texture = Vehicles/ATA_Jeep_items,
        scale = 0.04,
    }
    item ATAJeepBumper1Item
    {
        DisplayCategory = Tuning,
        Weight    =    10.0,
        ItemType    =    base:normal,
        Icon    =    ATAJeepBumper1Item,
        VehicleType =   1,
        ConditionMax = 100,
        ChanceToSpawnDamaged = 25,
        MechanicsItem = TRUE,
        WorldStaticModel = Autotsar.ATAJeepBumper1World,
        Tags = ATAJeepBumper,
    }


    model ATAJeepBumper2World
    {
        mesh = WorldItems/ATA_Bumper2,
        texture = Vehicles/ATA_Jeep_items,
        scale = 0.04,
    }
    item ATAJeepBumper2Item
    {
        DisplayCategory = Tuning,
        Weight    =    10.0,
        ItemType    =    base:normal,
        Icon    =    ATAJeepBumper2Item,
        VehicleType =   1,
        ConditionMax = 100,
        ChanceToSpawnDamaged = 25,
        MechanicsItem = TRUE,
        WorldStaticModel = Autotsar.ATAJeepBumper2World,
        Tags = ATAJeepBumper,
    }
    model ATAJeepBumper3World
    {
        mesh = WorldItems/ATA_Bumper3,
        texture = Vehicles/ATA_Jeep_items,
        scale = 0.04,
    }
    item ATAJeepBumper3Item /* Спавн */
    {
        DisplayCategory = Tuning,
        Weight    =    10.0,
        ItemType    =    base:normal,
        Icon    =    ATAJeepBumper3Item,
        VehicleType =   1,
        ConditionMax = 100,
        ChanceToSpawnDamaged = 95,
        MechanicsItem = TRUE,
        WorldStaticModel = Autotsar.ATAJeepBumper3World,
        Tags = ATAJeepBumper,
    }
    model ATAJeepRoofTentWorld
    {
        mesh = WorldItems/ATA_PalatkaClosed,
        texture = WorldItems/ATA_Common_palatka,
        scale = 0.04,
    }
    item ATAJeepRoofTentItem /* Спавн */ 
    {
        DisplayCategory = Tuning,
        Weight    =    15.0,
        ItemType    =    base:normal,
        Icon    =    ATARoofTentItem,
        ChanceToSpawnDamaged = 25,
        MaxCapacity = 30,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        Tooltip = Tooltip_item_tuning,
        WorldStaticModel = Autotsar.ATAJeepRoofTentWorld,
    }

    model ATAJeepSnorkelWorld
    {
        mesh = WorldItems/ATA_Airtube,
        texture = WorldItems/ATA_Common_items,
        scale = 0.04,
    }
    item ATAJeepSnorkelItem /* Спавн */ 
    {
        DisplayCategory = Tuning,
        Weight    =    2.0,
        ItemType    =    base:normal,
        Icon    =    ATASnorkelItem,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        Tooltip = Tooltip_item_tuning,
        WorldStaticModel = Autotsar.ATAJeepSnorkelWorld,
    }

    craftRecipe ATAJeepBumper
    {
        timedAction = Welding,
		Time = 350,
		NeedToBeLearn = True,
		SkillRequired = MetalWelding:2,
		Tags = InHandCraft;Welding,
        category = Welding,
		xpAward = MetalWelding:15,
		AutoLearnAny = MetalWelding:4,
        
        inputs
        {
            item 1 tags[ATAJeepBumper],
			item 8 [Base.BlowTorch],
			item 1 tags[WeldingMask] mode:keep,
        }
        outputs
       {
           item 8 Base.SheetMetal,
       }
    }
}