Hood: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
m (Automated Formatting)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|type=Mechanic|version=Version 41|incver=78.16}}{{Infobox vehicle part
{{Header|Project Zomboid|Vehicles|Vehicle parts}}
|display_name = Hood
{{Page version|41.78.16}}
|name_colour = mechanic
{{Infobox vehicle part
|text_colour = mechanic
|name=Hood
|image = EngineDoor.png
|model=CarHood_Model.png
|category=Item
|icon=EngineDoor.png
|weight = 15.0
|category=Vehicle Maintenance
|function = Protects the engine
|weight=15
|tool = [[Wrench]]
|function=Protects the engine
|class_name = [[#Item IDs|Item IDs]]
|chance_damaged=25
}}A '''hood''' is an [[items|item]] as part of a [[vehicles|vehicle]]. It is used to protect the engine from damage during collisions. It is highly advised to keep it in good condition.
|condition_max=100
|tool=[[Wrench]]
|skill=[[Mechanics]] 3
|item_id=Base.EngineDoor1
|item_id2=Base.EngineDoor2
|item_id3=Base.EngineDoor3
|item_id_more=Item IDs
}}
A '''hood''' is an [[Items|item]] as part of a [[vehicles|vehicle]]. It is used to protect the engine from damage during collisions.


==Usage==
==Usage==
===Engine protection===
===Engine protection===
A hood is fitted onto the front of a vehicle to protect the engine from collisions. Once the hood has broken, the engine will begin taking damage, often to catastrophic effect. Keep the hood in good condition at all times.
A hood is fitted onto the front of a vehicle to protect the engine from collisions. Once the hood has broken, the engine will begin taking damage, often to catastrophic effect. It's important to keep the hood in good condition at all times.
 
Having a hood fitted allows it to be locked using the [[Car Key|car key]], preventing other players in a [[multiplayer]] game from scrapping the vehicle for parts. However, players can still smash the window and unlock the vehicle. Therefore, it is highly recommended to store vehicles inside a secure safehouse if possible.
 
===Installing/Uninstalling===
A hood can be installed or uninstalled from a vehicle using a [[wrench]] so long as the recipe has been [[Laines Auto Manual|learned]] for that [[Vehicles#Types|vehicle type]]. Each level of [[Mechanics]] will decrease the chance of causing damage and increase the chance of success, with level 3 resulting in no damage and 100% chance of success. It is not possible to mix types of vehicle parts. For example, a ''standard'' class hood can not be fitted onto a ''sport'' vehicle.


Having a hood fitted in a [[multiplayer]] game allows it to be locked using the [[Car Key|car key]], preventing other players from scrapping the vehicle for parts. However, players can still smash the window and unlock the vehicle. Therefore, it is highly recommended to store vehicles inside a secure safehouse if possible.
===Installing===
A hood can be installed and removed with a [[Wrench]] at [[Mechanics]] level 3 without the possibility of damage. It is not possible to mix types of vehicle parts. For example, a ''standard'' class hood can not be fitted onto a ''sport'' vehicle.
===Repairing===
===Repairing===
A hood can be repaired with [[Metal Sheet]]s or [[Small Metal Sheet]]s and a [[Propane Torch]] at [[Metalworking]] level 1 and [[Mechanics]] level 2. Alternatively, it can be repaired with [[Screws]] instead of using a torch, however this will repair significantly less durability and take far more resources to do.
A hood can be repaired with [[Metal Sheet|metal sheets]] or [[Small Metal Sheet|small metal sheets]] and a [[Propane Torch|propane torch]] at [[metalworking]] level 1 and [[mechanics]] level 2. Alternatively, it can be repaired with [[screws]] instead of using a torch, however this will repair significantly less durability and take far more resources to do.


==Item IDs==
==Item IDs==
Line 37: Line 47:


==Code==
==Code==
'''''From vehicleitems.txt (Project Zomboid directory/media/scripts/vehicles/)'''''
{{CodeBox|{{ID|Base.EngineDoor1}}<br>
{{Retrieved|version=41|incver=78.16}}
{{CodeSnip
<pre>
  | lang = java
    item EngineDoor1
  | line = true
  | start = 1186
  | source = vehiclesitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item EngineDoor1
     {
     {
         DisplayCategory = VehicleMaintenance,
         DisplayCategory = VehicleMaintenance,
Line 53: Line 69:
         WorldStaticModel = CarHood,
         WorldStaticModel = CarHood,
     }
     }
}}


    item EngineDoor2
{{ID|Base.EngineDoor2}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1200
  | source = vehiclesitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item EngineDoor2
     {
     {
         DisplayCategory = VehicleMaintenance,
         DisplayCategory = VehicleMaintenance,
Line 67: Line 93:
         WorldStaticModel = CarHood,
         WorldStaticModel = CarHood,
     }
     }
}}


    item EngineDoor3
{{ID|Base.EngineDoor3}}<br>
{{CodeSnip
  | lang = java
  | line = true
  | start = 1214
  | source = vehiclesitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item EngineDoor3
     {
     {
         DisplayCategory = VehicleMaintenance,
         DisplayCategory = VehicleMaintenance,
Line 80: Line 116:
         MechanicsItem = TRUE,
         MechanicsItem = TRUE,
         WorldStaticModel = CarHood,
         WorldStaticModel = CarHood,
     }</pre>
     }
}}
}}


==See also==
==See also==

Latest revision as of 09:13, 14 April 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Hood
CarHood Model.png
General
Category
Vehicle Maintenance
Encumbrance
Moodle Icon HeavyLoad.png
15
Function
Protects the engine
Properties
Max condition
100
Chance damaged
25%
Install/Uninstall
Tool(s)
Recommended level
Technical
Item ID
Base.EngineDoor1
Base.EngineDoor2
Base.EngineDoor3

[See all]

A hood is an item as part of a vehicle. It is used to protect the engine from damage during collisions.

Usage

Engine protection

A hood is fitted onto the front of a vehicle to protect the engine from collisions. Once the hood has broken, the engine will begin taking damage, often to catastrophic effect. It's important to keep the hood in good condition at all times.

Having a hood fitted allows it to be locked using the car key, preventing other players in a multiplayer game from scrapping the vehicle for parts. However, players can still smash the window and unlock the vehicle. Therefore, it is highly recommended to store vehicles inside a secure safehouse if possible.

Installing/Uninstalling

A hood can be installed or uninstalled from a vehicle using a wrench so long as the recipe has been learned for that vehicle type. Each level of Mechanics will decrease the chance of causing damage and increase the chance of success, with level 3 resulting in no damage and 100% chance of success. It is not possible to mix types of vehicle parts. For example, a standard class hood can not be fitted onto a sport vehicle.

Repairing

A hood can be repaired with metal sheets or small metal sheets and a propane torch at metalworking level 1 and mechanics level 2. Alternatively, it can be repaired with screws instead of using a torch, however this will repair significantly less durability and take far more resources to do.

Item IDs

Vehicle type Class name
Standard Base.EngineDoor1
Heavy-Duty Base.EngineDoor2
Sport Base.EngineDoor3

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Base.EngineDoor1
Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt

Retrieved: Build 41.78.16
item EngineDoor1
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Hood,
        Icon	=	EngineDoor,
        VehicleType =   1,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarHood,
    }

Base.EngineDoor2
Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt

Retrieved: Build 41.78.16
item EngineDoor2
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Hood,
        Icon	=	EngineDoor,
        VehicleType =   2,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarHood,
    }

Base.EngineDoor3
Source: ProjectZomboid\media\scripts\vehicles\vehiclesitems.txt

Retrieved: Build 41.78.16
item EngineDoor3
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Hood,
        Icon	=	EngineDoor,
        VehicleType =   3,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarHood,
    }

See also