Extinguisher: Difference between revisions

From PZwiki
(Added a tiny bit about extinguishers)
 
m (Automated CodeBox update)
 
(29 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Notice|Underconstruction}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
{{Page version|41.78.16}}
{{Infobox item
|name=Extinguisher
|name_colour=Tool
|name_text_colour=Tool
|model=Extinguisher_Model.png
|icon=Extinguisher.png
|icon_name=Extinguisher
|weight=0.4
|primary_use=Extinguish [[fire]]s
|max_units=10
|item_id=Base.Extinguisher
}}


Extinguishers are used to put out fires like [[Bucket with Water|Buckets of Water]] and [[Pots of water]]. Extinguishers are found in sheds and garages (Build 35.26).
{{Quote|text=Puts out fires. Removes flames from burning buildings and people.|author=In-game tooltip}}
An '''extinguisher''' is a drainable [[Items|item]].
 
==Usage==
Extinguishers are used to put out [[fire]]s before they get out of control. A full extinguisher can extinguish 10 fires (tiles) before being consumed.
 
===Operating===
To use an extinguisher, it must be in the [[player]]'s main inventory, then right-click near the fire and select "Extinguish Fire" from the contextual menu. This will bring up two circles, a large green/red one, and a small white one. The white circle indicates where the player will move to extinguish the fire. The larger circle will appear green if it's in range of a fire and red if it isn't. Any fires in range of this circle will appear red which has an area of effect equal to 4 tiles, therefore the extinguisher can extinguish up to 4 fires at one time.
 
It is possible for the player to extinguish themselves when on fire, simply include them within the large circle.
 
==Distribution==
The loot distributions can be found in the table(s) below.
 
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
! colspan="4" | Containers
|-
! Building/Room
! Container
! style="width: 3.2em;" | Rolls
! style="width: 3.2em;" | Chance
|-
|armyhanger
|[[counter]]
|4
|6
|-
|rowspan="2"|closet
|[[crate]]
|4
|8
|-
|[[crate]]
|4
|8
|-
|farmstorage
|[[crate]]  
|4
|1
|-
|garagestorage
|[[counter]]  
|4
|2
|}
 
===Vehicles===
Extinguishers can be found in the [[trunk]] of [[vehicles]].
 
==Gallery==
<gallery>
ExtinguishFire GUI.png|Interface for extinguishing fires.
</gallery>
 
==Code==
{{CodeBox
| {{CodeSnip
  | lang = java
  | line = true
  | start = 1971
  | source = newitems.txt
  | retrieved = true
  | version = 41.78.16
  | code =
item Extinguisher
{
    DisplayCategory = Household,
Weight = 2,
Type = Drainable,
        UseWhileEquipped = FALSE,
        UseDelta = 0.1,
DisplayName = Extinguisher,
Icon = Extinguisher,
MetalValue = 25,
Tooltip = Tooltip_Extinguisher,
WorldStaticModel = Extinguisher,
cantBeConsolided = TRUE,
}
}}
}}
 
==See also==
*[[Bucket of Water]]
*[[Cooking Pot with Water]]
 
{{Navbox equipment|household}}
 
[[Category:Tools]]

Latest revision as of 09:37, 26 March 2024

UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Extinguisher
Extinguisher Model.png
General
Encumbrance
Moodle Icon HeavyLoad.png
0.4
Function
Extinguish fires
Properties
Capacity
10 units
Technical
Item ID
Base.Extinguisher
Puts out fires. Removes flames from burning buildings and people.
— In-game tooltip

An extinguisher is a drainable item.

Usage

Extinguishers are used to put out fires before they get out of control. A full extinguisher can extinguish 10 fires (tiles) before being consumed.

Operating

To use an extinguisher, it must be in the player's main inventory, then right-click near the fire and select "Extinguish Fire" from the contextual menu. This will bring up two circles, a large green/red one, and a small white one. The white circle indicates where the player will move to extinguish the fire. The larger circle will appear green if it's in range of a fire and red if it isn't. Any fires in range of this circle will appear red which has an area of effect equal to 4 tiles, therefore the extinguisher can extinguish up to 4 fires at one time.

It is possible for the player to extinguish themselves when on fire, simply include them within the large circle.

Distribution

The loot distributions can be found in the table(s) below.

Containers
Building/Room Container Rolls Chance
armyhanger counter 4 6
closet crate 4 8
crate 4 8
farmstorage crate 4 1
garagestorage counter 4 2

Vehicles

Extinguishers can be found in the trunk of vehicles.

Gallery

Code

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

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Extinguisher
	{
	    DisplayCategory = Household,
		Weight	=	2,
		Type	=	Drainable,
        UseWhileEquipped	=	FALSE,
        UseDelta	=	0.1,
		DisplayName	=	Extinguisher,
		Icon	=	Extinguisher,
		MetalValue = 25,
		Tooltip = Tooltip_Extinguisher,
		WorldStaticModel = Extinguisher,
		cantBeConsolided = TRUE,
	}

See also