Tire Pump: Difference between revisions

From PZwiki
m (→‎top: category project: "The Game World")
(→‎Code: Codebox Update)
Line 25: Line 25:


==Code==
==Code==
'''''From vehicleitems.txt (Project Zomboid directory/media/scripts/vehicles/)'''''
{{CodeBox
{{Retrieved|version=41|incver=78.16}}
| {{CodeSnip
<pre>
  | lang = java
  | line = true
  | start = 26
  | source = vehicleitems.txt
  | retrieved = true
  | version = 41
  | incver = 78.16
  | code =
     item TirePump
     item TirePump
     {
     {
Line 38: Line 45:
         WorldStaticModel = TirePump,
         WorldStaticModel = TirePump,
     }
     }
</pre>
  }}
}}


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

Revision as of 06:00, 13 January 2024

Tire Pump
TirePump Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
2
Function
Inflate tires
Technical
Item ID
Base.TirePump

A tire pump is a tool used in vehicle mechanics.

Usage

A tire pump is used to inflate the tires of a vehicle. Tires have a maximum tire pressure of 40 and will not increase beyond this. This does not require the player to have read any recipe magazines and can therefore be performed on any vehicle type.

To inflate a tire, open the Vehicle Mechanics menu and right-click on the wheel in question. Note that tires can be overfilled, and the current/max pressure will be shown in the upper right. Move or choose to inflate the next tire to cancel the inflation.

The tire pump is not required to deflate a tire.

Distribution

Buildings

Tire pumps can be found in gas stations, sheds, garages, mechanic, storage units and crates,

Vehicles

Can be found in the trunk of vehicles.

Code

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

Source: ProjectZomboid\media\scripts\vehicleitems.txt

Retrieved: Build 41.78.16
item TirePump
    {
        DisplayCategory = Tool,
        Weight	=	2,
        Type	=	Normal,
        DisplayName	=	Tire Pump,
        Icon	=	TirePump,
        MechanicsItem = TRUE,
        WorldStaticModel = TirePump,
    }

See also