Hood: Difference between revisions
m (Automated class_name fix) |
m (update infobox category) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Header|Project Zomboid|Vehicles|Vehicle parts}} | {{Header|Project Zomboid|Vehicles|Vehicle parts}} | ||
{{Page version|41.78.16}} | {{Page version|41.78.16}} | ||
{{Infobox vehicle part | {{Infobox vehicle part/sandbox | ||
|name = Hood | |name=Hood | ||
| | |model=CarHood Model.png | ||
| | |icon=EngineDoor.png | ||
|category=Vehicle Maintenance | |||
|category= | |weight=15 | ||
|weight = 15 | |function=Protects the engine | ||
|function = Protects the engine | |chance_damaged=25 | ||
|tool = [[Wrench]] | |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. | |||
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. | 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 muffler 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. | |||
===Repairing=== | ===Repairing=== | ||
A hood can be repaired with [[Metal Sheet]] | 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== |
Revision as of 05:53, 23 March 2024
Template:Infobox vehicle part/sandbox 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 muffler 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
Base.EngineDoor1
Source: ProjectZomboid\media\scripts\items_food.txt
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
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
item EngineDoor3
{
DisplayCategory = VehicleMaintenance,
Weight = 15.0,
Type = Normal,
DisplayName = Hood,
Icon = EngineDoor,
VehicleType = 3,
ChanceToSpawnDamaged = 25,
ConditionMax = 100,
MechanicsItem = TRUE,
WorldStaticModel = CarHood,
}