Trunk Lid: Difference between revisions
m (Remove 120px) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{languages|Trunk Lid}} | {{languages|Trunk Lid}} | ||
{{header|The Game World|Items|type=Mechanic|version=Version | {{header|The Game World|Items|type=Mechanic|version=Version 41|incver=76}}{{Stub}}{{Infobox vehicle part | ||
|display_name = Trunk Lid | |display_name = Trunk Lid | ||
|name_colour = mechanics | |name_colour = mechanics | ||
Line 32: | Line 32: | ||
|} | |} | ||
==Code== | |||
'''''From vehicleitems.txt (Project Zomboid directory/media/scripts/vehicles/)''''' | |||
{{Retrieved|version=41|incver=78}} | |||
<pre> | |||
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, | |||
} | |||
</pre> | |||
==See also== | ==See also== | ||
*[[Vehicles Guide]] | *[[Vehicles Guide]] |
Revision as of 07:30, 24 February 2023
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: Build 41.78
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, }