Trunk Lid

From PZwiki
Jump to navigation Jump to search
PZwiki:Language policy Language: English
Notepad.png
This article may need more content. Editors are encouraged to add new material to the page while expanding upon current topics.
Trunk Lid
Trunk Lid
General
Category Item
Weight
Heavy Load
15.0
Function Prevents items from falling out the trunk.
Required tool Wrench
Technical details
Base ID Item IDs
“A damaged trunk lid may result in objects falling from your vehicle.”
— In-game description
A trunk lid is an item forming part of most vehicles.

Usage

A trunk lid is fitted onto the rear of a vehicle to prevent items in the trunk from falling out. The durability of the trunk determines the likeliness of items falling out of the vehicle. It is unknown whether this mechanic is present in the Chevalier D6, considering it cannot be fitted with a trunk lid.

Having a trunk lid fitted in a multiplayer game allows it to be locked using the car key, preventing other players from stealing items.

Item IDs

Vehicle type Class name
Standard Base.TrunkDoor1
Heavy-Duty Base.TrunkDoor2
Sport Base.TrunkDoor3

Code

From vehicleitems.txt (Project Zomboid directory/media/scripts/vehicles/)

Retrieved
Version 41.78.16
    item TrunkDoor1
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Trunk Lid,
        Icon	=	EngineDoor,
        VehicleType =   1,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarTrunkLid,
    }

    item TrunkDoor2
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Trunk Lid,
        Icon	=	EngineDoor,
        VehicleType =   2,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarTrunkLid,
    }

    item TrunkDoor3
    {
        DisplayCategory = VehicleMaintenance,
        Weight	=	15.0,
        Type	=	Normal,
        DisplayName	=	Trunk Lid,
        Icon	=	EngineDoor,
        VehicleType =   3,
        ChanceToSpawnDamaged = 25,
        ConditionMax = 100,
        MechanicsItem = TRUE,
        WorldStaticModel = CarTrunkLid,
    }

See also


Vehicles vde
Standard Chevalier Cerise WagonChevalier DartChevalier NyalaDash RancherMasterson Horizon
Heavy-Duty Chevalier D6Chevalier Step VanDash BulldriverFranklin All-TerrainFranklin Valuline
Sport Chevalier CossetteChevalier PrimaniDash EliteMercia Lang 4000
Trailer Advert TrailerTrailers
Parts BrakeCar BatteryDoorGas TankHoodMufflerSeatSpare Engine PartsSuspensionTireTrunk LidTrunkWindow