Yarn

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Yarn
Yarn Model.png
General
Category
Materials
Encumbrance
Moodle Icon HeavyLoad.png
0.1
Function
None
Technical
Item ID
Base.Yarn

A yarn is an item that can be found in the world.

Usage

While technically a material, yarn is currently functionally a junk item and cannot be used as a replacement for things like thread, twine, sheet rope etc. As such, its primary use is currently adding item diversity and realism for the player when looting, or for decoration.

Distribution

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

Yarn distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
SewingKit SewingKit 2.81%
closet crate 23.28%
garagestorage crate 23.28%
kitchen counter 10.78%
livingroom counter 10.78%
sewingstorage crate 23.28%
sewingstorage crate 41.14%
sewingstorage metal_shelves 23.28%
sewingstorage metal_shelves 41.14%
sewingstore clothingrack 23.28%
sewingstore clothingrack 41.14%
sewingstore counter 23.28%
sewingstore counter 41.14%
sewingstore shelves 23.28%
sewingstore shelves 41.14%
storageunit crate 23.28%

Yarn can be found in homesteading supplies, kitchen counters, tailoring stores, and sewing kits.

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 Yarn
	{
	    	DisplayCategory = Material,
		Weight	=	0.1,
		Type	=	Normal,
		DisplayName	=	Yarn,
		Icon	=	Yarn,
		WorldStaticModel = Yarn,
}

See also