Mug

From PZwiki
Revision as of 11:13, 13 January 2020 by Vaileasys (talk | contribs) (added model to infobox)

Template:Infobox drainable

Can be used to collect rainwater when placed on the ground outside
— In-game tooltip

An empty mug is a water container used in cooking.

Usage

An empty mug turns into a mug of water when filled with water from a water source. The mug can also be used to craft a hot cuppa. A mug holds 1 unit of water.

Empty mugs can be placed outside in the rain to collect rain water. The water will need to be boiled before drinking. A mug of water can be left in the player's main inventory and will be consumed as it's needed.

Crafting

Cooking

Main article: Cooking

Template:Cooking table header |- |
| | | ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer

Code

From items.txt (Project Zomboid directory/media/scripts/)

Empty Mug Mugl.png Retrieved: Build 40.9

 	item Mugl
	 	Type		= Normal,
	 	DisplayName	= Empty Mug,
	 	Icon		= Mugl,
	 	Weight		= 0.2,
	 	ReplaceOnUseOn  = WaterSource-WaterMug,
	 	CanStoreWater	= true,

Mug of Water Mugl.png Retrieved: Build 40.9

	item WaterMug
		IsWaterSource		= TRUE,
		Weight			= 0.8,
		CanStoreWater		= TRUE,
		Type			= Drainable,
		UseWhileEquipped	= FALSE,
		UseDelta		= 1,
		DisplayName		= Mug of Water,
		ReplaceOnDeplete	= Mugl,
		ReplaceOnUseOn		= WaterSource-WaterMug,
		Icon			= Mugl,
		IsCookable		= TRUE,
		RainFactor 		= 0.2,
		Tooltip 		= Tooltip_item_RainFromGround,

See also

Template:Navbox/Tools