Extinguisher: Difference between revisions

From PZwiki
(→‎Code: Updated code)
m (Remove lines))
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Languages}}{{Header|Project Zomboid|Items|Tools|type=Tool|version=Version 39|incver=67.5}}
{{Header|Project Zomboid|Items|Miscellaneous items|Household}}
{{Infobox drainable
{{Page version|41.78.16}}
|display_name = Extinguisher
{{Infobox item
|name_colour = Tool
|name=Extinguisher
|name_text_colour = Tool
|model=Extinguisher_Model.png
|image = Extinguisher_Model.png
|icon=Extinguisher.png
|alternate_image=Extinguisher.png
|icon_name=Extinguisher
|alternate_name=Extinguisher
|weight=0.4
|weight = 0.4
|primary_use=Extinguish [[fire]]s
|primary_use = Extinguish [[fire]]s
|max_units=10
|max_units = 10
|item_id=Base.Extinguisher
|class_name = Base.Extinguisher
}}
}}{{quote|text=Puts out fires. Removes flames from burning buildings and people.|author=In-game tooltip}}An '''extinguisher''' is a drainable [[item]].  
{{Quote|text=Puts out fires. Removes flames from burning buildings and people.|author=In-game tooltip}}
An '''extinguisher''' is a drainable [[Items|item]].


==Usage==
==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.  
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===
===Operating===
To use an extinguisher, it must be in the [[player|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.  
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.
It is possible for the player to extinguish themselves when on fire, simply include them within the large circle.


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


===Buildings===
{| class="mw-collapsible mw-collapsed wikitable theme-red" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}" style="text-align:center; min-width:24em;"
Extinguishers are found in kitchen [[Containers#Counters|counters]], sheds, garages, bakeries, cafes, storage units, gas station [[Containers#Counters|counters]].
! 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===
===Vehicles===
Line 31: Line 63:
==Gallery==
==Gallery==
<gallery>
<gallery>
File:ExtinguishFire GUI.png|''Interface for extinguishing fires''
ExtinguishFire GUI.png|Interface for extinguishing fires
</gallery>
</gallery>


Line 42: Line 74:
   | source = newitems.txt
   | source = newitems.txt
   | retrieved = true
   | retrieved = true
   | version = 41
   | version = 41.78.16
  | incver = 78.16
   | code =
   | code =
    item Extinguisher
item Extinguisher
{
{
    DisplayCategory = Household,
    DisplayCategory = Household,
Line 59: Line 90:
cantBeConsolided = TRUE,
cantBeConsolided = TRUE,
}
}
  }}
}}
}}
}}


Line 66: Line 97:
*[[Cooking Pot with Water]]
*[[Cooking Pot with Water]]


{{Navbox equipment}}
{{Navbox items|household_equipment}}
 
 
[[Category:Tools]]

Revision as of 06:54, 15 April 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